Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-08-05 01:20:10 +0300
committerHans Goudey <h.goudey@me.com>2022-08-05 01:20:10 +0300
commit5b8143287b607e52a65082fd6a678d0e54f50826 (patch)
tree11763a78cd8d98a24663a805a56495ac543d682e /source/blender/blenfont
parent5b8c07dc50e0589ba77ae1589e5950fd161a5631 (diff)
Fix: Build error after recent commit
A second try after 8b467313965ac5ea.
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r--source/blender/blenfont/intern/blf_font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenfont/intern/blf_font.c b/source/blender/blenfont/intern/blf_font.c
index 07b66d0728e..17145bdbe99 100644
--- a/source/blender/blenfont/intern/blf_font.c
+++ b/source/blender/blenfont/intern/blf_font.c
@@ -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;