diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2018-07-03 15:34:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-03 15:34:02 +0200 |
commit | e29e4e56c1c6acccc8082472b117e4ce4b496aec (patch) | |
tree | 3db8d5ef65f6af1e72ee2522df98514923f4e8d8 /scene/resources/dynamic_font.cpp | |
parent | 045944f83a65fcb6a997486da450ea364878e6d5 (diff) | |
parent | 6deb1889d0f65f57237f04bb0394fb8dce4c5976 (diff) |
Merge pull request #19843 from Calinou/fix-dynamicfont-hinting-setting
Fix the DynamicFont hinting setting being ineffective
Diffstat (limited to 'scene/resources/dynamic_font.cpp')
-rw-r--r-- | scene/resources/dynamic_font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/dynamic_font.cpp b/scene/resources/dynamic_font.cpp index 05493d5777..e5d463d391 100644 --- a/scene/resources/dynamic_font.cpp +++ b/scene/resources/dynamic_font.cpp @@ -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; |