Hello Bruno,

Sorry I had sent the earlier mail just to your private
id.

I tried to print the following data using the japanese
font below and iText prints as shown below

クレーム合計

but the unicode equivalent of the above string

 \u30AF\u30EC\u30FC\u30E0\u5408\u8A08 

is getting printed properly in japanese by iText.

I thought ASCII is an subset of UNICODE ..but this
issue  is bugging me a lot.. 

My DB access gives me only characters of the type 

クレーム合計



Kindly let me know if there is a way to overcome this
problem 

Your help is highly appreciated!



Anish

--- Bruno <[EMAIL PROTECTED]> wrote:
> Quoting Anis h <[EMAIL PROTECTED]>:
> 
> > Thanks a lot bruno!  I tried to follow your
> > instructions and created a pdf with 
> > the following font,
> > 
> >  bf = BaseFont.createFont("HeiseiKakuGo-W5",
> > "UniJIS-UCS2-H", BaseFont.NOT_EMBEDDED);
> >     Font font = new Font(bf, 12);
> > but the pdf doesn't have the japanese characters
> ..
> > please see the attachment.  Kindly let me know
> what is
> > the problem .
> > 
> > Thank you very much!
> > Anish
> > 
> > 
> > --- Bruno <[EMAIL PROTECTED]> wrote:
> > > Make sure you have the extra JAR with the Asian
> > > fonts (at Runtime).
> 
> So I guess you have done the Above,
> but have you done this:
> 
> > > Make sure you have the Adobe support package for
> CJK
> > > fonts (at Viewtime).
> 
> You can find the Font Pack here:
>
http://www.adobe.com/products/acrobat/acrrasianfontpack.html
> 
> br,
> Bruno



__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to