[gs-cvs] rev 8176 - tests/ps
alexcher at ghostscript.com
alexcher at ghostscript.com
Sat Aug 4 14:49:05 PDT 2007
Author: alexcher
Date: 2007-08-04 14:49:04 -0700 (Sat, 04 Aug 2007)
New Revision: 8176
Added:
tests/ps/copy-scale-fid.ps
Log:
Add a file that tests a font with a preserved FID that has been both scaled
and copied. Prior to rev. 8175 Ghostscript mis-recognized such fonts as
scaled-only and reported /invalidfont during font validation.
Added: tests/ps/copy-scale-fid.ps
===================================================================
--- tests/ps/copy-scale-fid.ps 2007-08-04 21:42:53 UTC (rev 8175)
+++ tests/ps/copy-scale-fid.ps 2007-08-04 21:49:04 UTC (rev 8176)
@@ -0,0 +1,22 @@
+%!
+% Test a font with a preserved FID that has been both scaled and copied.
+% Prior to rev. 8175 Ghostscript mis-recognized such fonts as scaled-only
+% and reported /invalidfont during font validation.
+%
+% Fixed: 8175
+% Bug: 689390
+% Flags: ps-interpreter
+
+/MyHelv
+ /Helvetica findfont .7 scalefont
+
+ dup length dict begin
+ {def} forall
+ currentdict end
+ definefont
+ pop
+
+/MyHelv 40 selectfont
+100 500 moveto
+(Analysis of Data) show
+showpage
Property changes on: tests/ps/copy-scale-fid.ps
___________________________________________________________________
Name: svn:executable
+ *
More information about the gs-cvs
mailing list