diff --git a/src/fontcache.cpp b/src/fontcache.cpp index 287a281d06..3e1f0f879f 100644 --- a/src/fontcache.cpp +++ b/src/fontcache.cpp @@ -13,6 +13,9 @@ #include "table/sprites.h" #include "table/control_codes.h" +/** Semi-constant for the height of the different sizes of fonts. */ +int _font_height[FS_END]; + #ifdef WITH_FREETYPE #include #include FT_FREETYPE_H @@ -27,9 +30,6 @@ static FT_Face _face_small = NULL; static FT_Face _face_medium = NULL; static FT_Face _face_large = NULL; -/** Semi-constant for the height of the different sizes of fonts. */ -int _font_height[FS_END]; - FreeTypeSettings _freetype; enum {