I am converting a docx to pdf file.
I have set of fonts metrically equivalent to MS Core fonts. Before start processing the document, I am changing the fonts name of all Runs. for ex: Arial to Roboto. This case is working fine for english, and latin characters.
The problem is in Chinese and Japanese character. Aspose words fails to replace font name of those characters. in final pdf, the Chinese character value is lost completely.
I do have fonts like zysong.ttf, fireflysung.ttf
I referred this help, but didn’t find the APIs in Java.
How can we specify the font name for Chinese and Japanese character ?
PDF and DOCX here Archive 2.zip (63.9 KB)