Use the encoding BaseFont.IDENTITY_H. 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Andreas Schildbach
> Sent: Friday, December 16, 2005 12:53 PM
> To: [email protected]
> Subject: Re: [iText-questions] iText and Asian Bitmap Fonts?
> 
> Vineet Reynolds wrote:
> 
> > Have you made yourslef doubly sure that you have put the 
> Asian fonts jar 
> > in the classpath ?
> > I mean - do you have the iTextAsian.jar / 
> iTextAsianCMaps.jar in the 
> > same directory as iText.jar ?
> 
> I must admit that I was not aware of these files. However, I 
> suspecting 
> that they just contain asian fonts, do they?
> 
> Up to this point, I am bringing my own font(s). Do I need 
> iTextAsian.jar 
> at all?
> 
> Here is how I am getting the font:
> 
> Font font = new 
> Font(BaseFont.createFont(getClass().getResource("/classpath/AR
> IALUNI.TTF").getFile(), 
> BaseFont.WINANSI, false), PDF_FONTSIZE);
> 
> ARIALUNI.TTF is Arial Unicode and it is in the classpath.
> 
> Regards,
> 
> Andreas
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep 
> through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  
> DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to