From c3b1f0fa20325aa82faef2761fc76ee76dc35cb8 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Sun, 12 May 2013 16:52:42 +0000 Subject: Fix build error on MinGW64 --- source/blender/blenfont/intern/blf_font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenfont') 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); -- cgit v1.2.3