diff --git a/api/application/libraries/Pdfgenerator.php b/api/application/libraries/Pdfgenerator.php index 47f81cf2..f26d384e 100644 --- a/api/application/libraries/Pdfgenerator.php +++ b/api/application/libraries/Pdfgenerator.php @@ -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}") // {