Skip to content

Commit

Permalink
Fixed rendering, set the value of font->ft_load_target
Browse files Browse the repository at this point in the history
  • Loading branch information
1bsyl committed Oct 3, 2024
1 parent 0f4cc9c commit 78b92a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SDL_ttf.c
Original file line number Diff line number Diff line change
Expand Up @@ -4388,6 +4388,8 @@ void TTF_SetFontHinting(TTF_Font *font, int hinting)
return;
}

font->ft_load_target = ft_load_target;

#if TTF_USE_HARFBUZZ
// update flag for HB
hb_ft_font_set_load_flags(font->hb_font, FT_LOAD_DEFAULT | font->ft_load_target);
Expand Down

0 comments on commit 78b92a6

Please sign in to comment.