Hi Matthew, On Saturday 06 May 2006 19:20, Matthew East wrote: > [...] > > 1. Check the font if it contains Korean characters > > I don't really understand much about fonts, but on my system, if I view > the "fo" file in an editor and set my editor to display serif fonts, > all the korean characters appear fine.
I think that are two different things. As far as I know, FOP knows only those fonts that are registered in its configuration file. Therefor you have to configure the fonts first that you want to use in your FO file. Otherwise it won't work. See [1] for more information about fonts in FOP. > > 2. Check your FOP configuration file. > > I'm not using one. That's the problem. :) FOP uses two configuration files [2,3]. One for the general options and one that has font configuration inside. If you don't configure any fonts, it will fall back to Times and Helvetica (or Arial). I don't think Helvetica or Times contain any Korean characters. For Arial I am not sure. You need to register fonts in FOP that contain these characters otherwise it will never work. So I would recommend: 1. Find a font with all the Korean character 2. Register it in FOP 3. Rebuild your document Well, that's at least my understanding. :) > > Probably you should also give FOP 0.92.x a try. > > Probably, but so far I haven't managed to get it to work with my > stylesheets, and I haven't got much time to rewrite them at the moment. > Hopefully there is an easy way to make fop 0.20-5 work. Well, I never tried to create a Korean document in FOP so my experience is limited. ;) Tom -------- [1] http://xmlgraphics.apache.org/fop/0.20.5/fonts.html [2] $FOP_INSTALL_DIR/conf/userconfig.xml [3] $FOP_INSTALL_DIR/conf/config.xml -- Thomas Schraitle --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
