diff --git a/uppsrc/Draw/FontFc.cpp b/uppsrc/Draw/FontFc.cpp index 48256fd1c..0f945ab34 100644 --- a/uppsrc/Draw/FontFc.cpp +++ b/uppsrc/Draw/FontFc.cpp @@ -11,7 +11,8 @@ #include // #include // The only function required from that header: -FT_EXPORT( const char* ) FT_Get_X11_Font_Format( FT_Face face ); // Put here to avoid include path issues... +//FT_EXPORT( const char* ) FT_Get_X11_Font_Format( FT_Face face ); // Put here to avoid include path issues... +#include namespace Upp { @@ -151,7 +152,7 @@ CommonFontInfo GetFontInfoSys(Font font) fi.avewidth = fi.maxwidth; fi.default_char = '?'; fi.fixedpitch = font.GetFaceInfo() & Font::FIXEDPITCH; - fi.ttf = strcmp(FT_Get_X11_Font_Format(face), "TrueType") == 0; + fi.ttf = strcmp(FT_Get_Font_Format(face), "TrueType") == 0; if(path.GetCount() < 250) strcpy(fi.path, ~path); else