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:43 AM
> To: [email protected]
> Subject: [iText-questions] codepage encoding in BaseFont.CreateFont
>
> Using iTextSharp some shared consts are declared as following
> BaseFont.CP1252 = "Cp1252" BaseFont.CP1250 = "Cp1250"
> BaseFont.CP1257 = "Cp1257" looping trought all
> CodePagesSupported i get more values for codepage code (using
> arial.ttf) PS ArialMT CP: 1252 Latin 1CP: 1250 Latin 2:
> Eastern EuropeCP: 1251 CyrillicCP: 1253 GreekCP: 1254
> TurkishCP: 1255 HebrewCP: 1256 ArabicCP: 1257 Windows
> BalticCP: 1258 VietnameseCP: OEM Character SetCP: 869 IBM
> GreekCP: 866 MS-DOS RussianCP: 865 MS-DOS NordicCP: 864
> ArabicCP: 863 MS-DOS Canadian FrenchCP: 862 HebrewCP: 861
> MS-DOS IcelandicCP: 860 MS-DOS PortugueseCP: 857 IBM
> TurkishCP: 855 IBM Cyrillic; primarily RussianCP: 852 Latin
> 2CP: 775 MS-DOS BalticCP: 737 Greek; former 437 GCP: 708
> Arabic; ASMO 708CP: 850 WE/Latin 1 How is the right
> encodingstring parameter like ? 1254 Turkish => will be
> "Cp1254" ? Thanks
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
------------------------------------------------------------------------------
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/