[pstricks] Differences in the output of \psdots TeX Live 2021 (win/linux)

Herbert Voss Herbert.Voss at fu-berlin.de
Sat Aug 21 18:53:31 CEST 2021



Am 21.08.21 um 02:29 schrieb Pablo González via PSTricks:
> Differences in the output of \psdots TeX Live 2021 (win/linux)
>
>
> Hi all, I have a little dilemma with `\psdots` and I don`t know if it
> can be solved from the `pstricks` side. I am using TeX Live 2021 on
> win10 and Linux, when compiling the following file (arara is just here
> to simplify the process):
>
>
> % arara: latex
> % arara: dvips
> % arara: ps2pdf: { options : [ -dALLOWPSTRANSPARENCY ] }
> % arara: clean: { extensions : [ aux, log, dvi ] }
> \documentclass{article}
> \usepackage{pstricks}
> \pagestyle{empty}
> \begin{document}
> \psset{gridfont=helvetica}
> \begin{pspicture}[showgrid](3,3)
> \psdots[linecolor=blue,dotstyle=x](1,1)
> \psdots[dotstyle=oplus](0.5,0.5)
> \psdots[dotstyle=otimes](1.5,1.5)
> \psdots[linecolor=red](2,2)
> \end{pspicture}
> \end{document}
>
>
> The output obtained on win10 is correct, but the output on Linux
> (fedora 43) is not correct and in both cases it compiles without
> errors.

The font path to Ghostscripts font files is not found and I don't know why.
I have the same issue on macOS. But giving the path explicitely works for
me. My gs fontfiles are in "/usr/local/share/ghostscript/fonts"

ps2pdf -sFONTPATH=/usr/local/share/ghostscript/fonts/ 
-dALLOWPSTRANSPARENCY test2.ps

or alternatively:

ps2pdf -sFONTPATH=/usr/local/share/ghostscript/9.55.0/Resource/Font 
-dALLOWPSTRANSPARENCY test2.ps


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



Herbert


-------------- next part --------------
A non-text attachment was scrubbed...
Name: test2.pdf
Type: application/pdf
Size: 6115 bytes
Desc: not available
URL: <https://tug.org/pipermail/pstricks/attachments/20210821/92388fa4/attachment.pdf>


More information about the PSTricks mailing list.