On 9/10/2010 0:15, Michael Lai wrote: > I am having trouble writing proper unicode symbols. I am converting > some files to pdf and some of them contains em dashes and box characters. > > I can write em dashes using \u2014. However, whenever I use \u2550 for > a double line border, nothing appears in the pdf file.
There are 1,114,112 code points available in Unicode. What you are saying is that you expect each font to contain the description of 1,114,112 glyphs... Even if it would be reasonable to think so, it's wouldn't be possible to store all these glyphs in one font in a PDF document as the maximum number of CIDs in a CMap is 65,535. Long story short: the font you are using probably doesn't have a glyph description for \u2550. Look for a font that knows how to draw \u2550 and use that font. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php