Fix: Build error after recent commit

A second try after 8b46731396.
This commit is contained in:
Hans Goudey 2022-08-04 17:20:10 -05:00
parent 5b8c07dc50
commit 5b8143287b
1 changed files with 1 additions and 1 deletions

View File

@ -1526,7 +1526,7 @@ bool blf_font_size(FontBLF *font, float size, unsigned int dpi)
}
/* FreeType uses fixed-point integers in 64ths. */
FT_UInt ft_size = lroundf(size * 64.0f);
FT_UInt ft_size = round_fl_to_uint(size * 64.0f);
/* Adjust our new size to be on even 64ths. */
size = (float)ft_size / 64.0f;