Hey everybody, If i try to print my generated pdf file, i got an error on every printer i tried. I think the font i use is the reason for this. I embed the font with the following methods: // Create font from our ttf file $dinFont = \TCPDF_FONTS::addTTFfont('Path/to/font.ttf', 'TrueTypeUnicode', '', 32); $dinFontBold = \TCPDF_FONTS::addTTFfont('Path/to/font_bold.ttf', 'TrueTypeUnicode', '', 32); $pdf->SetFont($dinFontBold, '', 11); Does anybody has an idea for that? Marc
Hey everybody, If i try to print my generated pdf file, i got an error on every printer i tried. I think the font i use is the reason for this. I embed the font with the following methods: // Create font from our ttf file $dinFont = \TCPDF_FONTS::addTTFfont(Path/to/font.ttf', 'TrueTypeUnicode', '', 32); $dinFontBold = \TCPDF_FONTS::addTTFfont(Path/to/font_bold.ttf', 'TrueTypeUnicode', '', 32); $pdf->SetFont($dinFontBold, '', 11); Does anybody has an idea for that? Marc
Hey everybody, If i try to print my generated pdf file, i got an error on every printer i tried. I think the font i use is the reason for this. I embed the font with the following methods: // Create font from our ttf file $dinFont = \TCPDF_FONTS::addTTFfont(PATH_site . '/typo3conf/ext/dt_swiss/Resources/Public/assets/fonts/dtswiss.ttf', 'TrueTypeUnicode', '', 32); $dinFontBold = \TCPDF_FONTS::addTTFfont(PATH_site . '/typo3conf/ext/dt_swiss/Resources/Public/assets/fonts/dtswiss.ttf', 'TrueTypeUnicode',...