FOP was most likely not able to load a font metrics file. I'm pretty sure you got an error message earlier in the process. Please check your log output.
On 29.08.2005 19:18:06 Sajeesh N Kakkat wrote: > > Hi, > > I am getting the below error when I try to generate a PDF which has Chinese > texts. Does anyone know what could be the reason ? > > java.lang.NullPointerException > at > org.apache.fop.render.pdf.fonts.LazyFont.mapChar(LazyFont.java:121) > at org.apache.fop.layout.FontState.mapChar(FontState.java:212) > at org.apache.fop.layout.FontState.getCharWidth(FontState.java:269) > at org.apache.fop.layout.LineArea.addText(LineArea.java:567) > at org.apache.fop.fo.FOText.addRealText(FOText.java:278) > at org.apache.fop.fo.FOText.addText(FOText.java:252) <snip/> Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]