Given a single page pdf document test.pdf, the following command
pstoedit -f plot-svg test.pdf test.svg -dt -ssp -psarg -r9600x9600 -pta
fails with ghostscript 9.27 on both, Windows 8.1 and 10 1809 64-bit.
The output is
pstoedit: version 3.73 / DLL interface 108 (built: Jun 3 2018 - release build -
MS VC++ 1912 - 64-bit) : Copyright (C) 1993 - 2018 Wolfgang Glunz
Error: /undefined in .makeoperator
Operand stack:
false rectfill rectfill --nostringval--
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-
Additionally passing the option -ndb results in a 0 Byte svg document.
Additionally passing the option -rdb results in the same error.
As one of the developers of the Inkscape plugin TexText (https://textext.github.io/textext/) we make heavy use of pstoedit so any help is highly appreciated. It worked well with all previous versions of pstoedit and ghostscript except with ghostscript 9.22 with the well known DELAYBIND-issue (fixed by http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=fa499a5809aab45b2891b5c8b2363d1bca890757)
Thank you very much!
Wolfgang
Von: "jcwinkler" <jcwinkler@users.sourceforge.net>
An: "Ticket #25: PDF -> SVG fails on ghostscript 9.27" <25@bugs.pstoedit.p.re.sourceforge.net>
Betreff: [pstoedit:bugs] #25 PDF -> SVG fails on ghostscript 9.27
---
** [bugs:#25] PDF -> SVG fails on ghostscript 9.27**
**Status:** open
**Group:** v1.0_(example)
**Created:** Tue May 07, 2019 08:08 AM UTC by jcwinkler
**Last Updated:** Tue May 07, 2019 08:08 AM UTC
**Owner:** nobody
Given a single page pdf document test.pdf, the following command
pstoedit -f plot-svg test.pdf test.svg -dt -ssp -psarg -r9600x9600 -pta
fails with ghostscript 9.27 on both, Windows 8.1 and 10 1809 64-bit.
The output is
pstoedit: version 3.73 / DLL interface 108 (built: Jun 3 2018 - release build -
MS VC++ 1912 - 64-bit) : Copyright (C) 1993 - 2018 Wolfgang Glunz
Error: /undefined in .makeoperator
Operand stack:
false rectfill rectfill --nostringval--
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-
- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa
lse 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-- --nostringval-- --nostringv
al-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1033/1123(G)-- --dict:0/20(G)-- --dict:216/300(L)-- --dict:1033/
1123(G)--
Current allocation mode is global
Current file position is 15547
GPL Ghostscript 9.27: Unrecoverable error, exit code 1
PostScript/PDF Interpreter finished. Return status 1 executed command : C:\Progr
am Files\gs\gs9.27\bin\gsdll64.dll -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY
-dNOEPS -r9600x9600 C:/Users/winkler/AppData/Local/Temp/psin2
The interpreter seems to have failed, cannot proceed !
Additionally passing the option -ndb results in a 0 Byte svg document.
Additionally passing the option -rdb results in the same error.
As one of the developers of the Inkscape plugin TexText (https://textext.github.io/textext/) we make heavy use of pstoedit so any help is highly appreciated. It worked well with all previous versions of pstoedit and ghostscript except with ghostscript 9.22 with the well known DELAYBIND-issue (fixed by http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=fa499a5809aab45b2891b5c8b2363d1bca890757)
Thank you very much!
---
Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/pstoedit/bugs/25/>
To unsubscribe from further messages, please visit <https://sourceforge.net/auth/subscriptions/>
Are there any news w.r.t. this topic? Or anywhere to follow/ contribute? Thanks!
Von: "jcwinkler" <jcwinkler@users.sourceforge.net>
An: "[pstoedit:bugs] " <25@bugs.pstoedit.p.re.sourceforge.net>
Betreff: [pstoedit:bugs] #25 PDF -> SVG fails on ghostscript 9.27
---
** [bugs:#25] PDF -> SVG fails on ghostscript 9.27**
**Status:** open
**Group:** v1.0_(example)
**Created:** Tue May 07, 2019 08:08 AM UTC by jcwinkler
**Last Updated:** Tue May 07, 2019 08:08 AM UTC
**Owner:** nobody
Given a single page pdf document test.pdf, the following command
pstoedit -f plot-svg test.pdf test.svg -dt -ssp -psarg -r9600x9600 -pta
fails with ghostscript 9.27 on both, Windows 8.1 and 10 1809 64-bit.
The output is
pstoedit: version 3.73 / DLL interface 108 (built: Jun 3 2018 - release build -
MS VC++ 1912 - 64-bit) : Copyright (C) 1993 - 2018 Wolfgang Glunz
Error: /undefined in .makeoperator
Operand stack:
false rectfill rectfill --nostringval--
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-
- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa
lse 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-- --nostringval-- --nostringv
al-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1033/1123(G)-- --dict:0/20(G)-- --dict:216/300(L)-- --dict:1033/
1123(G)--
Current allocation mode is global
Current file position is 15547
GPL Ghostscript 9.27: Unrecoverable error, exit code 1
PostScript/PDF Interpreter finished. Return status 1 executed command : C:\Progr
am Files\gs\gs9.27\bin\gsdll64.dll -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY
-dNOEPS -r9600x9600 C:/Users/winkler/AppData/Local/Temp/psin2
The interpreter seems to have failed, cannot proceed !
Additionally passing the option -ndb results in a 0 Byte svg document.
Additionally passing the option -rdb results in the same error.
As one of the developers of the Inkscape plugin TexText (https://textext.github.io/textext/) we make heavy use of pstoedit so any help is highly appreciated. It worked well with all previous versions of pstoedit and ghostscript except with ghostscript 9.22 with the well known DELAYBIND-issue (fixed by http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=fa499a5809aab45b2891b5c8b2363d1bca890757)
Thank you very much!
---
Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/pstoedit/bugs/25/>
To unsubscribe from further messages, please visit <https://sourceforge.net/auth/subscriptions/>
should be solved in pstoedit 3.74
Thank you very much, Wolfgang!
Unfortunately, now the produced svg-code does not show what is to be expected when rendered, please see the attached png and the corresponding pdf/svg-files.
Code for generation:
Do you have any idea? Is it possible to fix this?
Regards
Jan
Von: "jcwinkler" <jcwinkler@users.sourceforge.net>
An: "[pstoedit:bugs] " <25@bugs.pstoedit.p.re.sourceforge.net>
Betreff: [pstoedit:bugs] #25 PDF -> SVG fails on ghostscript 9.27
Unfortunately, now the produced svg-code does not show what is to be expected when rendered, please see the attached png and the corresponding pdf/svg-files.
Code for generation:
~~~
pstoedit -f plot-svg test.pdf test.svg -dt -ssp -psarg -r9600x9600 -pta
~~~
Do you have any idea? Is it possible to fix this?
Regards
Jan
Attachments:
- [pstoedit374-svgproblem.png](https://sourceforge.net/p/pstoedit/bugs/_discuss/thread/63a90ef541/c5fe/attachment/pstoedit374-svgproblem.png) (13.3 kB; image/png)
- [tmp.pdf](https://sourceforge.net/p/pstoedit/bugs/_discuss/thread/63a90ef541/c5fe/attachment/tmp.pdf) (43.4 kB; application/pdf)
- [tmp_gs926_pstoedit373.svg](https://sourceforge.net/p/pstoedit/bugs/_discuss/thread/63a90ef541/c5fe/attachment/tmp_gs926_pstoedit373.svg) (17.4 kB; image/svg+xml)
- [tmp_gs927_pstoedit374.svg](https://sourceforge.net/p/pstoedit/bugs/_discuss/thread/63a90ef541/c5fe/attachment/tmp_gs927_pstoedit374.svg) (17.4 kB; image/svg+xml)
---
** [bugs:#25] PDF -> SVG fails on ghostscript 9.27**
**Status:** closed
**Group:** v1.0_(example)
**Labels:** 3.74
**Created:** Tue May 07, 2019 08:08 AM UTC by jcwinkler
**Last Updated:** Sun Jun 02, 2019 06:18 PM UTC
**Owner:** Wolfgang Glunz
Given a single page pdf document test.pdf, the following command
pstoedit -f plot-svg test.pdf test.svg -dt -ssp -psarg -r9600x9600 -pta
fails with ghostscript 9.27 on both, Windows 8.1 and 10 1809 64-bit.
The output is
pstoedit: version 3.73 / DLL interface 108 (built: Jun 3 2018 - release build -
MS VC++ 1912 - 64-bit) : Copyright (C) 1993 - 2018 Wolfgang Glunz
Error: /undefined in .makeoperator
Operand stack:
false rectfill rectfill --nostringval--
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-
- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa
lse 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-- --nostringval-- --nostringv
al-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1033/1123(G)-- --dict:0/20(G)-- --dict:216/300(L)-- --dict:1033/
1123(G)--
Current allocation mode is global
Current file position is 15547
GPL Ghostscript 9.27: Unrecoverable error, exit code 1
PostScript/PDF Interpreter finished. Return status 1 executed command : C:\Progr
am Files\gs\gs9.27\bin\gsdll64.dll -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY
-dNOEPS -r9600x9600 C:/Users/winkler/AppData/Local/Temp/psin2
The interpreter seems to have failed, cannot proceed !
Additionally passing the option -ndb results in a 0 Byte svg document.
Additionally passing the option -rdb results in the same error.
As one of the developers of the Inkscape plugin TexText (https://textext.github.io/textext/) we make heavy use of pstoedit so any help is highly appreciated. It worked well with all previous versions of pstoedit and ghostscript except with ghostscript 9.22 with the well known DELAYBIND-issue (fixed by http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=fa499a5809aab45b2891b5c8b2363d1bca890757)
Thank you very much!
---
Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/pstoedit/bugs/25/>
To unsubscribe from further messages, please visit <https://sourceforge.net/auth/subscriptions/>
Von: "jcwinkler" <jcwinkler@users.sourceforge.net>
An: "[pstoedit:bugs] " <25@bugs.pstoedit.p.re.sourceforge.net>
Betreff: [pstoedit:bugs] #25 PDF -> SVG fails on ghostscript 9.27
Unfortunately, now the produced svg-code does not show what is to be expected when rendered, please see the attached png and the corresponding pdf/svg-files.
Code for generation:
~~~
pstoedit -f plot-svg test.pdf test.svg -dt -ssp -psarg -r9600x9600 -pta
~~~
Do you have any idea? Is it possible to fix this?
Regards
Jan
Attachments:
- [pstoedit374-svgproblem.png](https://sourceforge.net/p/pstoedit/bugs/_discuss/thread/63a90ef541/c5fe/attachment/pstoedit374-svgproblem.png) (13.3 kB; image/png)
- [tmp.pdf](https://sourceforge.net/p/pstoedit/bugs/_discuss/thread/63a90ef541/c5fe/attachment/tmp.pdf) (43.4 kB; application/pdf)
- [tmp_gs926_pstoedit373.svg](https://sourceforge.net/p/pstoedit/bugs/_discuss/thread/63a90ef541/c5fe/attachment/tmp_gs926_pstoedit373.svg) (17.4 kB; image/svg+xml)
- [tmp_gs927_pstoedit374.svg](https://sourceforge.net/p/pstoedit/bugs/_discuss/thread/63a90ef541/c5fe/attachment/tmp_gs927_pstoedit374.svg) (17.4 kB; image/svg+xml)
---
** [bugs:#25] PDF -> SVG fails on ghostscript 9.27**
**Status:** closed
**Group:** v1.0_(example)
**Labels:** 3.74
**Created:** Tue May 07, 2019 08:08 AM UTC by jcwinkler
**Last Updated:** Sun Jun 02, 2019 06:18 PM UTC
**Owner:** Wolfgang Glunz
Given a single page pdf document test.pdf, the following command
pstoedit -f plot-svg test.pdf test.svg -dt -ssp -psarg -r9600x9600 -pta
fails with ghostscript 9.27 on both, Windows 8.1 and 10 1809 64-bit.
The output is
pstoedit: version 3.73 / DLL interface 108 (built: Jun 3 2018 - release build -
MS VC++ 1912 - 64-bit) : Copyright (C) 1993 - 2018 Wolfgang Glunz
Error: /undefined in .makeoperator
Operand stack:
false rectfill rectfill --nostringval--
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-
- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa
lse 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-- --nostringval-- --nostringv
al-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1033/1123(G)-- --dict:0/20(G)-- --dict:216/300(L)-- --dict:1033/
1123(G)--
Current allocation mode is global
Current file position is 15547
GPL Ghostscript 9.27: Unrecoverable error, exit code 1
PostScript/PDF Interpreter finished. Return status 1 executed command : C:\Progr
am Files\gs\gs9.27\bin\gsdll64.dll -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY
-dNOEPS -r9600x9600 C:/Users/winkler/AppData/Local/Temp/psin2
The interpreter seems to have failed, cannot proceed !
Additionally passing the option -ndb results in a 0 Byte svg document.
Additionally passing the option -rdb results in the same error.
As one of the developers of the Inkscape plugin TexText (https://textext.github.io/textext/) we make heavy use of pstoedit so any help is highly appreciated. It worked well with all previous versions of pstoedit and ghostscript except with ghostscript 9.22 with the well known DELAYBIND-issue (fixed by http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=fa499a5809aab45b2891b5c8b2363d1bca890757)
Thank you very much!
---
Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/pstoedit/bugs/25/>
To unsubscribe from further messages, please visit <https://sourceforge.net/auth/subscriptions/>
Hi Wolfgang,
I confirm that removing the -psarg -r9600x9600 option solves the problem. The rendered svg now looks as expected and I updated the source code of the Inkscape extension using pstoedit.
Thank you very much!
Last edit: jcwinkler 2019-06-12