Element for whether FreeType's patented bytecode-interpretter is available
Submitted by Behdad Esfahbod
Assigned to fon..@..op.org
Description
And use it in FcDefaultSubstitute, such that user can choose hinting/subpixel settings based on whether BCI is available.
This can be checked using:
#include <ft2build.h> #include FT_CONFIG_OPTION_H
int has_bci = #ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER 1 #else 0 #endif ;
Other interesting option to expose is FT_CONFIG_OPTION_SUBPIXEL_RENDERING.
Version: 2.4