Hi Hussein/support, Thanks for response, yes, I had a all *Chinese* chars* replaced by "#"*. I have tried the link you provided to customize my Chinese fonts, the exact link is here: http://www.xmlmind.com/xmleditor/_distrib/doc/help/addonOptions.html#xepOptions
I have added *a couple of Chinese* fonts *TTF* file,none is working, for example, here is my setup Screen shot: [image: Inline image 1] I still got the errors like: xmleditext.dita.*PreProcess.process*" with arguments "-v info -toc -images images/*. {pdf,mml,svg,png,jpg,jpeg,gif} -out __doc.pdf -media print -options *dita.toPS.options"* .................. Converting XSL-FO file "__doc.fo" to "__doc.pdf" using FOP [FOP WARNING] Glyph "本" (0x672c) *not available* in font "*Times-Roman*". or [FOP WARNING] Glyph "本" (0x672c) *not available in* font " *TimesNewRomanPSMT*" I have done some research on XMLmind_DITA_Editor/addon/config/dita/xsl/fo/ *fo.xsl* and .\bin\jre\lib\*psfont.properties.ja* and *psfontj2d.properties.* Looks like the change I made were *not reflected i*n them and no info about *Chinese fonts*. I also checked addon\config\dita\xslMenu.incl, <parameterGroup name="dita.toPS.FOPParameters" /> on *line 879 *and dita.toPS.options as options looks correct *on line 853* There is a bug renderx #22766, maybe this is another *bug*? I am a newbie for this. Please help on this or hint Thanks Lei On Mon, Feb 27, 2017 at 8:39 AM, Hussein Shafie <huss...@xmlmind.com> wrote: > On 02/27/2017 11:43 AM, Lei Wang wrote: > >> >> I have edited some DITA file and some part has Chinese simplified fonts >> but I can NOT output DITA to PDF in Chinese by clicking >> *"Bookmap" -> "Converting Document"-> "Converting to PDF"* >> but outputting to HTML is fine, so I guess there is something wrong with >> config. >> > > --> Do you mean that menu item "Bookmap" -> "Converting Document"-> > "Converting to PDF" is grayed out (that is, "disabled")? > > If this is the case, simply save your DITA bookmap to disk before trying > to convert it to PDF. > > > > > --> Do you mean that "Bookmap" -> "Converting Document"-> "Converting to > PDF" works, but the generated PDF file mainly contains '#' characters? > > If this is the case, please refer to this FAQ: > > --- > When I convert documents written in Russian (or Polish or Czech or any > non-western language) to PDF, almost all characters are replaced by the "#" > character. Is there a workaround for this problem? > --- > > http://www.xmlmind.com/xmleditor/faq.html#custom_pdf_fonts > > Simply make sure that the TrueType font families you'll select have glyphs > for all the Chinese characters. > > > > > > >> My Adobe XI reader can take Chinese fonts, e.g. I can print Word docx in >> Chinese to PDF. >> Any thoughts or help? >> Thanks! >> > > -- Lei Wang Ph.D MSFT wlwalli...@gmail.com, cell: 631 748 8690
-- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support