Menu

#4 pstoedit 3.74 throws /findfont error with Ghostscript 9.26

v1.0_(example)
closed
None
1
2020-01-08
2019-08-08
No

There still seems to be an incompatibility between pstoedit 3.74 and ghostscript 9.26 (error on Fedora FC29 and FC30:

pstoedit -f xfig temp.eps temp.fig
pstoedit: version 3.74 / DLL interface 108 (built: Jul 30 2019 - release build - g++ 9.1.1 20190503 (Red Hat 9.1.1-1) - 64-bit) : Copyright (C) 1993 - 2019 Wolfgang Glunz
Error: /undefined in /findfont
Operand stack:
Courier-Bold
Execution stack:
%interp_exit .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- .findfontop .findfontop false 1 %stopped_push 2045 1 3 %oparray_pop 2044 1 3 %oparray_pop 2024 1 3 %oparray_pop 1884 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- 2045 1 3 %oparray_pop 2044 1 3 %oparray_pop 2024 1 3 %oparray_pop 1884 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- .findfontop 1975 1 3 %oparray_pop
Dictionary stack:
--dict:970/1684(ro)(G)-- --dict:0/20(G)-- --dict:371/450(L)--
Current allocation mode is local
Current file position is 7406
GPL Ghostscript 9.26: Unrecoverable error, exit code 1
PostScript/PDF Interpreter finished. Return status 256 executed command : gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS "/tmp/psinGxE3m8"

Philip

Related

Support Requests: #4

Discussion

  • Wolfgang Glunz

    Wolfgang Glunz - 2019-08-15

    Hi Philip,

    That looks strange, but not related to the earlier issues with incompatibilities.
    Can you please run pstoedit with the -v option to get a bit more details.
    At first - it looks like a problem with installation of fonts for ghostscript.

    BR
    Wolfgang

     
    • Philip Smith

      Philip Smith - 2019-08-15

      Hi Wolfgang,

      Thanks for your quick response. My surmise was that it was most likely to be a ghostscript problem and I've logged a bug with Fedora Bugzilla. I've seen some comments on forums suggesting that there may be something broken with its font-handling. Output with -v option below.

      Best,

      Philip


      pstoedit -v -f xfig temp.eps temp.fig
      pstoedit: version 3.74 / DLL interface 108 (built: Jul 30 2019 - release build - g++ 9.1.1 20190503 (Red Hat 9.1.1-1) - 64-bit) : Copyright (C) 1993 - 2019 Wolfgang Glunz
      loading plugins from /usr/local/lib/pstoedit using suffix: .so
      loading plugin: /usr/local/lib/pstoedit/libp2edrvstd.so
      creating Dynloader for /usr/local/lib/pstoedit/libp2edrvstd.so
      loading dynamic library /usr/local/lib/pstoedit/libp2edrvstd.so completed successfully
      path to myself: /usr/local/bin/pstoedit
      pstoedit home directory : /usr/local/bin
      pstoedit data directory : /usr/local/share/pstoedit
      loading system specific fontmap from /usr/local/share/pstoedit/windows.fmp

      Looking up where to find the PostScript interpreter.
      GS not set, trying registry for common/gstocall
      nothing found so far, trying default: gs
      Value found is:gs

      Looking up specific options for the PostScript interpreter.
      First trying registry for common/GS_LIB
      still not found an entry - now trying GS_LIB env var.
      GS_LIB not set
      Value returned:

      now calling the interpreter via: gs -dDELAYBIND -dWRITESYSTEMDICT -dESTACKPRINT -dNODISPLAY -dNOEPS "/tmp/psin5yBU4z"
      GPL Ghostscript 9.26 (2018-11-20)
      Copyright (C) 2018 Artifex Software, Inc. All rights reserved.
      This software comes with NO WARRANTY: see the file PUBLIC for details.
      Loading NimbusMonoPS-Bold font from /usr/share/ghostscript/Resource/Font/NimbusMonoPS-Bold... 12201844 6434225 3326608 2015582 1 done.
      Can't find font with non-string name: --nostringval--.
      Can't find (or can't open) font file /usr/share/ghostscript/Resource/Font/--nostringval--.
      Can't find font with non-string name: --nostringval--.
      Querying operating system for font files...
      Error: /undefined in /findfont
      Operand stack:
      Courier-Bold
      Execution stack:
      --%interp_exit--
      .runexec2
      -file-
      --.findfontop--
      null
      2
      --%stopped_push--
      -file-
      --.findfontop--
      --.findfontop--
      false
      1
      --%stopped_push--
      2045
      1
      3
      --%oparray_pop--
      2044
      1
      3
      --%oparray_pop--
      2024
      1
      3
      --%oparray_pop--
      1884
      1
      3
      --%oparray_pop--
      null
      --%errorexec_pop--
      .runexec2
      -file-
      --.findfontop--
      null
      2
      --%stopped_push--
      -file-
      2045
      1
      3
      --%oparray_pop--
      2044
      1
      3
      --%oparray_pop--
      2024
      1
      3
      --%oparray_pop--
      1884
      1
      3
      --%oparray_pop--
      null
      --%errorexec_pop--
      .runexec2
      -file-
      --.findfontop--
      null
      2
      --%stopped_push--
      -file-
      --.findfontop--
      1975
      1
      3
      --%oparray_pop--
      Dictionary stack:
      --dict:970/1684(ro)(G)-- --dict:0/20(G)-- --dict:371/450(L)--
      Current allocation mode is local
      Current file position is 7406
      GPL Ghostscript 9.26: Unrecoverable error, exit code 1
      PostScript/PDF Interpreter finished. Return status 256 executed command : gs -dDELAYBIND -dWRITESYSTEMDICT -dESTACKPRINT -dNODISPLAY -dNOEPS "/tmp/psin5yBU4z"
      The interpreter seems to have failed, cannot proceed !
      closing dynamic library /usr/local/lib/pstoedit/libp2edrvstd.so
      not really closing dynamic library because of pthread problem under Linux - contact author for details or check dynload.cpp from pstoedit source code /usr/local/lib/pstoedit/libp2edrvstd.so
      destroying Dynloader for /usr/local/lib/pstoedit/libp2edrvstd.so

      On 8/15/19 6:55 PM, Wolfgang Glunz wrote:

      Hi Philip,

      That looks strange, but not related to the earlier issues with incompatibilities.
      Can you please run pstoedit with the -v option to get a bit more details.
      At first - it looks like a problem with installation of fonts for ghostscript.

      BR
      Wolfgang


      [support-requests:#4]https://sourceforge.net/p/pstoedit/support-requests/4/ pstoedit 3.74 throws /findfont error with Ghostscript 9.26

      Status: open
      Group: v1.0_(example)
      Created: Thu Aug 08, 2019 10:00 AM UTC by Philip Smith
      Last Updated: Thu Aug 08, 2019 10:00 AM UTC
      Owner: Wolfgang Glunz

      There still seems to be an incompatibility between pstoedit 3.74 and ghostscript 9.26 (error on Fedora FC29 and FC30:

      pstoedit -f xfig temp.eps temp.fig
      pstoedit: version 3.74 / DLL interface 108 (built: Jul 30 2019 - release build - g++ 9.1.1 20190503 (Red Hat 9.1.1-1) - 64-bit) : Copyright (C) 1993 - 2019 Wolfgang Glunz
      Error: /undefined in /findfont
      Operand stack:
      Courier-Bold
      Execution stack:
      %interp_exit .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- .findfontop .findfontop false 1 %stopped_push 2045 1 3 %oparray_pop 2044 1 3 %oparray_pop 2024 1 3 %oparray_pop 1884 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- 2045 1 3 %oparray_pop 2044 1 3 %oparray_pop 2024 1 3 %oparray_pop 1884 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- .findfontop 1975 1 3 %oparray_pop
      Dictionary stack:
      --dict:970/1684(ro)(G)-- --dict:0/20(G)-- --dict:371/450(L)--
      Current allocation mode is local
      Current file position is 7406
      GPL Ghostscript 9.26: Unrecoverable error, exit code 1
      PostScript/PDF Interpreter finished. Return status 256 executed command : gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS "/tmp/psinGxE3m8"

      Philip


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pstoedit/support-requests/4/https://sourceforge.net/p/pstoedit/support-requests/4/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/https://sourceforge.net/auth/subscriptions/

       

      Related

      Support Requests: #4

    • Philip Smith

      Philip Smith - 2019-10-26

      Dear Wolfgang,

      Has there been any movement towards a resolution of the pstoedit-ghostscript incompatibility issue? There seem to have been a few other issues that have surfaced in relation to the recent releases of ghostscript, but I think they regard them as an upstream developer's responsibility.

      Best wishes,

      Philip

      On 8/15/19 6:55 PM, Wolfgang Glunz wrote:

      Hi Philip,

      That looks strange, but not related to the earlier issues with incompatibilities.
      Can you please run pstoedit with the -v option to get a bit more details.
      At first - it looks like a problem with installation of fonts for ghostscript.

      BR
      Wolfgang


      [support-requests:#4]https://sourceforge.net/p/pstoedit/support-requests/4/ pstoedit 3.74 throws /findfont error with Ghostscript 9.26

      Status: open
      Group: v1.0_(example)
      Created: Thu Aug 08, 2019 10:00 AM UTC by Philip Smith
      Last Updated: Thu Aug 08, 2019 10:00 AM UTC
      Owner: Wolfgang Glunz

      There still seems to be an incompatibility between pstoedit 3.74 and ghostscript 9.26 (error on Fedora FC29 and FC30:

      pstoedit -f xfig temp.eps temp.fig
      pstoedit: version 3.74 / DLL interface 108 (built: Jul 30 2019 - release build - g++ 9.1.1 20190503 (Red Hat 9.1.1-1) - 64-bit) : Copyright (C) 1993 - 2019 Wolfgang Glunz
      Error: /undefined in /findfont
      Operand stack:
      Courier-Bold
      Execution stack:
      %interp_exit .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- .findfontop .findfontop false 1 %stopped_push 2045 1 3 %oparray_pop 2044 1 3 %oparray_pop 2024 1 3 %oparray_pop 1884 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- 2045 1 3 %oparray_pop 2044 1 3 %oparray_pop 2024 1 3 %oparray_pop 1884 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- .findfontop 1975 1 3 %oparray_pop
      Dictionary stack:
      --dict:970/1684(ro)(G)-- --dict:0/20(G)-- --dict:371/450(L)--
      Current allocation mode is local
      Current file position is 7406
      GPL Ghostscript 9.26: Unrecoverable error, exit code 1
      PostScript/PDF Interpreter finished. Return status 256 executed command : gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS "/tmp/psinGxE3m8"

      Philip


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pstoedit/support-requests/4/https://sourceforge.net/p/pstoedit/support-requests/4/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/https://sourceforge.net/auth/subscriptions/

       

      Related

      Support Requests: #4

  • Wolfgang Glunz

    Wolfgang Glunz - 2019-10-26

    Hi Philip,

    for the problems related to gs9.50, please use "-psarg -dNOSAFER" as a temporary work-around,

    Wolfgang

     
    • Philip Smith

      Philip Smith - 2019-10-27

      Dear Wolfgang,

      Thank you for prompt reply. However, assuming I've understood your response correctly, I still get the "findfont" error (below). It must be very annoying to have a mature and stable package and for someone downstream to then go and break something!

      Best wishes,

      Philip


      pstoedit -psarg -dNOSAFER -f xfig temp.eps temp2.fig
      pstoedit: version 3.74 / DLL interface 108 (built: Jul 30 2019 - release build - g++ 9.1.1 20190503 (Red Hat 9.1.1-1) - 64-bit) : Copyright (C) 1993 - 2019 Wolfgang Glunz
      Error: /undefined in /findfont
      Operand stack:
      Courier-Bold
      Execution stack:
      %interp_exit .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- .findfontop .findfontop false 1 %stopped_push 1991 1 3 %oparray_pop 1990 1 3 %oparray_pop 1978 1 3 %oparray_pop 1833 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- 1991 1 3 %oparray_pop 1990 1 3 %oparray_pop 1978 1 3 %oparray_pop 1833 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- .findfontop 1926 1 3 %oparray_pop
      Dictionary stack:
      --dict:734/1123(ro)(G)-- --dict:0/20(G)-- --dict:369/450(L)--
      Current allocation mode is local
      Current file position is 7406
      GPL Ghostscript 9.27: Unrecoverable error, exit code 1
      PostScript/PDF Interpreter finished. Return status 256 executed command : gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS -dNOSAFER "/tmp/psinjIeuTw"
      The interpreter seems to have failed, cannot proceed !

      Philip,

      for the problems related to gs9.50, please use "-psarg -dNOSAFER" as a temporary work-around,

      Wolfgang


      [support-requests:#4]https://sourceforge.net/p/pstoedit/support-requests/4/ pstoedit 3.74 throws /findfont error with Ghostscript 9.26

      Status: open
      Group: v1.0_(example)
      Created: Thu Aug 08, 2019 10:00 AM UTC by Philip Smith
      Last Updated: Thu Aug 15, 2019 08:55 AM UTC
      Owner: Wolfgang Glunz

      There still seems to be an incompatibility between pstoedit 3.74 and ghostscript 9.26 (error on Fedora FC29 and FC30:

      pstoedit -f xfig temp.eps temp.fig
      pstoedit: version 3.74 / DLL interface 108 (built: Jul 30 2019 - release build - g++ 9.1.1 20190503 (Red Hat 9.1.1-1) - 64-bit) : Copyright (C) 1993 - 2019 Wolfgang Glunz
      Error: /undefined in /findfont
      Operand stack:
      Courier-Bold
      Execution stack:
      %interp_exit .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- .findfontop .findfontop false 1 %stopped_push 2045 1 3 %oparray_pop 2044 1 3 %oparray_pop 2024 1 3 %oparray_pop 1884 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- 2045 1 3 %oparray_pop 2044 1 3 %oparray_pop 2024 1 3 %oparray_pop 1884 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- .findfontop 1975 1 3 %oparray_pop
      Dictionary stack:
      --dict:970/1684(ro)(G)-- --dict:0/20(G)-- --dict:371/450(L)--
      Current allocation mode is local
      Current file position is 7406
      GPL Ghostscript 9.26: Unrecoverable error, exit code 1
      PostScript/PDF Interpreter finished. Return status 256 executed command : gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS "/tmp/psinGxE3m8"

      Philip


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pstoedit/support-requests/4/https://sourceforge.net/p/pstoedit/support-requests/4/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/https://sourceforge.net/auth/subscriptions/

       

      Related

      Support Requests: #4

  • Wolfgang Glunz

    Wolfgang Glunz - 2020-01-08

    The original problem with gs 9.26 is a problem of ghostscript itself, not of pstoedit. You can easily reproduce the issue by the following steps
    echo "/Helvetica findfont setfont" > test.ps
    gsnd -DDELAYBIND test.ps

    The problem is solved with gs 9.50 and the recent pstoedit (3.75) should be compatible with that as well.

    Best Regards
    Wolfgang

     
  • Wolfgang Glunz

    Wolfgang Glunz - 2020-01-08
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB