Chinese , and : appears as # in PDF output

Posts: 1
Joined: Mon Apr 27, 2020 3:22 pm

Chinese , and : appears as # in PDF output

Post by RiiaN » Mon Apr 27, 2020 3:38 pm


I've encountered a problem when producing PDF outputs in Chinese. The Chinese versions of , and : are always produced as #-symbol. I do not have the same issue with the Chinese full stop. They appear normally in Oxygen Editor as ,and :.

So I'm assuming that the problem is somewhere in my plugin PDF-settings, possibly in the variables? But I honestly have no real idea. The whole dita-ot package my company uses is very highly personalized for the company, and was done by subcontractor several years before I came. And of course, there is virtually no support as the company that originally made the dita-ot package no longer provides these services (and besides, the whole dita usage comes from another company now).

Any suggestions on what I could do, where to start looking?

Posts: 6980
Joined: Fri Jul 09, 2004 5:18 pm

Re: Chinese , and : appears as # in PDF output

Post by Radu » Tue May 12, 2020 8:11 am


If you publish to PDF using the classic XSL-FO based publishing, there is a font-mappings.xml file somewhere either in the DITA Open Toolkit or in your custom PDF plugin which needs to be changed to add fonts which support Chinese: ... e-FOP.html

If you publish to PDF using our Chemistry CSS processor then the extra fonts can be added from the CSS: ... fonts.html

Radu Coravu
<oXygen/> XML Editor

Post Reply