Bug 239491

Summary: printing to pdf appears to use no compression
Product: [Fedora] Fedora Reporter: Bernard Johnson <bjohnson>
Component: libgnomeprint22Assignee: Marek Kašík <mkasik>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6Keywords: Reopened
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-27 18:23:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bernard Johnson 2007-05-08 20:41:45 UTC
Description of problem:
(I'm guessing as to the actual component here, so please move it to the
appropriate component if I get it wrong)

Printing to a pdf in gnome/Gtk based applications appear to use no compression.
 This is apparent when working with programs that outputs graphics.

For example, I can use glabels to print cd labels to a pdf.  In my case the
resultant output.pdf is 128705488 bytes.  I can then use pdftk to recompress the
pdf and the output.pdf is then 412375.  This is < 1% of the size of the original.

Version-Release number of selected component (if applicable):
libgnomeprintui22-2.12.1-6

How reproducible:
Always

Additional info:
Looking in the pdf files, I see:

output1.pdf:
/Filter [/ASCIIHexDecode ]

output2.pdf (recompressed)
/Filter /FlateDecode

Comment 1 Marek Kašík 2008-03-27 16:47:49 UTC
This problem is inside of libgnomeprint22, which doesn't have implemented
compression of PDFs.

  Marek

Comment 2 Marek Kašík 2008-03-27 18:22:09 UTC
This feature is not implemented inside of libgnomeprint22 and we will not
implement it.

  Regards

    Marek

(note: try cups-pdf printer)