One of my colleagues is working on modifying FOP to output to multi-page TIFF (& got it working!). The coding is similar to Oleg's TiffRenderer. Unfortunately, we're running up against 'headless' issues (http://xml.apache.org/fop/graphics.html#batik).

My client is running fop-0.20.4 on AIX 4.3 with JRE 1.3 (IBM). Apparently, 1.3 is the latest version of JRE available for AIX 4.3, so we can't do the '-Djava.awt.headless=true' command line option. We've also tried the other avenues indicated in the Batik section of FOP/graphics. We've also tried into installing some funky AWT implementation which doesn't require X server. But fonts aren't working (yet).

In addition, we've tried outputting to -ps (works *great* on AIX 4.3 btw), and then converting to TIFF using ImageMagick, but there are numerous problems there (binaries break under AIX, source doesn't compile w/o significant mods to header vars & macros).

Essentially what we want, is to be able to do use FOP to -print under Java 1.3, without requiring an X-server.

Any ideas?

FWIW, here's the e-mail I received from my colleague RE: the problems we're having.

Bill wrote:
> Hey Clay, we are working on converting tiffs by modifying FOP to use
> JAI. We've run into problems on the AIX box. It requires an X-Display
> to connect to. Of course we don't have one on the server. We tried
> running java with the headless flag, but of course java 1.3 doesn't
> support it.
>
> Other than upgrading java, any ideas of a work around?
> We have the headless problem if we invoke fop with the -print flag. So
> if there is a way to get -print to work without X, we should be okay.
>
> Thanks
>
> Bill


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



Reply via email to