Hi,

I have an html editor from swing. The data  is htmlentity escaped and can
produces greek, chinese etc. When trying to get the text to work with my
iText font I must st an encoding.
new com.lowagie.text.Font( BaseFont.createFont("c:/windows/fonts/Arial.ttf",
"cp1253" ,BaseFont.EMBEDDED));

This will work for the greek encoding but I would like to use unicode
instead because I do not know wich language the user is typing in. I have
read about the IDENTITY_H AND V but when trying that it does not work. When
viewing the text in the eclipse debug I can see the greek characters, λκδσφ
λκαξ σδφκξ σαφλκ ξασφλκ ξασφκλξ ασδφ


How can I use unicode instead of greek encoding?
-- 
View this message in context: 
http://www.nabble.com/encoding-and-fonts-tp25888960p25888960.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to