I know this should be an easy thing, but when I try to generate a PCL document from an XML (via XSL), the Japanese characters show up really pixellated.
Apache FOP 1.0 Java 1.6.0_27
I've set up a userconfig.xml like so for pdf and this works fine:
<renderer mime="application/pdf">
<fonts>
<font metrics-url="IPAexGothic.xml" kerning="yes" embed-url="ipaexg.ttf">
<font-triplet name="IPAexGothic" style="normal" weight="normal"/>
</font>
</fonts>
</renderer>
But I've read in the FOP documentation that fonts for PCL are a whole different ball game:
"Non-standard fonts for the PCL renderer are made available through the Java2D
subsystem which means that you don't have to do any custom font configuration in this
case but you have to use the font names offered by Java."
I've tried to drop the fonts into my jre/lib/fonts/ directory. I've tried to set up logical fonts. ( http://docs.oracle.com/javase/tutorial/2d/text/fonts.html )
I created a program in AWT to try to display Japanese characters. They did not display either.
Is there something stupid that I am missing? Here are some Japanese characters if it helps. 東京都
Thanks, Joshua