DITA and XMetaL Discussion
rde May 20, 2011 at 1:39 am
Broken bullets transforming Chinese DITA files to PDFMay 20, 2011 at 1:39 amParticipants 3Replies 4Last Activity 11 years, 8 months ago
I'm using XMetal Author Enterprise 6.0.
When we transform into PDFs our DITA files that have been translated into Chinese, the bullets appear as squares with Xs through them. Has anyone else run across this problem and found a solution? We do not have a similar problem when transforming into PDFs our DITA files that have been translated into Japanese.
RickDerek Read May 20, 2011 at 7:07 am
Reply to: Broken bullets transforming Chinese DITA files to PDFMay 20, 2011 at 7:07 am
When you say “bullets” are you talking about the character used to prefix items in a list in the PDF, transformed from the DITA
rde May 20, 2011 at 5:44 pm
- elements? Something else?
Reply to: Broken bullets transforming Chinese DITA files to PDFMay 20, 2011 at 5:44 pm
By bullets I mean the characters used to prefix items in a list in the PDF, transformed from the DITA
- elements. I have a PNG file that shows an example of the problem, but I couldn't figure out how to attach the file. In any case a bullet appears as a rectangle with an X inside it.
Also, our Chinese translators tell us that commas and other punctuation is missing from the Chinese PDFs, although I imagine if we can figure out the bullet problem, the punctuation problem would likely go away.
RickDerek Read May 20, 2011 at 7:06 pm
Reply to: Broken bullets transforming Chinese DITA files to PDFMay 20, 2011 at 7:06 pm
To me this sounds like a RenderX XEP font configuration issue. Chinese fonts need to be embedded in the PDF and so that must have been done by you or for you already.
Perhaps some specific characters do not have glyphs in the fonts that were chosen and so they do not appear. Or perhaps RenderX was not configured to identify certain characters as being “Chinese” (I could see that being the case for punctuation, perhaps the “fullwidth” forms). At the same time there is no guarantee that a particular font will use a glyph for a character that looks similar to what you expect it to be (that is up to the font designer). The font being embedded in this case might in fact draw your “bullet” character as a “square with x in it”.
If you can figure out which font is being embedded then you could check to see which glyph is displayed for all of these various characters. One way to do that is to add the characters to a new file in Notepad and then adjust the font settings there, or you could use the Windows Character Map tool (charmap.exe). To narrow the list down you can check the properties of the PDF and look at the list of fonts (Adobe Reader exposes “properties” on a the right click context menu, your PDF reader may not expose it or you might access it differently).
You can also check the RenderX XEP configuration file here:
In the XMetaL Author Enterprise 6.0 installation RenderX XEP is here:
A similar issue is discussed here:
…specifically this portion of that posting: http://forums.xmetal.com/index.php/topic,545.msg1749.html#msg1749
(probably good to read the whole thing anyway)
This might also be of use:
http://forums.xmetal.com/index.php/topic,968.0.htmlsgrayson May 20, 2011 at 8:36 pm
Reply to: Broken bullets transforming Chinese DITA files to PDFMay 20, 2011 at 8:36 pm
Thanks, Derek. The one link you sent fixed the missing commas (extend the character set, as noted in the forum post you put a link to) and it gave me an idea to to fix the other.
To fix the missing bullets, you have to use a different character set. So I found the value for the bullet character, then added a Symbol charset section and added the Bullet character to it. Like this:
And voila! Bullets in the Chinese PDF.
Thanks for your help and direction, Derek! You're a great help!
- You must be logged in to reply to this topic.