You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2012/03/19 17:32:34 UTC

DO NOT REPLY [Bug 51385] [PATCH] Configurable PDF version

https://issues.apache.org/bugzilla/show_bug.cgi?id=51385

Vincent Hennebert <vh...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Vincent Hennebert <vh...@gmail.com> 2012-03-19 16:32:34 UTC ---
I needed this patch for my work on PDF Object Streams (in order to make the
compression of the structure tree optional), so I undertook to apply it:
http://svn.apache.org/viewvc?rev=1302518&view=rev

I updated the test cases to JUnit 4 and made a few other modifications and
clean-ups.

There is something I'm not too sure about regarding the dynamic configuration:
If no version element is specified in the config file, FOP will produce 1.4 by
default and increase as necessary to accommodate incoming PDF images of higher
version. If any version is specified in the config file, then that version will
not be allowed to increase.

On the other hand, if I want to enable 1.5-specific features like the upcoming
object streams, I would want to set the version to 1.5 and still expect it to
increase as necessary to handle PDF images.

That said, we may also want this parameter to mean that a certain renderer,
with a certain feature set, must be selected, if for example we need to
maintain backwards compatibility with downstream products. So in that case we
/would/ want the version to be fixed.

All that doesn't really matter as long as we don't use the PDF Images plug-in.
So, in order to allow things to still change in that area, I've removed any
mention to dynamic configuration and the plug-in.

Thanks,
Vincent

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.