diff options
Diffstat (limited to 'src/pshinter/pshalgo.h')
-rw-r--r-- | src/pshinter/pshalgo.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/pshinter/pshalgo.h b/src/pshinter/pshalgo.h new file mode 100644 index 000000000..641931124 --- /dev/null +++ b/src/pshinter/pshalgo.h @@ -0,0 +1,19 @@ +#ifndef __PS_HINTER_ALGO_H__ +#define __PS_HINTER_ALGO_H__ + +FT_BEGIN_HEADER + +/* define to choose hinting algorithm */ +#define PSH_ALGORITHM_2 + +#ifdef PSH_ALGORITHM_1 +# include "pshalgo1.h" +# define PS_HINTS_APPLY_FUNC ps1_hints_apply +#else +# include "pshalgo2.h" +# define PS_HINTS_APPLY_FUNC ps2_hints_apply +#endif + +FT_END_HEADER + +#endif /* __PS_HINTER_ALGO_H__ */ |