in my simple docbook document, i've added a couple figures,
one with a JPG file (renders nicely), one with a PNG file (does
not render at all).  both show up in the .fo file as a 
fo:external-graphic, so i know *that* part of it is correct.
 
  from what i read in the FOP FAQ, PNG support is provided by
either JIMI or JAI.  in fact, i have both installed and their
jar files on my java CLASSPATH.

  the FAQ graphics entry for JIMI is a bit confusing, since
it suggests that i should install the JimiProClasses.zip file
(actually, i'm using the jar file) in the directory
xml-fop/lib/jimi-1.0.jar.  why is it not sufficient to put
the Jimi jar file on my CLASSPATH?

  and what's with the xml-fop directory?  where is *that*
supposed to be?  again, both the jimi and jai jar files are
on my classpath.  shouldn't that be sufficient?

  in addition, my FOP output contains:

... snip ...
[INFO] [10]
[INFO] Failed to load JAI, using Jimi instead
[ERROR] Error while creating area : Error creating FopImage object (Error 
creating FopImage object (file:stylesheet-images/tip.png) : 
org.apache.fop.image.JimiImage
[ERROR] Error while creating area : Error creating FopImage object (Error 
creating FopImage object (file:stylesheet-images/note.png) : 
org.apache.fop.image.JimiImage
[ERROR] Error while creating area : Error creating FopImage object (Error 
creating FopImage object (file:stylesheet-images/important.png) : 
org.apache.fop.image.JimiImage
[ERROR] Error while creating area : Error creating FopImage object (Error 
creating FopImage object (file:stylesheet-images/caution.png) : 
org.apache.fop.image.JimiImage
[ERROR] Error while creating area : Error creating FopImage object (Error 
creating FopImage object (file:stylesheet-images/warning.png) : 
org.apache.fop.image.JimiImage

... more snip ...

[ERROR] Error while creating area : Error creating FopImage object (Error 
creating FopImage object (file:cover.png) : org.apache.fop.image.JimiImage
[WARNING] Some static content could not fit in the area.
[WARNING] Some static content could not fit in the area.
[INFO] Parsing of document complete, stopping renderer
rm -rf ./stylesheet-images
cp -a `xmlcatalog /etc/xml/catalog 
http://docbook.sourceforge.net/release/xsl/current | sed -e 
's,^file://,,'`/images ./stylesheet-images


  i'm not sure why JAI is failing to be loaded.  if i could solve that,
perhaps i'd get my PNG, no?

rday


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to