shithub: freetype+ttf2subf

Download patch

ref: 3ab770b165d118949183c92413207cbc75f1c8e7
parent: 8acb867ef2fbd6319d22621f22b4cffdfff682a1
author: Werner Lemberg <[email protected]>
date: Tue Mar 8 15:24:56 EST 2005

Cosmetic fixes.

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -1812,7 +1812,7 @@
            face->root.internal->incremental_interface->funcs->get_glyph_metrics )
       {
         FT_Incremental_MetricsRec  metrics;
-        FT_Error                   error = 0;
+        FT_Error                   error = TT_Err_Ok;
 
 
         metrics.bearing_x = 0;
@@ -1937,7 +1937,7 @@
     face   = (TT_Face)glyph->face;
     sfnt   = (SFNT_Service)face->sfnt;
     stream = face->root.stream;
-    error  = 0;
+    error  = TT_Err_Ok;
 
     if ( !size || ( load_flags & FT_LOAD_NO_SCALE )   ||
                   ( load_flags & FT_LOAD_NO_RECURSE ) )
@@ -2033,7 +2033,7 @@
 
     /* update the glyph zone bounds */
     {
-      FT_GlyphLoader  gloader = FT_FACE_DRIVER(face)->glyph_loader;
+      FT_GlyphLoader  gloader = FT_FACE_DRIVER( face )->glyph_loader;
 
 
       loader.gloader = gloader;