This commit is contained in:
venbatechnologies@gmail.com 2020-03-03 15:55:35 +05:30
commit 856e0aaefa

View File

@ -35,9 +35,10 @@ class Pdfgenerator
//echo $total.'TOT';
//$font = Font_Metrics::get_font("helvetica", "bold");
$font = null;
//$font = null;
$font = $dompdf->getFontMetrics()->get_font("helvetica");
// echo "{PAGE_NUM}";
$canvas->page_text(515,760, "Page {PAGE_NUM} of {PAGE_COUNT}", $font,8, array(0,0,0));
$canvas->page_text(515,760, "Page {PAGE_NUM} of {PAGE_COUNT}", $font,10, array(0,0,0));
//echo "{PAGE_NUM}";
// if($total == "{PAGE_NUM}")
// {