[pstricks] Differences in the output of \psdots TeX Live 2021 (win/linux)
Pablo González
pablgonz at yahoo.com
Sat Aug 21 02:29:48 CEST 2021
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.
# pdffonts in win10
name type encoding emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
UDMTQJ+helvetica Type 1C WinAnsi yes yes yes 8 0
DXLJWO+StandardSymL Type 1C Custom yes yes no 10 0
[none] Type 3 Custom yes no no 13 0
# pdffonts in Linux
name type encoding emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
XKTMUN+helvetica Type 1C WinAnsi yes yes no 8 0
[none] Type 3 Custom yes no no 13 0
BQTFMY+StandardSymL Type 1C Custom yes yes no 10 0
I did some queries in TeXSX and they suggested using the following line
in the `.ps` file:
$ gs -dALLOWPSTRANSPARENCY test-dots-tmp.ps
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.
Querying operating system for font files...
Can't find (or can't open) font file /usr/share/ghostscript/Resource/Font//usr/shar.
Can't find (or can't open) font file helvetica.
Didn't find this font on the system!
Substituting font Courier for helvetica.
Loading NimbusMonoPS-Regular font from /usr/share/ghostscript/Resource/Font/NimbusMonoPS-Regular... 4854400 3523102 18851324 9324291 3 done.
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.
%%BoundingBox: 142 574 238 671
%%HiResBoundingBox: 142.055996 574.019982 237.725993 670.463980
>>showpage, press <return> to continue<<
So it seems to be a problem with the fonts and font maps used by `gs`
in TeX Live windows that are not directly available on linux.
Any way out of the way to correctly compile the file on Linux?
Attached are the images and the `.ps` file generated in both systems.
Saludos
Pablo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dots-linux-1.png
Type: image/png
Size: 5494 bytes
Desc: not available
URL: <https://tug.org/pipermail/pstricks/attachments/20210821/09882552/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-dots-linux.ps
Type: application/postscript
Size: 104650 bytes
Desc: not available
URL: <https://tug.org/pipermail/pstricks/attachments/20210821/09882552/attachment-0002.ps>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dots-win10-1.png
Type: image/png
Size: 5846 bytes
Desc: not available
URL: <https://tug.org/pipermail/pstricks/attachments/20210821/09882552/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-dots-win.ps
Type: application/postscript
Size: 104674 bytes
Desc: not available
URL: <https://tug.org/pipermail/pstricks/attachments/20210821/09882552/attachment-0003.ps>
More information about the PSTricks
mailing list.