Re: [iText-questions] codepage encoding in BaseFont.CreateFont

2009-10-05 Thread merco
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 ot

Re: [iText-questions] codepage encoding in BaseFont.CreateFont

2009-10-02 Thread Paulo Soares
[email protected] > Subject: Re: [iText-questions] codepage encoding in > BaseFont.CreateFont > > > mmh. > :confused: > > Looking at > http://msdn.microsoft.com/en-us/library/system.text.encoding(V > S.80).aspx > Encoding class > i understand that column

Re: [iText-questions] codepage encoding in BaseFont.CreateFont

2009-10-02 Thread merco
mmh. :confused: Looking at http://msdn.microsoft.com/en-us/library/system.text.encoding(VS.80).aspx Encoding class i understand that column named "Name" could be used as "friendly-name" for a particular codepage. So "utf-32" stands for codepage 65005. Where does "Cp1254" come from ? Should (

Re: [iText-questions] codepage encoding in BaseFont.CreateFont

2009-10-02 Thread Paulo Soares
You can use whatever Encoding.GetEncoding(string) supports. There are some exception like Arabic and others that require shapping and won't work in this single byte environment. Paulo > -Original Message- > From: merco [mailto:[email protected]] > Sent: Friday, October 02, 2009 8:4