xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keiron Liddle <kei...@aftexsw.com>
Subject Re: Big PDF size
Date Wed, 15 Aug 2001 05:43:08 GMT

When text is drawn by batik it actually draws the text as a set of curves
and lines. This is the default behaviour.
This results in a large amount of data, each character may need a number of
curves. Compared with normal text it only needs one character per character
plus a small overhead.

This means that the resulting pdf is independant of any fonts but also as
you pointed out it is rather large. I have started some code that writes
the text as text in the pdf. It is only a start because the problem is
rather complicated. It also means that you fonts will be restricted.
How you can use it depends on how you are calling the transformer. There is
a transcoding hint.


On Tue, 14 Aug 2001 17:47:16 Jean-Michel Biollaz (pb) wrote:
> Hello
> I generate PDF file with embedded SVG frame and text.
> With the frames only I get a PDF of 10 K and if I include some text
> (frame
> title, not yet content) I get a PDF of 1MB.
> If I use another PDF generator (a PDF printer driver) I get for the same
> file 50K.
> Is there a problem transforming the text from SVG to PDF ?
> Thank's in advance,
> Jean-Michel

View raw message