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.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to