Page 1 of 1

Conversion crashing when converting pdf with diacritic marks

Posted: 2009-10-09T04:58:26-07:00
by BENDERNEELAFRY
hi All, i am very new to imagemagick, so I beg your indulgence in advance! We are using a report writer called actuate to generate a pdf file. This report can sometimes contain diacritic marks, like accents in French etc. We then use the convert command to flip the report in order to get a mirror image, but we are finding that the convert fails if diacritic marks are found. We are using the following command:
convert -flop -append -density 200 abc.pdf def.pdf

The conversion works, if there are no such marks.

We are using TimesNewRoman and TimesNewRoman Bold. Does anyone know if this conversion is possible? many thanks in advance.

Re: Conversion crashing when converting pdf with diacritic marks

Posted: 2009-10-09T10:22:14-07:00
by fmw42
convert -flop -append -density 200 abc.pdf def.pdf
-append needs two input images and an output image. not sure why you need append just to mirror the image. For a flop of one image, try

convert -density 200 abc.pdf -flop abc_flopped.pdf

If you want to -flop two images and append, then try

convert -density 200 abc.pdf def.pdf -flop -append abc_def_flopped.pdf

If you are trying to flop both images and make them into a two-page pdf, then try

convert -density 200 abc.pdf def.pdf -flop abc_def.pdf

Note that IM will rasterize your image to do the flop and then convert back to vector pdf. So IM may not be the best solution.

see http://www.imagemagick.org/Usage/formats/#vector

Re: Conversion crashing when converting pdf with diacritic marks

Posted: 2009-10-14T19:01:31-07:00
by BENDERNEELAFRY
thanks..tried your suggestion..but same results as before in that diacritic marks in the input file appears to crash the process, whereas if the input file has no such marks, it converts ok. Any other suggestions please?

Re: Conversion crashing when converting pdf with diacritic marks

Posted: 2009-10-15T06:22:36-07:00
by magick
Post a URL to one of your PDF's that causes the crash. We need to reproduce the problem before we can suggest a fix / workaround.