[gs-bugs] [Bug 689956] New: Regression: substituting a TrueType
font for a CIF font is broken
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Wed Jul 9 08:23:38 PDT 2008
http://bugs.ghostscript.com/show_bug.cgi?id=689956
Summary: Regression: substituting a TrueType font for a CIF font
is broken
Product: Ghostscript
Version: HEAD
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P4
Component: Text
AssignedTo: leonardo at artifex.com
ReportedBy: marcos.woehrmann at artifex.com
QAContact: gs-bugs at ghostscript.com
Starting with r8776 it is no longer possible to use a truetype font as a CIF
font as documented in cidfmap.
With the following entries in cidfmap
/Arial << /FileType /TrueType /Path (/home/marcos/artifex/fonts/arial.ttf)
/SubfontID 0 /CSI [(Unicode) 0] >> ;
/CenturyGothic << /FileType /TrueType /Path
(/home/marcos/artifex/fonts/arial.ttf) /SubfontID 0 /CSI [(Unicode) 0] >> ;
Ghostscript r8776 produces the following error:
Loading a TT font from /home/marcos/Desktop/artifex/leadtools/arial.ttf to
emulate a CID font CenturyGothic ... Done.
Error: /invalidfont in --.buildcidfont--
Operand stack:
--nostringval-- --dict:8/17(L)-- C2_0 1 --dict:5/5(L)--
--dict:5/5(L)-- CenturyGothic --dict:11/12(ro)(G)-- --nostringval--
CIDFontObject --dict:7/7(L)-- --dict:7/7(L)-- CenturyGothic CIDFont -1
true CenturyGothic CenturyGothic CenturyGothic --dict:26/26(G)--
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1905 1 3 %oparray_pop 1904
1 3 %oparray_pop 1888 1 3 %oparray_pop --nostringval--
--nostringval-- 3 1 2 --nostringval-- %for_pos_int_continue
--nostringval-- --nostringval-- --nostringval-- --nostringval--
%array_continue --nostringval-- false 1 %stopped_push --nostringval--
%loop_continue --nostringval-- --nostringval-- --nostringval--
--nostringval-- --nostringval-- --nostringval-- %array_continue
--nostringval-- --nostringval-- --nostringval-- --nostringval--
--nostringval-- %loop_continue --nostringval-- --nostringval-- 1856 14
9 %oparray_pop findresource %errorexec_pop --nostringval--
--nostringval-- --nostringval-- --nostringval-- --nostringval-- 1864
19 10 %oparray_pop --nostringval--
Dictionary stack:
--dict:1148/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)--
--dict:75/200(L)-- --dict:106/127(ro)(G)-- --dict:274/300(ro)(G)--
--dict:24/25(L)-- --dict:4/6(L)-- --dict:28/40(L)-- --dict:20/26(ro)(G)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript SVN PRE-RELEASE 8.63: Unrecoverable error, exit code 1
The command line I'm using for testing:
bin/gs -I. -sDEVICE=ppmraw -sOutputFile=test.ppm -dBATCH -dNOPAUSE
./64_384_6_180_5a_682822_361223.pdf
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the gs-bugs
mailing list