Flying saucer doesn't display/render CJK extension B (Japanese) characters on PDF

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Flying saucer doesn't display/render CJK extension B (Japanese) characters on PDF

Deepak Thorat

I am using flying saucer to generate report in PDF. That internally consumes itext 2.1.7 to generate PDF. I am using xml that contains CJK characters (Japanese) and xsl style sheet to display data on PDF as input to the flying saucer. Also add HanaMinB font to display Japanese character. Flying saucer works in two steps to generate xmlt to PDF.
1. xml to XHTML/HTML
2. XHTML/HTML to PDF.

Once I run the code, It generate XHTML that successfully render the Japanese character into the file that display on browser as expected. but the PDF shows blank space instead of these characters. Can any body know how to resolve this issue?


------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
TvT
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Flying saucer doesn't display/render CJK extension B (Japanese) characters on PDF

TvT
This mailing list is closed down. Try stackoverflow.com

2015-08-03 11:54 GMT+02:00 Deepak Thorat <[hidden email]>:

I am using flying saucer to generate report in PDF. That internally consumes itext 2.1.7 to generate PDF. I am using xml that contains CJK characters (Japanese) and xsl style sheet to display data on PDF as input to the flying saucer. Also add HanaMinB font to display Japanese character. Flying saucer works in two steps to generate xmlt to PDF.
1. xml to XHTML/HTML
2. XHTML/HTML to PDF.

Once I run the code, It generate XHTML that successfully render the Japanese character into the file that display on browser as expected. but the PDF shows blank space instead of these characters. Can any body know how to resolve this issue?


------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php


------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Loading...