X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=libs%2Fgtkutil%2Fglfont.cpp;h=dcba652631cdb136c436af3d63f3f4ded4b44969;hp=48ba7ce81bbc7bb9b172aa58de243c5c5139a83e;hb=68159d9ed443f990fecf207847408a673eb641f7;hpb=61cca6db45d0c7e0c49e41dd26854c2b3b171e3f;ds=sidebyside diff --git a/libs/gtkutil/glfont.cpp b/libs/gtkutil/glfont.cpp index 48ba7ce8..dcba6526 100644 --- a/libs/gtkutil/glfont.cpp +++ b/libs/gtkutil/glfont.cpp @@ -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); }