I think this is an ordinary problem in CJK. But when save to xml file, ex2 seems to select wrong font (TimeNewRoman not support chinese) and make it empty. In this 2 examples, users see same content and same font in Word application because Word will auto-select right chinese font for “新細明體” in ex2 (I guest!). I save word to xml file like => doc.Save(“doc-1.xml”, SaveFormat.FormatAsposePdf)Īnd trace again and again to find a rule.Įx1 : in word application, if I select chinese font (ex:新細明體) first and input “新細明體”, then the xml tag:segment => 新細明體 => it is correct to translate to PDF file.Įx2 : in word application, if I select font:TimeNewRoman first and input “新細明體”, then the xml tag:segment => 新細明體 => it is wrong and showes empty in PDF file. ![]() But there is one problem when chinese fonts content. I am glad to find Aspose product to translate word file to PDF format.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |