- Radiant is now Vista compatible (Aero must be disabled)
[xonotic/netradiant.git] / libs / gtkutil / glfont.cpp
index 48ba7ce81bbc7bb9b172aa58de243c5c5139a83e..dcba652631cdb136c436af3d63f3f4ded4b44969 100644 (file)
@@ -46,6 +46,10 @@ GLFont glfont_create(const char* font_string)
 
   pango_font_description_free (font_desc);
 
+  // fix for pango/gtkglext metrix bug
+  if(font_height > 16)
+         font_height = 16;
+
   return GLFont(font_list_base, font_height);
 }