]> granicus.if.org Git - imagemagick/blobdiff - coders/ttf.c
(no commit message)
[imagemagick] / coders / ttf.c
index 549795efe9da962ae993de9ab29d59e0d6528907..c3f880375aaeef28c5686c352700027cfbcbfc4c 100644 (file)
@@ -17,7 +17,7 @@
 %                                 July 1992                                   %
 %                                                                             %
 %                                                                             %
-%  Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization      %
+%  Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization      %
 %  dedicated to making software imaging solutions freely available.           %
 %                                                                             %
 %  You may not use this file except in compliance with the License.  You may  %
@@ -97,7 +97,7 @@ static MagickBooleanType IsPFA(const unsigned char *magick,const size_t length)
 {
   if (length < 14)
     return(MagickFalse);
-  if (LocaleNCompare((char *) magick,"%!PS-AdobeFont-1.0",14) == 0)
+  if (LocaleNCompare((char *) magick,"%!PS-AdobeFont",14) == 0)
     return(MagickTrue);
   return(MagickFalse);
 }
@@ -187,9 +187,6 @@ static Image *ReadTTFImage(const ImageInfo *image_info,ExceptionInfo *exception)
   Image
     *image;
 
-  ssize_t
-    y;
-
   MagickBooleanType
     status;
 
@@ -203,6 +200,9 @@ static Image *ReadTTFImage(const ImageInfo *image_info,ExceptionInfo *exception)
   register PixelPacket
     *q;
 
+  ssize_t
+    y;
+
   /*
     Open image file.
   */