Problem with some vertical lines

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
armagan

Problem with some vertical lines

Post by armagan »

I'm having problem with converting a PDF file to gif. Please check the following image. The top one is converted gif file and the bottom one is the original PDF file. Can you tell me how can I fix this?

Image

I'm using "convert -density 200 file.pdf file.gif" command.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Problem with some vertical lines

Post by magick »

We use the Ghostscript delegate library or program to render PDF. The problem you posted is mostly due to Ghostscript. The latest GPL release is 8.60. Which version are you using? Perhaps an upgrade will fix the problem.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Problem with some vertical lines

Post by anthony »

The boxes are usually a sign that the font could not handle the given character. The '-' and '+' symbols is probably a special Unicode 'minus' and 'plus' rather that the simple ASCII equivalent, and that is not being provided by the font. It may be the font in ghostscript is not as complete as expected.

Not all fonts implement the whole Unicode charcater set, most skip certain sections and parts. the symbols may have been skipped as being unnecessary as the ASCII character is normally used.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
armagan

Re: Problem with some vertical lines

Post by armagan »

magick wrote:We use the Ghostscript delegate library or program to render PDF. The problem you posted is mostly due to Ghostscript. The latest GPL release is 8.60. Which version are you using? Perhaps an upgrade will fix the problem.
I was already using 8.61. I upgraded to 8.63 and it seem to fix the problem.

Thanks for the replies.
Post Reply