HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › Arial font in RTF › Re: Re: Arial font in RTF
July 10, 2013 at 14:10
#29370
By RTF generation, in fact, PD4ML does not embed TTF fonts to the resulting document (I am even not sure if RTF file format supports that), but writes a font family reference to let RTF viewer resolve it.
As I see in the RTF src, it refers to Win32-specific fonts, which is obviously not correct:
[language=java:288zz1ss]{f1 Arial-BoldMT;}{f2 ArialMT;}[/language:288zz1ss]
Try to disable TTF Embedding by RTF generation (exclude pd4ml.useTTF() call). Does it change anything?