shithub: freetype+ttf2subf

Download patch

ref: 1bd6c47260977043437c7de799c5debe49a27ff3
parent: 81e725f5133557bcfafa1ec55fe6cebb9c559902
author: David Turner <[email protected]>
date: Fri Nov 24 20:30:40 EST 2006

* src/autofit/afhints.c: add stubs to link the "ftgrid" test program
        when debugging is disabled in the auto-hinter

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-25  David Turner    <[email protected]>
+
+        * src/autofit/afhints.c: add stubs to link the "ftgrid" test program
+        when debugging is disabled in the auto-hinter
+
 2006-11-23  David Turner    <[email protected]>
 
 	* src/autofit/afhints.c, src/autofit/afhints.h, src/autofit/aflatin.c,
--- a/src/autofit/afhints.c
+++ b/src/autofit/afhints.c
@@ -264,6 +264,28 @@
     }
   }
 
+#else
+ /* these empty stubs are only used to link the "ftgrid" test program
+  * when debugging is disabled
+  */
+  void
+  af_glyph_hints_dump_points( AF_GlyphHints  hints )
+  {
+    FT_UNUSED(hints);
+  }
+
+  void
+  af_glyph_hints_dump_segments( AF_GlyphHints  hints )
+  {
+    FT_UNUSED(hints);
+  }
+
+  void
+  af_glyph_hints_dump_edges( AF_GlyphHints  hints )
+  {
+    FT_UNUSED(hints);
+  }
+
 #endif /* AF_DEBUG */