
$receipt->useTemplate($tplIdx, null, null, null, null, true) $receipt->setSourceFile($this->getLibPath().


$boldFont = $font->addTTFfont($fontPathBold) $boldFont = $receipt->addTTFfont($fontPathBold, '', '', 32) $regularFont = $font->addTTFfont($fontPathRegular) $regularFont = $receipt->addTTFfont($fontPathRegular, '', '', 32) We delete previous fonts if any and then import itįoreach ($fonts as $fontname => $fontfile) " $fonts = array('3of9_new' => '/mod/emarking/lib/omr/3OF9_NEW.TTF', 'omrbubbles' => '/mod/emarking/lib/omr/OMRBubbles.ttf', 'omrextnd' => '/mod/emarking/lib/omr/OMRextnd.ttf') $fontfilesextensions = array('.ctg.z', '.php', '.z') The list of extensions a font in the tcpdf installation has

Function emarking_import_omr_fonts($echo = false)
