summaryrefslogtreecommitdiff
path: root/gs/src/gxhint2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gs/src/gxhint2.c')
-rw-r--r--gs/src/gxhint2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gs/src/gxhint2.c b/gs/src/gxhint2.c
index bdfc00778..c50c4b4f0 100644
--- a/gs/src/gxhint2.c
+++ b/gs/src/gxhint2.c
@@ -26,6 +26,8 @@
#include "gxfont1.h"
#include "gxtype1.h"
+#ifdef KEEP_OLD_HINTER
+
/* Define the tolerance for testing whether a point is in a zone, */
/* in device pixels. (Maybe this should be variable?) */
#define STEM_TOLERANCE float2fixed(0.05)
@@ -36,6 +38,7 @@ private stem_hint *type1_stem(const gs_type1_state *, stem_hint_table *, fixed,
private fixed find_snap(fixed, const stem_snap_table *, const pixel_scale *);
private alignment_zone *find_zone(gs_type1_state *, fixed, fixed);
+
/* Reset the stem hints. */
void
reset_stem_hints(gs_type1_state * pcis)
@@ -410,3 +413,5 @@ find_zone(gs_type1_state * pcis, fixed vbot, fixed vtop)
}
return 0;
}
+
+#endif