delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/03/12:16:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AC77C3D.4010906@gmail.com>
Date: Sat, 03 Oct 2009 17:30:53 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 'gm convert' in 1.5 and 1.7
References: <4AC77659 DOT 3030407 AT alice DOT it>
In-Reply-To: <4AC77659.3030407@alice.it>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Angelo Graziosi wrote:
> Dave Korn wrote:
>> Angelo Graziosi wrote:
>>
>>> I have attached a simple test case 
>>
>>   Simple maybe, but a bit much to spam the whole list with!
> 
> I am afraid if it spams, but I haven't understood what you mean: I have
> attached a simple test, as often required by the list.

  It was rather a large testcase; simple implies "a few lines or a page" in
text terms, or similarly small binary files.  Half a megabyte times thousands
of list users only one or two of whom may actually want it == lots of waste.

>>   If I were you, I'd take a look at whether for some reason the 1.7
>> version
>> doesn't know how to do pdf stream compression, maybe because it was
>> compiled
>> on a build machine that didn't have all the optional libs installed. 
>> It would
>> be obvious from browsing the generated PDFs in a hexeditor I would think.
> 
> Also this is not very clear...

  Ah, well: PDF format allows large blobs of embedded data to be compressed by
a gzip-like ('flate) or lzw-type compression algorithm.  If the 1.5 gm knows
how to use this compression when generating pdf files and the 1.7 doesn't,
that would account for the size difference, and if that does turn out to be
the case, it's probably down to an autoconf test disabling the feature based
on the libs installed on the maintainer's build machine.


    cheers,
      DaveK

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019