Deepak Thorat
2015-08-03 09:54:21 UTC
<http://stackoverflow.com/questions/31783955/flying-saucer-doesnt-display-cjk-extension-b-japanese-characters-on-pdf#>
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?
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?