[gs-bugs] [Bug 692241] New: pdf creation fails with Error: /typecheck in --readonly-- with sans font windows 7 SP1
bugzilla-daemon at ghostscript.com
bugzilla-daemon at ghostscript.com
Sat May 28 18:50:32 UTC 2011
http://bugs.ghostscript.com/show_bug.cgi?id=692241
Summary: pdf creation fails with Error: /typecheck in
--readonly-- with sans font windows 7 SP1
Product: Ghostscript
Version: 9.02
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P4
Component: General
AssignedTo: support at artifex.com
ReportedBy: janneke at gnu.org
QAContact: gs-bugs at ghostscript.com
Estimated Hours: 0.0
Created an attachment (id=7545)
--> (http://bugs.ghostscript.com/attachment.cgi?id=7545)
LilyPond input with sans font
Attached are two PostScript files generated by LilyPond from
the lily-sans.ly input file
lily-sans-sp0.ps # generated on Windows 7 32bit without SP
lily-sans-sp1.ps # generated on Windows 7 32bit SP1
we have similar reports from the 64bit platform.
LilyPond uses gs to produce the final PDF using this command
gs -dSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89
-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite
-sOutputFile=./lily-sans-sp1.pdf -c.setpdfwrite -flily-sans-sp1.ps
>From lily-sans-sp0.ps, gs produces a nice pdf, while with lily-sans-sp1.ps,
gs gives this error
$ gswin32c -dNOSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89
-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite
-sOutputFile=./lily-sans-sp1.pdf -c.setpdfwrite -flily-sans-sp1.ps --debug
GPL Ghostscript 9.02 (2011-03-30)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /typecheck in --readonly--
Operand stack:
CharStrings --dict:951/951(L)-- glyph glyph
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1910 1 3 %oparray_pop
1909 1 3 %oparray_pop 1893 1 3 %oparray_pop 1787 1 3
%oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval--
--nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:1162/1684(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)--
--dict:8/11(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 536023
GPL Ghostscript 9.02: Unrecoverable error, exit code 1
Similar, running this on Ubuntu Natty with stock gs-9.01
gs -dSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89
-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite
-sOutputFile=./1.pdf -c.setpdfwrite -flily-sans-sp1.ps
GPL Ghostscript 9.01 (2011-02-07)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /typecheck in --readonly--
Operand stack:
CharStrings --dict:951/951(L)-- glyph glyph
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1910 1 3 %oparray_pop
1909 1 3 %oparray_pop 1893 1 3 %oparray_pop 1787 1 3
%oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval--
--nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:1160/1684(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)--
--dict:8/11(L)--
Current allocation mode is local
Current file position is 536023
GPL Ghostscript 9.01: Unrecoverable error, exit code 1
--
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the gs-bugs
mailing list