Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #707 > unrolled thread
| Started by | Hans-Juergen Frevel <hjfrevel@1med.uni-kiel.de> |
|---|---|
| First post | 2012-06-06 09:48 +0200 |
| Last post | 2012-06-06 20:37 +0100 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.lang.postscript
ghostscript Font Substitution Hans-Juergen Frevel <hjfrevel@1med.uni-kiel.de> - 2012-06-06 09:48 +0200
Re: ghostscript Font Substitution Helge Blischke <h.blischke@acm.org> - 2012-06-06 11:12 +0200
Re: ghostscript Font Substitution Hans-Juergen Frevel <hjfrevel@1med.uni-kiel.de> - 2012-06-06 14:13 +0200
Re: ghostscript Font Substitution ken <ken@spamcop.net> - 2012-06-06 20:37 +0100
| From | Hans-Juergen Frevel <hjfrevel@1med.uni-kiel.de> |
|---|---|
| Date | 2012-06-06 09:48 +0200 |
| Subject | ghostscript Font Substitution |
| Message-ID | <a38gb8Fpi9U1@mid.individual.net> |
Hello, I have a PDF-File which don't show the german umlauts with gsview. I have the following message: GSview 5.0 2012-01-17 GPL Ghostscript 9.05 (2012-02-08) Copyright (C) 2010 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Scanning PDF file %GSVIEW_PDF_PAGES: 1 1 Displaying PDF page 1 %GSVIEW_PDF_PAGE: 1 %GSVIEW_PDF_MEDIA: [0 0 595.273 841.886] %GSVIEW_PDF_ROTATE: 0 Can't find CID font "CourierNew". Attempting to substitute CID font /Adobe-Identity for /CourierNew, see doc/Use.htm#CIDFontSubstitution. The substitute CID font "Adobe-Identity" is not provided either. attempting to use fallback CIDFont.See doc/Use.htm#CIDFontSubstitution. Loading a TT font from %rom%Resource/CIDFSubst/DroidSansFallback.ttf to emulate a CID font Adobe-Identity ... Done. Can't find CID font "CourierNew". Attempting to substitute CID font /Adobe-Identity for /CourierNew, see doc/Use.htm#CIDFontSubstitution. Can't find CID font "Tahoma". Attempting to substitute CID font /Adobe-Identity for /Tahoma, see doc/Use.htm#CIDFontSubstitution. I haven't understand how to substitute the missing fonts. Thank you for any help greetings Hans-Jürgen
[toc] | [next] | [standalone]
| From | Helge Blischke <h.blischke@acm.org> |
|---|---|
| Date | 2012-06-06 11:12 +0200 |
| Message-ID | <a38l8pFu9gU1@mid.individual.net> |
| In reply to | #707 |
Hans-Juergen Frevel wrote: > Hello, > > I have a PDF-File which don't show the german umlauts with gsview. I > have the following message: > > GSview 5.0 2012-01-17 > GPL Ghostscript 9.05 (2012-02-08) > Copyright (C) 2010 Artifex Software, Inc. All rights reserved. > This software comes with NO WARRANTY: see the file PUBLIC for details. > Scanning PDF file > %GSVIEW_PDF_PAGES: 1 1 > Displaying PDF page 1 > %GSVIEW_PDF_PAGE: 1 > %GSVIEW_PDF_MEDIA: [0 0 595.273 841.886] > %GSVIEW_PDF_ROTATE: 0 > Can't find CID font "CourierNew". > Attempting to substitute CID font /Adobe-Identity for /CourierNew, see > doc/Use.htm#CIDFontSubstitution. > The substitute CID font "Adobe-Identity" is not provided either. > attempting to use fallback CIDFont.See doc/Use.htm#CIDFontSubstitution. > Loading a TT font from %rom%Resource/CIDFSubst/DroidSansFallback.ttf to > emulate a CID font Adobe-Identity ... Done. > Can't find CID font "CourierNew". > Attempting to substitute CID font /Adobe-Identity for /CourierNew, see > doc/Use.htm#CIDFontSubstitution. > Can't find CID font "Tahoma". > Attempting to substitute CID font /Adobe-Identity for /Tahoma, see > doc/Use.htm#CIDFontSubstitution. > > I haven't understand how to substitute the missing fonts. > > Thank you for any help > > greetings > Hans-Jürgen You didn't tell anything about the system you are running on (presumably Windows?), but if set up corrrectly, Ghostscript should fall back to the DroidSansFallback font, which *does* contain the umlauts. But - again assuming you are on a Windows system - CourierNew and Tahoma belong, as far as I know, to the standard fonts supplied with every Windows installation, so you should set up a cidfmap file as described in the Use.htm document and force GSview to use that by providing the -I command line switch (as your Ghostscript has the default resources compiled in). Helge PS: Issues like this ever since lead me to not compile in the resources whenever I compile Ghostscript from the sources (I'm using variuos Unices).
[toc] | [prev] | [next] | [standalone]
| From | Hans-Juergen Frevel <hjfrevel@1med.uni-kiel.de> |
|---|---|
| Date | 2012-06-06 14:13 +0200 |
| Message-ID | <a38vr4Fg2dU1@mid.individual.net> |
| In reply to | #708 |
Am 06.06.2012 11:12, schrieb Helge Blischke:
> Hans-Juergen Frevel wrote:
>
>> Hello,
>>
>> I have a PDF-File which don't show the german umlauts with gsview. I
>> have the following message:
>>
>> GSview 5.0 2012-01-17
>> GPL Ghostscript 9.05 (2012-02-08)
>> Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
>> This software comes with NO WARRANTY: see the file PUBLIC for details.
>> Scanning PDF file
>> %GSVIEW_PDF_PAGES: 1 1
>> Displaying PDF page 1
>> %GSVIEW_PDF_PAGE: 1
>> %GSVIEW_PDF_MEDIA: [0 0 595.273 841.886]
>> %GSVIEW_PDF_ROTATE: 0
>> Can't find CID font "CourierNew".
>> Attempting to substitute CID font /Adobe-Identity for /CourierNew, see
>> doc/Use.htm#CIDFontSubstitution.
>> The substitute CID font "Adobe-Identity" is not provided either.
>> attempting to use fallback CIDFont.See doc/Use.htm#CIDFontSubstitution.
>> Loading a TT font from %rom%Resource/CIDFSubst/DroidSansFallback.ttf to
>> emulate a CID font Adobe-Identity ... Done.
>> Can't find CID font "CourierNew".
>> Attempting to substitute CID font /Adobe-Identity for /CourierNew, see
>> doc/Use.htm#CIDFontSubstitution.
>> Can't find CID font "Tahoma".
>> Attempting to substitute CID font /Adobe-Identity for /Tahoma, see
>> doc/Use.htm#CIDFontSubstitution.
>>
>> I haven't understand how to substitute the missing fonts.
>>
>> Thank you for any help
>>
>> greetings
>> Hans-Jürgen
> You didn't tell anything about the system you are running on (presumably
> Windows?), but if set up corrrectly, Ghostscript should fall back to the
> DroidSansFallback font, which *does* contain the umlauts.
>
> But - again assuming you are on a Windows system - CourierNew and Tahoma
> belong, as far as I know, to the standard fonts supplied with every Windows
> installation, so you should set up a cidfmap file as described in the
> Use.htm document and force GSview to use that by providing the -I command
> line switch (as your Ghostscript has the default resources compiled in).
>
> Helge
>
> PS: Issues like this ever since lead me to not compile in the resources
> whenever I compile Ghostscript from the sources (I'm using variuos Unices).
>
Hello,
the system is windows XP. I have added the following line to the cidfmap
file and tried the -I switch:
/CourierNew << /FileType /TrueType /SubfontID 0 /CSI [(GB1) 2] /Path
(C:/WINDOWS/Fonts/cour.ttf) >> ;
With this line the document shows only a white area and the following
message appears:
GSview 5.0 2012-01-17
GPL Ghostscript 9.05 (2012-02-08)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Scanning PDF file
%GSVIEW_PDF_PAGES: 1 1
Displaying PDF page 1
%GSVIEW_PDF_PAGE: 1
%GSVIEW_PDF_MEDIA: [0 0 595.273 841.886]
%GSVIEW_PDF_ROTATE: 0
**** Warning: can't process font stream, loading font by the name.
**** Error reading a content stream. The page may be incomplete.
**** File did not complete the page properly and may be damaged.
If I delete the line, the first message appears and there are no umlauts
as described.
Hans-Jürgen
[toc] | [prev] | [next] | [standalone]
| From | ken <ken@spamcop.net> |
|---|---|
| Date | 2012-06-06 20:37 +0100 |
| Message-ID | <MPG.2a395d21a4d0dcd9989886@usenet.plus.net> |
| In reply to | #709 |
In article <a38vr4Fg2dU1@mid.individual.net>, hjfrevel@1med.uni-kiel.de says... > the system is windows XP. I have added the following line to the cidfmap > file and tried the -I switch: > > /CourierNew << /FileType /TrueType /SubfontID 0 /CSI [(GB1) 2] /Path > (C:/WINDOWS/Fonts/cour.ttf) >> ; GB1 is a Chinese encoding, so its not too surprising that doesn't work..... You could try /CSI [(Artifex) (Unicode) 0] or /CSI [(Artifex) (Identity) 0] Alternatively publish the PDF file somewhere that we can take a look at it, and obviate the guesswork. Ken
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.postscript
csiph-web