After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 500281 - Use fop 0.94 to build hig pdf
Use fop 0.94 to build hig pdf
Status: RESOLVED OBSOLETE
Product: gnome-devel-docs
Classification: Applications
Component: hig
unspecified
Other All
: Normal enhancement
: ---
Assigned To: HIG Maintainers
HIG Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-11-28 19:46 UTC by Lillian Angel
Modified: 2020-12-04 18:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.09 KB, patch)
2007-11-28 19:47 UTC, Lillian Angel
none Details | Review

Description Lillian Angel 2007-11-28 19:46:49 UTC
Now that fop-0.94 is included in Fedora (rawhide), it would be nice to allow users to run the build-hig-pdf.sh script with the system installed fop.

This requires a change to build-hig-pdf.sh and stylesheets/hig-stylesheet-pdf.xsl. 

The fop extensions used in hig-stylesheet-pdf.xsl should be changed to fop1.extensions (according to http://docbook.sourceforge.net/release/xsl/current/doc/fo/fop1.extensions.html). This also works when using fop-0.20.5 (the fop included with hig). Without this change, build-hig-pdf.sh does not work with fop-0.94.

The generated PDFs for both fop-0.20.5 and fop-0.94 are identical. In my attached patch, I propose introducing an environment variable users can set to use the system-installed fop- if not set, the original fop would be used.
Comment 1 Lillian Angel 2007-11-28 19:47:35 UTC
Created attachment 99797 [details] [review]
patch
Comment 2 Lillian Angel 2007-11-28 20:06:35 UTC
I uploaded the pdfs for comparision here:

using included fop:
http://langel.fedorapeople.org/hig_pdfs/hig_fop0205.pdf  

using system fop:
http://langel.fedorapeople.org/hig_pdfs/hig_fop094.pdf
Comment 3 Allan Day 2014-09-25 17:13:33 UTC
Sorry this didn't get much attention. It doesn't seem very relevant any more, though.