When you call a "getFont" override that doesn't specify an encoding for the text, you default to "WinAnsiEncoding".  You can find a definition of this encoding in Appendix D of the PDF Reference.  It's a single-byte encoding with limited support for non-English languages.
 
 
Check out the "Fonts" examples on:
 
http://itextdocs.lowagie.com/tutorial/
 
There are 3 sections covering fonts, each with 7 or 8 examples.  The TrueType example (the first one in section 3) specifically mentions Greek characters.  There's a LOT to know about fonts in PDF, but this will get you up and running.
 

--Mark Storer
  Senior Software Engineer
  Cardiff Software

#include <disclaimer>
typedef std::Disclaimer<Cardiff> DisCard;

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to