I am currently working on replacing PDFLib with FOP in an existing
application and have hit a roadblock due to the file sizes of the PDFs FOP
is producing.

If you point your web browser to http://warpcore.org/fop/ you will find two
versions of the first page of a report, one from the existing
PDFLib-generated file, the other as rendered by FOP.  The FOP version is
almost 4 times larger (16KB vs 4.2KB).

The full report (51 pages of the same style output) is even worse, 633KB vs.
86KB (over 7 times larger).  I thought it might have something to do with
the table borders, with FOP rendering individual border segments whereas the
PDFLib version is basically lines being drawn manually, but even with all
borders supressed (reducing it to text-only) the FOP version is close to
400KB.  I have used FOP plenty in the past and not encountered such an
issue, but I have also never done anything this heavy on tables.

Is there anything you can recommend to get this file down to a reasonable
size?  If it's something where FOP needs to be optimized, where can I start
looking?  (I'm definitely not opposed to doing some development work on FOP
but I haven't had need to work with the source code at all to date.)

-- 
Stephen Clouse <[email protected]>

Reply via email to