You'll need an external font if you want to use turkish characters. Try this
to start with:

BaseFont bf = BaseFont.createFont("c:\\windows\\fonts\\arial.ttf",
BaseFont.IDENTITY_H, true);

Best Regards,
Paulo Soares

> -----Original Message-----
> From: AHMET YILMAZ [SMTP:[EMAIL PROTECTED]
> Sent: Monday, October 06, 2003 14:34
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] CP1254 - Turkish
> 
> I use iText pdf java library but without turkish symbol. So it is useless
> for me.
> How can i use cp1254 in iText.
>  
> Note:
> İ added CP1254 to BaseFont, I added turkish characters  Courier.afm and
> other courier related fafm files.
> Result is not ok
>  
>  
>  
>  
>   static char unix_g = '\u00F0';  //ğ   - 240
>   static char unix_s = '\u00FE';  //ş   - 254
>   static char unix_i = '\u00FD';  //ı   - 253
>   static char unix_G = '\u00D0';  //Ğ   - 208
>   static char unix_S = '\u00DE';  //Ş   - 222
>   static char unix_I = '\u00DD';  //İ   - 221
>   static char win_g = '\u011F'; //ğ    - 287      
>   static char win_s = '\u015F'; //ş    - 351
>   static char win_i = '\u0131'; //ı    - 305
>   static char win_G = '\u011E'; //Ğ    - 286
>   static char win_S = '\u015E'; //Ş    - 350
>   static char win_I = '\u0130'; //İ    - 304
>  
>  
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.516 / Virus Database: 313 - Release Date: 01-Sep-03
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to