Just use the string "cp1254". Note that you must use an external font, such as 
arial.ttf, for the turkish glyphs.

Paulo 

> -----Original Message-----
> From: Ozan PINAR [mailto:[email protected]] 
> Sent: Tuesday, April 28, 2009 12:15 PM
> To: [email protected]
> Subject: [iText-questions] Itext Turkish encoding problem.
> 
> Hi ,
>  
> First of all thanks a lot for this valued tool which is 
> making our work easier.
>  
> But we are having some problems while trying to generate pdf 
> documents which are including Turkish characters (CP1254) . 
> We found loads of examples on  internet about this and tried 
> to get it work before we send this mail. However we couldnt 
> be able to generate any pdf file with our special characters.
>  
> On some forums people were suggesting to create a basefont 
> with itextsharp.text.pdf.Basefont.CP1254 but it doesnt exist 
> on our reference. I am sending a screenshot of the object explorer. 
>  
> I am just thinking about if we have downloaded a wrong dll . 
> If thats the case where can i find a dll including 1254 charset.
>  
> Thanks for your help from now.
>  
> Regards.
> 
> 
> -- 
> Ozan PINAR
> 
> 

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.


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
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