Upgraded to FOP 0.95, set my Java heap size to 1 GB, and viola [sic], that did the trick.
Thanks for your help, I'm glad this is over with. Thanks again, Mathijs Andreas Delmelle-2 wrote: > > On 29 Jan 2009, at 18:46, mpanhuijsen wrote: > > Hi Mathijs > >> I tried the following: >> >> -Change every reference to my default font from Verdana into >> ARIALUNI (the >> name of the .ttf file). >> -Create a dir c:\myfonts\ and copy ARIALUNI.ttf and ARIALUNI.xml >> (generated >> metric font file) into it >> -Remove autodetect from my fop config file. >> -Added the following fragment: > > Can you try again with FOP 0.95 (using the setup as mentioned in your > initial post), and see if the issue persists? > > Looking at your FO file, the correct characters/codepoints are used > there, so that cannot be the problem. > >> <font-triplet name="ARIALUNI" style="normal" >> weight="normal"/> >> >> >> And still I'm seeing the Serif font and no Japanese characters. > > Yes, now you get the # character again, which means FOP cannot find > the glyphs for the characters in the used font. This means that > ARIALUNI.ttf is not properly registered. You should at least see a > warning about FOP falling back to Serif during processing. > > The reason could be that <font-triplet /> alone is not enough. Did you > forget to paste a piece of the config-file? (the surrounding > element?) > > Another thing to look out for (if you have used FOP 0.20.5 in the > past) is that font-configuration should be specified in the config- > file for each renderer separately. See the example fop.xconf in the > distribution. > > Try running FOP with debug output enabled (-d). This should tell you > more about the font-files that are parsed. > > > Regards > > Andreas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > > -- View this message in context: http://www.nabble.com/Japanese-characters-do-not-appear-in-PDF-tp21683276p21751949.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org