diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-05-12 20:52:42 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-05-12 20:52:42 +0400 |
commit | c3b1f0fa20325aa82faef2761fc76ee76dc35cb8 (patch) | |
tree | 1e321ed36c09c747a553a280780fa4edffb0a421 /source | |
parent | d9ca50ff6443afd79e4d1af13bc71d358d74a132 (diff) |
Fix build error on MinGW64
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenfont/intern/blf_font.c | 2 |
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 3a327d6c794..f346478889b 100644 --- a/source/blender/blenfont/intern/blf_font.c +++ b/source/blender/blenfont/intern/blf_font.c @@ -80,7 +80,7 @@ void blf_font_size(FontBLF *font, unsigned int size, unsigned int dpi) GlyphCacheBLF *gc; FT_Error err; - err = FT_Set_Char_Size(font->face, 0, (size * 64), dpi, dpi); + err = FT_Set_Char_Size(font->face, 0, (FT_F26Dot6)(size * 64), dpi, dpi); if (err) { /* FIXME: here we can go through the fixed size and choice a close one */ printf("The current font don't support the size, %d and dpi, %d\n", size, dpi); |