HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › i have bought PD4ml and facing font issue › Re: Re: i have bought PD4ml and facing font issue
PD4ML (or Java in general) supports Unicode-conformant TTF fonts only (whose glyph mappings are stored in the ‘cmap’ table). It is true for most of the modern fonts, but there are still many legacy fonts, which do not fulfill the requirement. Obviously the problematic font is one of them.
The fonts cannot be used with PD4ML (or Java) as is. I would recommend to open and save as TTF again using free Fontforge utility.
(google for a preconfigured FontForge + Cygwin with the following keyword: “fontforge-mingw_2008_11_21“)
A better solution is to find a newer Unicode-conformant substitution font for it.