Op 17/05/2011 13:26, YSReddy schreef:
Hi,
Can anybody please give me the list of available unicodes to use with iText library. Example "\u20ac".
Your question is wrong and in its current form unanswerable.

iText supports ALL unicodes, ON CONDITION THAT you use a font that knows how to draw the glyph corresponding with the Unicode character. For instance: if you use arial.ttf, then you can use the euro symbol (\u20ac).

So your question is: give me the list of available glyphs in each font.
The answer is: ask the (provider of the) font.
How can you ask the font? By using the method charExists.
For instance: BaseFont bf = BaseFont.createFont(
  "c:/windows/fonts/arial.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
System.out.println(bf.charExists('\u20ac'));

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
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

Reply via email to