Fix build error on MinGW64

This commit is contained in:
Antony Riakiotakis
2013-05-12 16:52:42 +00:00
parent d9ca50ff64
commit c3b1f0fa20

View File

@@ -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);