Page 1 of 1

Trouble with Fonts being resized during PDF -> Tiff Conv.

Posted: 2010-10-05T21:38:19-07:00
by Bojan
I have been playing around with IM and GhostScript for a full day now, looking through as much documentation as i can, and cannot figure this one out.

What i am doing is converting PDF documents to Group 4 Tiff.

there seem to be certain DPI limits at which certain fonts cease working.

for example, relative to the other text on the page.
Times new roman seems to look perfect at 248 DPI and above for font size 11 and up.
Times new roman at font size 10 does not look normal until 280 DPI or so.
Arial size 10 works at 248+, and size 11 from 228 or so.

I need to compress the images to 200DPI or below, because otherwise, for the throughput we are expecting, it wont work, rescaling works to lower the file size, but it adds another 2-3 seconds overhead to processing which wont do.

now the biggest problem i cannot work out.

why is text at 247 DPI less than 3/4 the size of text at 248 DPI.
Why is the text spacing at 247 DPI double the text spacing at 248 DPI?

any help would be much appreciated. The problem does not seem to replicate in Ghostscript. I have tried to only let GS/IM to use one font, but i'm not sure im doing that right, either.

Code i have been using is

Convert -monochrome -density xxx -compress Group4 xxxx.pdf xxx1.tif

Regards

Bojan

Re: Trouble with Fonts being resized during PDF -> Tiff Conv

Posted: 2010-10-06T17:20:49-07:00
by Bojan
I also have trouble with Italics

any italics i have tried converting so far from pdf to tiff have rendered as standard letters.

Re: Trouble with Fonts being resized during PDF -> Tiff Conv

Posted: 2010-10-14T20:20:40-07:00
by Bojan
nobody that can help with this?

Re: Trouble with Fonts being resized during PDF -> Tiff Conv

Posted: 2010-10-14T20:44:53-07:00
by fmw42
I am not an expert on PDF, but you could try

convert -density xxx xxxx.pdf -monochrome -compress Group4 xxx1.tif

see http://www.imagemagick.org/Usage/basics/#cmdline

I don't know about the italic, but it may depend upon Ghostscript and GS fonts you have installed or perhaps freetype. Have you tried upgrading those as well as IM?

see http://www.imagemagick.org/Usage/formats/#pdf and http://www.imagemagick.org/Usage/formats/#tiff


I can never remember whether IM uses GS to read from PDF or to write to PDF.