Why is gs not loading all fonts in the msttcorefonts folder? Reading the properties of the attached PDF, I can see the font it actually wants is TimesNewRomainPSMT. Then the only references to the Times New Roman font is: Loading TimesNewRomanPS-BoldItalicMT font from /usr/share/fonts/truetype/msttcorefonts/timesbi.ttf. If I load all fonts like so: gs -c 'loadallfonts quit' Here is the PDF file I'm trying to run through Ghostscript: bad.pdf GPL Ghostscript 8.71: Unrecoverable error, exit code 1Ĭould anyone please help me on this? I feel like I've exhausted all possibilities that I can think of. runexec2 -nostringval-nostringval-nostringval- 2 %stopped_push -nostringval-nostringval-nostringval- false 1 %stopped_push 1878 1 3 %oparray_pop 1877 1 3 %oparray_pop 1861 1 3 %oparray_pop -nostringval-nostringval- 2 1 3 -nostringval- %for_pos_int_continue -nostringval-nostringval-nostringval-nostringval- %array_continue -nostringval- false 1 %stopped_push -nostringval- %loop_continue -nostringval-nostringval-nostringval-nostringval-nostringval-nostringval-nostringval. This software comes with NO WARRANTY: see the file PUBLIC for details. The Ghostscript command I use: gs -sFONTMAP=/usr/share/ghostscript/8.71/Fontmap bad.pdf -o good.pdfĪnd this is the error I get: GPL Ghostscript 8.71 ()Ĭopyright (C) 2010 Artifex Software, Inc. Times-Italic (/usr/share/fonts/truetype/msttcorefonts/timesi.ttf) Times-BoldItalic (/usr/share/fonts/truetype/msttcorefonts/timesbi.ttf) Times-Bold (/usr/share/fonts/truetype/msttcorefonts/timesbd.ttf) Times-Roman (/usr/share/fonts/truetype/msttcorefonts/times.ttf) My Fontmap file looks like this: /Times (/usr/share/fonts/truetype/msttcorefonts/times.ttf) I downloaded the msttcorefonts package and created a Fontmap file for Ghostscript, but this just doesnt seem to work. When I check the pdf in Adobe Acrobat, it doesn't mention such font in the document properties.Using Ghostscript 8.71 in Ubuntu, but having trouble reading a PDF file that has the times new roman font on all its pages. Times # 20New # 20Roman is the culprit I believe as in the report that you generated, it says that it's missing on your machine. I copy pasted from Google Translate.ĭoes the pdf import fine on your PC ? Don't the fonts go haywire as shown in my screenshot? Sharing the report generated in your pdf. I'm getting the same errors in the pdf you uploaded. Unfortunately, there are no fonts in the zip package. Thanks for taking the time for uploading.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |