>>> How about #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 40 meaning
>>> that if the value is set to 40 use new algorithm, otherwise use
>>> Infinality.
>>
>> Very nice idea, thanks! Nikolaus, do you agree?
>
> I'll happily implement that, no problem, but I thought you wanted
> both algorithms switchable at runtime? I guess you can still build
> FT two times and use LD_PRELOAD if you really want to compare.
A misunderstanding. I believe that Alexei meant
#define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 /* infinality */
#define TT_CONFIG_OPTION_SUBPIXEL_HINTING 40 /* new code */
#define TT_CONFIG_OPTION_SUBPIXEL_HINTING 41 /* both */
or something similar.
Werner
_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel