Hello, all!
This is a status update. As you probably know, FDP intend to use Apache FOP to render the PDF versions of our documents. The 0.20.5 version is quite old; furious development is underway.
The Apache FOP team have made available a beta release of their heavily-rewritten product. You can find out more from their
http://xmlgraphics.apache.org/fop/relnotes.html
web site. I tried it out against the CVS versions of the Fedora Release Notes and thought you might like to see the results. You can find the English and Italian versions here:
http://www.megacoder.com/nobots/RELEASE-NOTES-en.pdf http://www.megacoder.com/nobots/RELEASE-NOTES-it.pdf
The Japanese version built, but the wrong font was used, so everything was a '#' character. The Russian version aborted.
I think they look remarkably good, given that I used the original, mostly-generic PDF stylesheets.
I haven't tried to compile this using GCJ; that's out of my range. Perhaps one of you might make one attempt, just to see what happens.
As Karsten mentioned earlier, we should be getting some help with the graphics rendering component -- so we can avoid the closed-source libraries FOP uses. However, if we stick with .JPG and .EPS input graphics, the built-in FOP support should be quite good enough. We just need to get the GCJ compile going... Still, I prefer .PNG image files and am looking forward to the "correct" solution.
Cheers
On Thu, 2005-12-08 at 21:22 -0600, Tommy Reynolds wrote:
Hello, all!
This is a status update.
Thanks!
I think they look remarkably good, given that I used the original, mostly-generic PDF stylesheets.
Yeah, I'm hoping the rendering weirdness in the PDFs can be resolved with the stylesheets. Definitely want to restyle the <variablelist>, the default makes a difficult to read, two-column format. Also, multiple problems mostly with fixed-width font rendering.
Still, pretty cool. We'll have to supply the Apache team with some bug reports. :)
- Karsten
Hello, Tommy!
Sorry for long reply. Could you show me how to build PDF using new FOP version?
Please copy-paste couple of lines from your .bash_history.
I tried to generate Russian and other variants. All of my efforts was aborted with PDF file size just some bytes.
My build platform: - RHEL 4 Update 2 - IBM Java machine from Extras channel - FOP (new version)
Regards, Andrew Martynov
On Thu, Dec 08, 2005 at 09:22:49PM -0600, Tommy Reynolds wrote:
Hello, all!
This is a status update. As you probably know, FDP intend to use Apache FOP to render the PDF versions of our documents. The 0.20.5 version is quite old; furious development is underway.
The Apache FOP team have made available a beta release of their heavily-rewritten product. You can find out more from their
http://xmlgraphics.apache.org/fop/relnotes.html
web site. I tried it out against the CVS versions of the Fedora Release Notes and thought you might like to see the results. You can find the English and Italian versions here:
http://www.megacoder.com/nobots/RELEASE-NOTES-en.pdf http://www.megacoder.com/nobots/RELEASE-NOTES-it.pdf
The Japanese version built, but the wrong font was used, so everything was a '#' character. The Russian version aborted.
I think they look remarkably good, given that I used the original, mostly-generic PDF stylesheets.
I haven't tried to compile this using GCJ; that's out of my range. Perhaps one of you might make one attempt, just to see what happens.
As Karsten mentioned earlier, we should be getting some help with the graphics rendering component -- so we can avoid the closed-source libraries FOP uses. However, if we stick with .JPG and .EPS input graphics, the built-in FOP support should be quite good enough. We just need to get the GCJ compile going... Still, I prefer .PNG image files and am looking forward to the "correct" solution.
Cheers
-- fedora-docs-list mailing list fedora-docs-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-docs-list
Uttered Andrew Martynov andrewm@inventa.ru, spake thus:
Could you show me how to build PDF using new FOP version?
I'm using the new FOP built from CVS, along with the xmlto(1) RPM that I patched to use FOP. I use my own FOP wrapper; I've included it here:
==[/opt/bin/fop]==
#!/bin/zsh # export FOP=fop.sh # export FOP_HOME=/opt/fop-0.20.5/ # export FOP_HOME=/opt/fop-0.90svn/ export FOP_HOME=/opt/fop-0.90alpha1/ export FOP=fop export FOP_OPTS=-Xmx500m exec ${FOP_HOME}/${FOP} $@
==[/opt/bin/fop]==
You can get a copy of the xmlto RPM from:
ftp://ftp.megacoder.com/pub/xmlto-0.0.18-7.src.rpm ftp://ftp.megacoder.com/pub/xmlto-0.0.18-7.i386.rpm
With these two items in place, all I did was:
$ cd release-notes $ make LANGUAGES=ru html
Let me know how this works for you.
Cheers