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)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 16 Sep 2009 21:19:40 +0000 (23:19 +0200)
commitf4786191eb9b711ee2be1dcf78e6c01458bd6b22
tree7bd4cb5ec456a706e19282231dfcc786abd19c7c
parent4f770c9bbaee22c9bb9c1b5b12854e4063e31305
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