On 18 Jan 2017, at 21:42, Sergiu Dumitriu
<sergiu(a)xwiki.org> wrote:
On 01/18/2017 12:05 PM, Anca Luca wrote:
For the problems of Apache FOP, does anyone have
any idea what libraries do
other software use for this kind of functionality? (maybe there is a more
cool lib that we haven't found out about)
There are commercial alternatives, but those are out of the question due
to the license.
There's the programmatic PDF generation option with PDFBox, but that
will require a MAJOR redesign of the export.
Then there's the option of building our own patched version of FOP with
https://issues.apache.org/jira/browse/FOP-2469 included.
The patch in FOP-2469 is possibly not good enough which could explain why it’s not
committed yet. So there might be more work to do before we could use it. Analysing and
understand it is also quite some work I guess.
It wouldn't be
the first time we use a patched library, and it seems to be the solution
with the least amount of work needed.
There are 24 open issues with PDF export right now (and 10 bugs):
http://jira.xwiki.org/issues/?jql=component%20%3D%20%22Old%20Core%20-%20PDF…
We could take them one by one and see if using the print button would solve some of them.
Thanks
-Vincent