From 1bd6c47260977043437c7de799c5debe49a27ff3 Mon Sep 17 00:00:00 2001 From: David Turner Date: Sat, 25 Nov 2006 01:30:40 +0000 Subject: [PATCH] * src/autofit/afhints.c: add stubs to link the "ftgrid" test program when debugging is disabled in the auto-hinter --- ChangeLog | 5 +++++ src/autofit/afhints.c | 22 ++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/ChangeLog b/ChangeLog index 18bf6a6c..df55c836 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-11-25 David Turner + + * 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 * 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 7335a007..9a3ea3d4 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 */