#6567 closed enhancement (fixed)
fop-2.0 (hold until next version)
| Reported by: | Fernando de Oliveira | Owned by: | Pierre Labastie |
|---|---|---|---|
| Priority: | normal | Milestone: | hold |
| Component: | BOOK | Version: | SVN |
| Severity: | medium | Keywords: | |
| Cc: |
Description
https://archive.apache.org/dist/xmlgraphics/fop/source/fop-2.0-src.tar.gz
https://archive.apache.org/dist/xmlgraphics/fop/source/fop-2.0-src.tar.gz.asc
https://archive.apache.org/dist/xmlgraphics/fop/source/fop-2.0-src.tar.gz.md5
754e5307a73433afb5c4c9b11d45e302
https://www.mail-archive.com/fop-users@xmlgraphics.apache.org/msg20310.html
[ANN] Apache FOP 2.0 Released
Simon Steiner Wed, 03 Jun 2015 07:51:10 -0700
The Apache XML Graphics team is pleased to announce the immediate
availability of Apache FOP Version 2.0 [1].
Because of changes to the API, the version number has been bumped to
2.0. Java 6 or later is minimum runtime required. This release fixes a
number of bugs. In addition the following significant functional
enhancements are provided:
Side float support
Whitespace Management Extension
fo:inline-container partial support
Support for rounded corners
Improved support for complex scripts
PDF Linearization
Support OpenType CFF fonts
Subset support for Type 1 fonts
Support for AES 256 PDF encryption
Default encryption is now 128 bit
SVG graphics can use FOP custom fonts
PDF custom document properties
AFP OCA Color
Support CMYK TIFFs in AFP through IOCA FS45
PDF VT support
PDF Page Piece support
Extension to resize background images
Low level mechanism to augment PDF /Catalog and /Page dictionaries
Change History (11)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
We are at Java 8, so the API should be OK. Let's see...
comment:3 by , 11 years ago
I do not know whether it is related to the API change, but I get errors when trying to build the LFS PDF book.Note that fop-2.0 builds OK.
But when I run "make BASEDIR=../LFS-SVN pdf" in the LFS source directory, I get:
Creating and cleaning /home/pierre/tmp Processing bootscripts... Validating the book... Validation complete. Generating profiled XML for PDF... Generating FO file... Generating PDF file... Makefile:45: recipe for target 'pdf' failed
and fop.log contains:
Jun 07, 2015 4:05:03 PM org.apache.fop.events.LoggingEventListener processEvent
WARNING: Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
Jun 07, 2015 4:05:03 PM org.apache.fop.events.LoggingEventListener processEvent
WARNING: Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400".
Jun 07, 2015 4:05:03 PM org.apache.fop.events.LoggingEventListener processEvent
INFO: Rendered page #1.
Jun 07, 2015 4:05:03 PM org.apache.fop.events.LoggingEventListener processEvent
SEVERE: Image not found. URI: images/note.png. (See position 116:743)
Jun 07, 2015 4:05:03 PM org.apache.fop.events.LoggingEventListener processEvent
SEVERE: Image not found. URI: images/note.png. (See position 282:723)
Jun 07, 2015 4:05:03 PM org.apache.fop.cli.Main startFOP
SEVERE: Exception
org.apache.fop.apps.FOPException
java.lang.NullPointerException
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:288)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
at org.apache.fop.cli.Main.startFOP(Main.java:186)
at org.apache.fop.cli.Main.main(Main.java:217)
Caused by: java.lang.NullPointerException
...
The "SEVERE: Image not found" warnings can be removed by first copying the images directory to $(RENDERTMP). However, I do not know how to remove the NullPointerException...
Everything works perfectly well with fop-1.1
comment:4 by , 11 years ago
I was just looking at fop myself last night and got the same error. This version seems to create a lot of problems for us. Besides the major failure, looking in the destination directory for images instead of the source directory seems wrong.
If you can come up with a fix, that would be great, but I'm not sure we should put this version in the book if we can't produce a pdf version of the book with it.
comment:5 by , 11 years ago
| Milestone: | 7.8 → hold |
|---|---|
| Owner: | changed from to |
| Status: | assigned → new |
| Summary: | fop-2.0 → fop-2.0 (hold until next version) |
Agreed, except maybe about the images file: it might just be a configuration problem. But for the NullPointerException, the FAQ of FOP tells it is very likely a bug in FOP! I am trying to strip down the .fo file to make a bug report.
BTW, I have also tried to run fop on the index.fo file generated for valgind documentation. It does not work too, but it returns a validation error after rendering 20 or so pages, iether with fop-1.1 or with fop-2.0...
Will give back to the book and tag "hold".
comment:6 by , 11 years ago
| Owner: | changed from to |
|---|
comment:7 by , 11 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |

Due to API changes, I am not sure if this is for the future.