Bug 3390 Enabling ZIP compression in pdf generation to reduce file size
authorChris Nighswonger <cnighswonger@foundations.edu>
Sat, 4 Jul 2009 04:14:50 +0000 (00:14 -0400)
committerGalen Charlton <galen.charlton@liblime.com>
Mon, 13 Jul 2009 12:19:56 +0000 (08:19 -0400)
commitd1e03bbf11df9329f42821f623aa8c0dee599b30
tree57be7eb73e1912f34937e0415b5007b44d80dc15
parentf779f9815c81161203ad70cb96373427996c48e8
Bug 3390 Enabling ZIP compression in pdf generation to reduce file size

Enabling compression gives a ~26% *reduction* over non-compressed Type 3 font embedding.
ie. 4.5 K/pg (compressed graphic) vs. 17.5 K/pg (uncompressed Type 3 font) vs 111 K/pg
(uncompressed graphic).

It also appears that most other applications that export in pdf use compression by
default. (OO Writer, etc.) So this approach appears justified. One could always add code
to allow the user to select embedding mode and compression.

Also correcting mode parameter value.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Labels.pm
labels/label-print-pdf.pl