I'm a little confused. I reverted my patch to /usr/share/ghostscript/9.10/Resource/Init/gs_fonts.ps and then I installed the proposed package, I think.
[code]
% dpkg -l | grep ghost
ii ghostscript 9.10~dfsg-0ubuntu10.1 amd64 interpreter for the PostScript language and for PDF
[/code]
But it still fails.
[code]
adrian> gs out.ps
GPL Ghostscript 9.10 (2013-08-30)
Copyright (C) 2013 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusMonL-Bold font from /usr/share/fonts/type1/gsfonts/n022004l.pfb... 3892772 2351788 3934520 2576164 1 done.
Can't find (or can't open) font file /usr/share/ghostscript/9.10/Resource/Font/DejaVuSansMono.
Can't find (or can't open) font file DejaVuSansMono.
Querying operating system for font files...
Error: /typecheck in /findfont
Operand stack:
fontdict DejaVuSansMono
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1916 1 3 %oparray_pop 1915 1 3 %oparray_pop 1899 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1868 2 3 %oparray_pop
Dictionary stack:
--dict:1171/1684(ro)(G)-- --dict:0/20(G)-- --dict:110/200(L)--
Current allocation mode is local
Current file position is 10735
GPL Ghostscript 9.10: Unrecoverable error, exit code 1
[/code]
When I took a look at gs_fonts.ps it appears that it is still the version I had before that did not work. In other words, it does not appear to have been patched. I reapplied the patch I used before and the patch applied, and then ghostscript started working again. So I'm not sure what's going on.
I'm a little confused. I reverted my patch to /usr/share/ ghostscript/ 9.10/Resource/ Init/gs_ fonts.ps and then I installed the proposed package, I think.
[code] 0ubuntu10. 1 amd64 interpreter for the PostScript language and for PDF
% dpkg -l | grep ghost
ii ghostscript 9.10~dfsg-
[/code]
But it still fails.
[code] fonts/type1/ gsfonts/ n022004l. pfb... 3892772 2351788 3934520 2576164 1 done. ghostscript/ 9.10/Resource/ Font/DejaVuSans Mono. 1171/1684( ro)(G)- - --dict:0/20(G)-- --dict:110/200(L)--
adrian> gs out.ps
GPL Ghostscript 9.10 (2013-08-30)
Copyright (C) 2013 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusMonL-Bold font from /usr/share/
Can't find (or can't open) font file /usr/share/
Can't find (or can't open) font file DejaVuSansMono.
Querying operating system for font files...
Error: /typecheck in /findfont
Operand stack:
fontdict DejaVuSansMono
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1916 1 3 %oparray_pop 1915 1 3 %oparray_pop 1899 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1868 2 3 %oparray_pop
Dictionary stack:
--dict:
Current allocation mode is local
Current file position is 10735
GPL Ghostscript 9.10: Unrecoverable error, exit code 1
[/code]
When I took a look at gs_fonts.ps it appears that it is still the version I had before that did not work. In other words, it does not appear to have been patched. I reapplied the patch I used before and the patch applied, and then ghostscript started working again. So I'm not sure what's going on.