Sophie

Sophie

distrib > Mandriva > cs4.0 > i586 > by-pkgid > e4aa0c73189c34caa6b354e0ae0f091e > files > 2

ghostscript-8.15-46mlcs4.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)