Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#126 create thumbnail from "multilateral landscape pdf" fails

closed-wont-fix
None
5
2009-12-07
2009-12-07
Kevin Häfeli
No

See ID: 2894651 for details.

1 page PDFs are working on 1.1.15 - multilateral PDFs still fail.

Any solution?

Discussion

  • While the GraphicsMagick project is no longer supporting 1.1.X, it would help assure that this bug does not exist in still supported versions if you would attach a problematic PDF file to this bug report.

    Bob

     
  • Kevin Häfeli
    Kevin Häfeli
    2009-12-07

     
    Attachments
  • Kevin Häfeli
    Kevin Häfeli
    2009-12-07

    thank you for your answer.
    I've attached the PDF

     
  • Unfortunately, both GraphicsMagick 1.2.9 and 1.3.7 seem to work fine with your PDF. Testing with 1.1.15 shows that it does indeed fail. Is there any way that you can upgrade your GraphicsMagick?

     
  • As a potential workaround, it may work to edit the installed delegates.mgk file. Find the gs-mono and gs-color entires and remove the -g%s from those entries. If you don't want to modify the system version, then you can copy delegates.mgk to a different directory and use the MAGICK_CONFIGURE_PATH environment variable to tell GraphicsMagick to search there for it.

    A drawback of this repair approach is that while PDF reading may improve, the level of control when reading Postscript files is likely to be reduced.

    Bob

     
  • Oops, belay that. You can't remove that argument since it is a positional argument and the binary will want to put a string there. Maybe there is some other Ghostscript option which can be substituted which will cause that field to be ignored.

     
  • Ok, I found an ugly fix which does actually work. Change -g%s to -qg%s. This only works because the Ghostscript command line parsing is weak.

     
  • An ugly work-around has been provided which seems to work. The 1.1.X release series is no longer supported (by us). Debian could choose to independently address this bug.

     
    • assigned_to: nobody --> bfriesen
    • status: open --> closed-wont-fix
     
  • Kevin Häfeli
    Kevin Häfeli
    2009-12-07

    thank you bob!
    I've changed -g%s to -qg%s and the problem is solved!
    great support!

    regards
    Kevin