Re: PDF building with FOP

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: PDF building with FOP
Date: 2017-03-11 03:19:45
Message-ID: 20170311031945.dwj5w7lai26lvf4z@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Peter Eisentraut wrote:

> The questions for those who are building PDFs are
>
> - Can you make the build work?

It worked fine for me after installing the "fop" package. No need to
rerun configure.

> - Does the output look OK?

It looks generally sane in a very quick skim, modulo the problems we've
always had with PDFs, such as tables 9-44 and 9-45 being completely
unusable.

> Some tips: FOP is extremely memory hungry. You will probably have to
> fiddle with some Java memory settings to make it work. One way is by
> edting ~/.foprc and set something like
>
> FOP_OPTS='-Xmx1200m' # fop upstream binary installation
> ADDITIONAL_FLAGS='-Xmx1200m' # centos/fedora
> JAVA_ARGS='-Xmx1200m' # debian

I didn't have to change anything; it just worked out of the box.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2017-03-11 05:31:42 Re: PDF building with FOP
Previous Message Peter Eisentraut 2017-03-11 02:25:11 PDF building with FOP