[Pkg-gmagick-im-team] Bug#668214: /usr/bin/convert.im6: Postscript delegate not found

Thomas Preud'homme robotux at celest.fr
Tue Apr 10 18:08:55 UTC 2012


tags 668214 + patch
thanks

Le mardi 10 avril 2012 20:00:22, Thomas Preud'homme a écrit :

[SNIP]

> 
> This -g0x0 comes from coders/pdf.c (or maybe coders/ps.c):
> 
>       (void) FormatLocaleString(options,MaxTextExtent,"-g%.20gx%.20g ",
> (double)
>         page.width,(double) page.height);
> 
> So it seems the height and the width of the page is not detected properly.
> 
> Best regards.

Here is a patch which detect if either height or width is 0 and avoid adding -
g switch if this is the case.

It's just a hack, the proper solution would be to understand why these value 
or null in the first place.

Best regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-gmagick-im-team/attachments/20120410/ca2c3b74/attachment.pgp>


More information about the Pkg-gmagick-im-team mailing list