Thanks to Adobe, which contributed a new hinting (and parsing) engine, an application can select between ‘freetype’ and ‘adobe’.
Right now, the default engine is ‘freetype’. However, this will change: After a certain time of intensive testing it is planned to make ‘adobe’ the default due to its superior rendering results.
The following example code demonstrates how to select Adobe's hinting engine (omitting the error handling).
FT_Library library;
FT_Face face;
FT_UInt hinting_engine = FT_CFF_HINTING_ADOBE;
FT_Init_FreeType( &library );
FT_Property_Set( library, "cff",
"hinting-engine", &hinting_engine );
|