Make chinese available in PDF
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 29
- Joined: Tue Jun 27, 2017 2:10 pm
Make chinese available in PDF
Hi Experts,
My dita ot is 2.5
I have dita xmls created with chinese content.
I used a dita ot pdf plugin created by oxygen, and the output PDF show all chinses words correctly.
Then, I use my own dita ot pdf plugin to transform the same dita xmls, all the chinese words can't be shown correctly, they are shown in ######.
I had font-mappings which copied from the oxygen plugin, what else should I do?
Thanks!
Lisa
My dita ot is 2.5
I have dita xmls created with chinese content.
I used a dita ot pdf plugin created by oxygen, and the output PDF show all chinses words correctly.
Then, I use my own dita ot pdf plugin to transform the same dita xmls, all the chinese words can't be shown correctly, they are shown in ######.
I had font-mappings which copied from the oxygen plugin, what else should I do?
Thanks!
Lisa
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Make chinese available in PDF
Hi Lisa,
Besides that modified font-mappings.xml that we ship with the DITA Open Toolkits bundled with Oxygen we do not do anything special related to PDFs and fonts. So maybe that font-mappings.xml which you copied to your plugin is somehow not used. If you make it not wellformed for example, does the publishing break?
For completeness I'm also linking to your identical DITA Users post:
https://groups.yahoo.com/neo/groups/dit ... ages/42573
Regards,
Radu
Besides that modified font-mappings.xml that we ship with the DITA Open Toolkits bundled with Oxygen we do not do anything special related to PDFs and fonts. So maybe that font-mappings.xml which you copied to your plugin is somehow not used. If you make it not wellformed for example, does the publishing break?
For completeness I'm also linking to your identical DITA Users post:
https://groups.yahoo.com/neo/groups/dit ... ages/42573
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 29
- Joined: Tue Jun 27, 2017 2:10 pm
Re: Make chinese available in PDF
Hi Radu,
Thanks for your sharing and my problem solved. I added the solution in the below list:
https://groups.yahoo.com/neo/groups/dit ... ages/42573
BTW, will you also check the mails in yahoo dita group everyday?
Thanks!
br,
Lisa
Thanks for your sharing and my problem solved. I added the solution in the below list:
https://groups.yahoo.com/neo/groups/dit ... ages/42573
BTW, will you also check the mails in yahoo dita group everyday?
Thanks!
br,
Lisa
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Make chinese available in PDF
Hi Lisa,
Both me and some of my colleagues follow the DITA Users List.
For such questions like the one you asked on this forum we prefer that it would be asked on the DITA Users List instead as it is not really related to Oxygen's functionality.
Once the question is on the DITA Users List I cannot guarantee that somebody from our company will answer, it depends on our workload but it's a big community... somebody else may help you further.
About your solution, from what I knew all the font families that you should use in the XSLT stylesheets (like those font families that you use in the attribute sets) are aliases, they should not be physical font names. After this, in the font-mappings.xml you map those aliases to physical font names.
Regards,
Radu
Both me and some of my colleagues follow the DITA Users List.
For such questions like the one you asked on this forum we prefer that it would be asked on the DITA Users List instead as it is not really related to Oxygen's functionality.
Once the question is on the DITA Users List I cannot guarantee that somebody from our company will answer, it depends on our workload but it's a big community... somebody else may help you further.
About your solution, from what I knew all the font families that you should use in the XSLT stylesheets (like those font families that you use in the attribute sets) are aliases, they should not be physical font names. After this, in the font-mappings.xml you map those aliases to physical font names.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service