[pstricks] psdot (or Ghostscript) bug

Faton Berisha fberisha at uni-pr.edu
Wed Feb 14 02:49:21 CET 2007


Hi,

The following minimal example causes an error in GPL Ghostscript 8.54.

\documentclass{article}
\usepackage{pstricks}

\begin{document}
\begin{pspicture}(4,4)
  \psdot[dotstyle=|](2,0)
\end{pspicture}
\end{document}

To be more precise, the ps file (resulting from dvips) seems to be OK, while
ps2pdf results in a crash.

I googled for any references, and I found an exact match at

http://www.ntg.nl/pipermail/ntg-vtex/2003-April/000184.html

The suggested workaround there is replacing pst-dots.pro.

The bug appeared since I updated my MiKTeX installation. Converting ps to
pdf by using Acrobat Distiller seems to work fine.

Any idea?

Kind regards,
Faton Berisha

P.S. Bellow follows the error message produced by GPL Ghostscript 8.54.

MiKTeX Problem Report
Message: The page could not be rendered.
Data: Error: /invalidfont in findfont
Operand stack:
   --nostringval--   Helvetica   Font   Helvetica   1411872   Helvetica
--nostringval--   Helvetica   NimbusSanL-Regu   Courier   NimbusMonL-Regu
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--
--nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3
%oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push
--nostringval--   --nostringval--   2   6   %oparray_pop   3   6
%oparray_pop   --nostringval--   --nostringval--   --nostringval--
--nostringval--   --nostringval--   false   1   %stopped_push   6   7
%oparray_pop   --nostringval--   --nostringval--   --nostringval--   1   -1
1   --nostringval--   %for_neg_int_continue
Dictionary stack:
   --dict:1132/1686(ro)(G)--   --dict:0/20(G)--   --dict:72/200(L)--
--dict:175/300(L)--   --dict:37/200(L)--   --dict:85/200(L)--
--dict:17/17(ro)(G)--   --dict:1132/1686(ro)(G)--
Current allocation mode is local
Last OS error: No such file or directory
MiKTeX GPL Ghostscript 8.54: Unrecoverable error, exit code 1

Source: DviPage.cpp
Line: 1040
MiKTeX: 2.5
[snip]





More information about the PSTricks mailing list