Home Forums General XMetaL Discussion Generate PDF with Symbol, Courier New and Wingding Reply To: Generate PDF with Symbol, Courier New and Wingding

Derek Read

Reply to: Generate PDF with Symbol, Courier New and Wingding

You can't use Wingdings for this (if you have inserted the proper Unicode character as I have suggested). You will need to use another font that contains a glyph for the character U+2318. Wingdings only contains glyphs for ANSI characters, aka Latin1, aka ISO-8859-1 (basically the first 256 characters that overlap with Unicode) and this character is something like the 8984th character (hex 2318) in Unicode.

I would do two things to troubleshoot this:

1. Try to embed any Unicode font. One to try first would be Times New Roman as you will have it on your machine. Then check to see that it is actually embedded in the PDF by checking its properties (this will vary depending on the PDF viewing application you have, in Adobe Reader I think all versions have this on the context menu, ie: Shift+F10).

2. Once you have Times New Roman actually embedded in your PDF then switch it to another font that contains a glyph for U+2318 (check http://www.fileformat.info/info/unicode/char/2318/fontsupport.htm to see if you have any they suggest, if not you will need to obtain one).

You may need to specify an additional section in your xep.xml file to deal with this particular character or range of characters. The following post is the one you should probably read as it is essentially the same issue: most of your document is in English (or at least one language that is currently readable because it uses characters in the “base 14” fonts that the PDF specification requires all PDF viewing software to support) and so can use the default fonts specified by the DITA OT and RenderX XEP, but a few characters require a specific font to be embedded. It should be fairly straightforward to follow. http://forums.xmetal.com/index.php/topic,116.msg1254.html#msg1254

Note that the licensing for “Arial Unicode MS” states “editable embedding allowed” (see: http://www.microsoft.com/typography/fonts/font.aspx?FMID=1081) so you can legally embed that font without any issue. If you end up embedding another font in your PDF file you may wish to check its license.