[pstricks] PSTricks Digest, Vol 219, Issue 11

Herbert Voss Herbert.Voss at fu-berlin.de
Mon Aug 23 09:54:09 CEST 2021



Am 22.08.21 um 22:51 schrieb Pablo González:
>> Did you used the file for Linux _and_ Windows??
>>
>>
>> Yes, it worked OK on both operating systems.


That's good. But I do not know what is really the best way. However, now 
I understand
what is the problem: The base Ghostscript fonts are not installed on 
Fedora, only the
equivalent URW fonts but they have different font names. This is the reason
why the Symbolfont s0l0000.pfb with its corresponding symbolic name 
StandardSymL
is not found.

You can test it:
- start gs and search the font:
------------
[voss at fedora tmp]$ gs
GPL Ghostscript 9.53.3 (2020-10-01)
Copyright (C) 2020 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GS>/StandardSymL findfont
Querying operating system for font files...
Can't find (or can't open) font file 
/usr/share/ghostscript/Resource/Font//usr/share/g.
Can't find (or can't open) font file StandardSymL.
Didn't find this font on the system!
Substituting font Courier for StandardSymL.
Loading NimbusMonoPS-Regular font from 
/usr/share/ghostscript/Resource/Font/NimbusMonoPS-Regular... 4345624 
2933772 6529820 5143487 1 done.
GS<1>
------------

The font isn't found and replaced by the MonoPS font, which is totaly wrong!

- Now download the file https:/hvoss.org/gs-fonts.zip and put the
    gsfonts directory into /usr/share/fonts and run gs again:
------------
voss at fedora tmp]$ gs
GPL Ghostscript 9.53.3 (2020-10-01)
Copyright (C) 2020 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GS>/StandardSymL findfont
Querying operating system for font files...
Can't find (or can't open) font file 
/usr/share/ghostscript/Resource/Font//usr/share/g.
Can't find (or can't open) font file StandardSymL.
Loading StandardSymL font from /usr/share/fonts/gsfonts/s050000l.pfb... 
4312280 2809460 6576124 5193745 1 done.
------------


Tee embedded fonts with the unmodifued (old) pstricks.tex:

bash-3.2$ pdffonts test2.pdf
name                                 type encoding         emb sub uni 
object ID
------------------------------------ ----------------- ---------------- 
--- --- --- ---------
AKFXVW+Helvetica                     Type 1C WinAnsi          yes yes 
yes      8  0
[none]                               Type 3 Custom           yes no  
no      13  0
TNPASX+StandardSymL                  Type 1C Custom           yes yes 
no      10  0
LYKUVW+CMR10                         Type 1C WinAnsi          yes yes 
no      14  0


And the created PDF.

Herbert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto 2021-08-23 um 09.50.26.png
Type: image/png
Size: 19404 bytes
Desc: not available
URL: <https://tug.org/pipermail/pstricks/attachments/20210823/25475ef0/attachment-0001.png>


More information about the PSTricks mailing list.