0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.128.78.107


Current Path : /var/www/html/univadmin/Reports/
Upload File :
Current File : /var/www/html/univadmin/Reports/testkannda_pra.php

<?php

function testkannda($aobj_context)
{
    ini_set('max_execution_time', '300');
    ini_set('memory_limit','200M');

    $univcode = $aobj_context->mobj_data["univcode"]; 
    header("Content-Type: text/plain");
    $main_src = substr($_SERVER['SCRIPT_FILENAME'], 0, strlen($_SERVER['SCRIPT_FILENAME']) - 7);
    

require_once ($main_src.'vendor/autoload.php');

$mpdf = new \Mpdf\Mpdf(['tempDir' => $main_src. '/custom/temp/dir/path']);
//I'm being a little lazy here and letting mPDF select the appropriate
//appropriate font.
$mpdf->autoScriptToLang = true;
$mpdf->baseScript = 1;  // Use values in classes/ucdn.php  1 = LATIN
$mpdf->autoLangToFont = true;
$mpdf->WriteHTML('<span style="text-shadow: 0.2 0.2 2 rgb(196,196,196);">'.
     'ಮುಂದಿನ ನಿಲ್ದಾಣ ಉದ್ಯಾನ ನಗರ</span>');
$mpdf->Output('kannada_mpdf_lang.pdf','I');


}