GhostScript is converting Italic font to normal (Times new roman TrueType Font)

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
ravinder
Posts: 14
Joined: 2015-11-05T23:49:44-07:00
Authentication code: 1151

GhostScript is converting Italic font to normal (Times new roman TrueType Font)

Post by ravinder »

I am using image Magic to convert pdf into jpg. I am using Times New roman TrueType font and used word document and saved as PDF to generate pdf files.

While i am converting this file into jpg italic text is converted into normal text and i received the error
Times New Roman TrueType
Times New Roman, Italic TrueType
Can't find font file /usr/share/ghostscript/8.70/Resource/Font/NimbusRomanNo9L-Regu
Substituting font times-roman for Times New Roman, Italic.

Please advise on this issue , how we can resolve it.


Thanks,
ravinder
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: GhostScript is converting Italic font to normal (Times new roman TrueType Font)

Post by snibgo »

It says it can't find a font file. Installing that font might cure the problem. See Wikipedia: https://en.wikipedia.org/wiki/Nimbus_Roman
snibgo's IM pages: im.snibgo.com
ravinder
Posts: 14
Joined: 2015-11-05T23:49:44-07:00
Authentication code: 1151

Re: GhostScript is converting Italic font to normal (Times new roman TrueType Font)

Post by ravinder »

we already NimbusRomanNo9L-Regu Type 1 font installed on machine. it seems GS is looking the TrueType NimbusRomanNo9L-Regu. should installing NimbusRomanNo9L-Regu Truetype will resolve the issue?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: GhostScript is converting Italic font to normal (Times new roman TrueType Font)

Post by snibgo »

I don't know, but it's an obvious thing to try.

You mention "8.70" in the Ghostscipt path. If that is the version number, you might also try an upgrade as 8.70 is quite old now.
snibgo's IM pages: im.snibgo.com
ravinder
Posts: 14
Joined: 2015-11-05T23:49:44-07:00
Authentication code: 1151

Re: GhostScript is converting Italic font to normal (Times new roman TrueType Font)

Post by ravinder »

if i execute the command at my server gs -sDEVICE=jpeg -o test_new.jpg -dJPEGQ=95 -r600x600 -g4960x7016 test.pdf it looks for NimbusRomanNo9L-Regu at /usr/share/ghostscript/8.70/Resource/Font/NimbusRomanNo9L-Regu but when i visited /usr/share/ghostscript/8.70/Resource location i have not found Font folder.

I am new in image magic , can you please suggest on it. do we need to install font separately for GS.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: GhostScript is converting Italic font to normal (Times new roman TrueType Font)

Post by snibgo »

I suggest you upgrade Ghostscript. If your IM is before version 6.9.0, I suggest you also upgrade that.
snibgo's IM pages: im.snibgo.com
Post Reply