ranjan reddy wrote:
> hi,
>      we have a requirement  in our project to display japanese 
> characters on pdf using  linux  Operating System,so we are using itext 
> to fulfill our requirement .

OK. No problem.

> Using itext we are able to generate pdf Successfully,But japaneses 
> characters are not getting displayed.

Did you use a font that has those characters?
Or did you use CJK functionality?

> To overcome this problem we refferd 
> to Itext Example and came out with a solution and tested in Windows 
> operating sytem ,we  placed unicode of japanese character with required  
> font and displayed in pdf .

Same questions as before:
- either you have used a font file (for instance a ttf)
- or you have added iTextAsian.jar to your CLASSPATH (for CJK)

> But our apllication work on linux operationg system ,where we are not 
> able to generate the same output

Did you use the same font file as on Windows?
Did you embed (a subset of) this font in the PDF?
If you used CJK functionality, did you add iTextAsian.jar
to your CLASSPATH?

Do you get an exception/error while executing the code?
If not: what does the output of the PDF look like?
Is the PDF OK on Windows, but not on Linux (this happens
if you don't embed the font).

I'm sorry, but I can only answer general questions like this
with counter-questions. Have you read chapter 8 of the iText
book? It will guide you through the world of fonts.

br,
Bruno

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to