HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › TTF embadding for one font is not working › Re: Re: TTF embadding for one font is not working
May 27, 2011 at 12:54
#28540
As I can imagine, “simplified arabic” is not particular font, but a font family. So it relies on font substitution logic – to auto-find a font has simplified arabic glyphs.
It is difficult to say why it does not work in your case. I would try to explicitly define the font family in pd4fonts.properties and assign to it any TTF, which has the Arabic glyphs. For example:
simplified arabic=arial.ttf simplified arabic Bold=arialbd.ttf simplified arabic Bold Italic=arialbi.ttf simplified arabic Italic=ariali.ttf
(and make sure, the mentioned .TTF files are available)
