* src/autofit/afhints.c: add stubs to link the "ftgrid" test program when debugging is disabled in the auto-hinter
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
diff --git a/ChangeLog b/ChangeLog
index 18bf6a6..df55c83 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-25 David Turner <david@freetype.org>
+
+ * 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 <david@freetype.org>
* src/autofit/afhints.c, src/autofit/afhints.h, src/autofit/aflatin.c,
diff --git a/src/autofit/afhints.c b/src/autofit/afhints.c
index 7335a00..9a3ea3d 100644
--- 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 */