ok, thank you 

I've done some tests;

Using example at page 240, i get encoding name from ArialUni.TTF , then a
glance at IanaEncodings.cs 
and then ... voilĂ  the right codepage is selected...

... i still have some problems with Chinese , Korean and Japanese.
Using BIG5 is not working or  any other codepages mapped to 936/950 doesn't
work.

To see some chinese text i have to put CP1252: Why ?

I'm using something like this 
FontArial = BaseFont.CreateFont(Parametri.AppPath & "ArialUni.ttf", Cp,
BaseFont.NOT_EMBEDDED)
where cp is read from a "INI file" according to table mapped in
IanaEncodings.cs 








Paulo Soares-3 wrote:
> 
> See the source of iTextSharp.text.xml.simpleparser.IanaEncodings.cs to see
> how to go from a name to a number that is the actual encoding.
> 
> Paulo 
> 

-- 
View this message in context: 
http://www.nabble.com/codepage-encoding-in-BaseFont.CreateFont-tp25711678p25751668.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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/devconf
_______________________________________________
iText-questions mailing list
[email protected]
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