2. In `ttinterp.c', please adjust and use the `SUBPIXEL_HINTING'
macro, probably introducing `SUBPIXEL_HINTING_LEAN' and
`SUBPIXEL_HINTING_INFINALITY' where necessary to simplify code
that needs
#if defined TT_CONFIG_OPTION_SUBPIXEL_HINTING || \
defined TT_CONFIG_OPTION_SUBPIXEL_HINTING_LEAN
...
#endif
It's probably a good idea also to add another macro that makes
the above a single #ifdef line instead, e.g.
#ifdef OPTION_SUBPIXEL_HINTING
...
#endif
Uh, you mean the following macros in ttinterp.c?
#define SUBPIXEL_HINTING_INFINALITY
( ((TT_Driver)FT_FACE_DRIVER( exc->face ))->interpreter_version ==
TT_INTERPRETER_VERSION_38 )
#define SUBPIXEL_HINTING_LEAN
( ((TT_Driver)FT_FACE_DRIVER( exc->face ))->interpreter_version ==
TT_INTERPRETER_VERSION_40 )
#define OPTION_SUBPIXEL_HINTING
defined TT_CONFIG_OPTION_SUBPIXEL_HINTING ||
defined TT_CONFIG_OPTION_SUBPIXEL_HINTING_LEAN
I think I need to also modify Infinality code since it may run in v35
mode while in v38 mode. Guh.
_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel