You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Fix the DynamicFont hinting setting being ineffective
This commit is contained in:
@@ -625,7 +625,7 @@ void DynamicFontAtSize::_update_char(CharType p_char) {
|
||||
break;
|
||||
}
|
||||
|
||||
int error = FT_Load_Char(face, p_char, FT_HAS_COLOR(face) ? FT_LOAD_COLOR : FT_LOAD_DEFAULT | (font->force_autohinter ? FT_LOAD_FORCE_AUTOHINT : 0));
|
||||
int error = FT_Load_Char(face, p_char, FT_HAS_COLOR(face) ? FT_LOAD_COLOR : FT_LOAD_DEFAULT | (font->force_autohinter ? FT_LOAD_FORCE_AUTOHINT : 0) | ft_hinting);
|
||||
if (error) {
|
||||
char_map[p_char] = character;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user