Sets a function that will be called to do final configuration substitution on a FcPattern before it is used to load the font. This function can be used to do things like set hinting and antialiasing options. Parameters display an X Display screen the screen number of a screen within displ...
FT_LOAD_NO_BITMAP | FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH; // ヒンティング switch (pfs->GetHintingMode()) { case 0: // ignore. break; case 1: font_type.flags |= FT_LOAD_NO_HINTING; break; case 2: font_type.flags |= FT_LOAD_FORCE_AUTOHINT; break; } //如果含有内置hinting则...