Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 49a0fab27264a3b32acb1445f58d2289 > files > 1

ghostscript-8.60-55mdv2008.0.src.rpm

--- S:\gs_cvs\gs\lib\pdf_font.ps	2005-10-08 23:57:49.000000000 -0400
+++ pdf_font.ps	2005-12-04 06:55:50.000000000 -0500
@@ -205,7 +205,17 @@
 		% by scaling the Widths if necessary.
       0.001 2 index /FontMatrix get 0 get div
 		% Stack: font font-res mscale
-      1 index /FirstChar oget dup 1 4 index /LastChar oget
+      1 index /FirstChar knownoget not {
+        1 index /FirtsChar knownoget {
+          (   **** Warning: /FirstChar is misspelled as /FirtsChar.\n)
+          pdfformaterror
+        } {
+          0
+          (   **** Warning: /FirstChar is mossingm, assuming 0.\n)
+          pdfformaterror
+        } ifelse
+      } if
+      dup 1 4 index /LastChar oget
        {	% Stack: font font-res mscale first-char index
 	 Encoding 1 index dup 2 index length ge {
            (   **** Warning: Font Encoding array size is smaller than character range.\n)