ZF-8083: Font doesn't get embedded (Acrobat Reader complains)
It seems, that when using an external font (the name of the font is DejaVuSansMono ), it doesn't get embedded. I tried ALL POSSIBILITIES:
$font = Zend_Pdf_Font::fontWithPath($ttfFolder . $ttfFile); //this alone should include the font OR $font = Zend_Pdf_Font::fontWithPath($ttfFolder . $ttfFile, Zend_Pdf_Font::EMBED_DONT_COMPRESS); OR ALL the other possibilities.
The framework doesn't complain about the fact that the font cannot be embeded (any way, it is a free font that can be freely downloaded).
At least Acrobat Reader complains about it. The Reader's message is: "Cannot find or create the font 'DejaVuSansMono'. Some characters may not display or print correctly.". To notice is also that, when looking at the fonts used in the PDF, the font is shown, but in the "Actual Font" field, value "Uknown" is displayed. The type of the font is: TrueType (CID), and the Encoding: Identity-H (displayed also in the Reader).