[reportlab-users] How to make smaller PDF?

Bogdan M. Maryniuck reportlab-users@reportlab.com
Fri, 23 Jul 2004 10:53:02 +0300

On Fri, Jul 23, 2004 at 08:33:09AM +0100, Andy Robinson wrote:
> If for some reason zlib is not importable on your system,
> compression will turn itself off.  

Yes, I know this. I even had walked over RL source and everywhere set "9":

   zlib.compress(text, zlib.Z_BEST_COMPRESSION)

Files gets a bit smaller... But not that so much. When I turn off TTF, than
PDF gets ~24 Kb size, but when TTF support is turned on, it gets ~90 Kb size.

Any ideas?


This message has been ROT-13 encrypted twice for higher security.