HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › Chinese font handling › Re: Re: Chinese font handling
I would recommend to generate pd4font.properties automates, as described by
http://pd4ml.com/reference.htm#7.1
pd4ml-html-css-pdf-tips-tricks-f7/ttf-embedding-t42.html
http://pd4ml.com/cookbook/pd4ml_pdf_true_type_fonts.htm
It should create correct mapping, including for TTF collections (.ttc).
I am not 100% sure if ‘(‘ and ‘)’ does not confuse in font names. Probably it is a good idea to rename the font in the .properties from “Ming(for ISO10646)” to “MingISO10646″ and refer it from the HTML/CSS like
style=”font-family: MingISO10646; font-size: 12pt;”
If after that it still does not work, please collect the debug output and send (or publish it here) to support pd4ml com. The font file, source HTML and resulting PDF would help a lot if you send it as an attachment as well.