Revert "fix some more of the weird workarounds"

This reverts commit b8ef001e49.
This commit is contained in:
Rudolf Polzer
2010-12-11 14:52:52 +01:00
parent b8ef001e49
commit 50218d2883
2 changed files with 7 additions and 2 deletions

View File

@@ -206,10 +206,10 @@ class GLFontInternal: public GLFont
int font_descent_pango_units;
#if !PANGO_VERSION_CHECK(1,22,0)
ft2_context = pango_ft2_get_context(96, 96);
ft2_context = pango_ft2_get_context(72, 72);
#else
fontmap = pango_ft2_font_map_new();
//pango_ft2_font_map_set_resolution(PANGO_FT2_FONT_MAP(fontmap), 96, 96);
pango_ft2_font_map_set_resolution(PANGO_FT2_FONT_MAP(fontmap), 72, 72);
ft2_context = pango_font_map_create_context(fontmap);
#endif