switch over to pango rendering

This commit is contained in:
Rudolf Polzer
2010-11-18 17:13:08 +01:00
parent c68e337af0
commit 9bd26c2ebe

View File

@@ -129,7 +129,7 @@ GLFont *glfont_create(const char* font_string)
return new GLFontCallList(font_list_base, fontInfo->ascent, fontInfo->descent, fontInfo->ascent + fontInfo->descent);
}
#else
#elif 0
#include <gtk/gtkglwidget.h>
@@ -181,7 +181,7 @@ GLFont *glfont_create(const char* font_string)
}
#endif
// new font code ripped from ZeroRadiant (not in use yet)
// new font code ripped from ZeroRadiant
#include <pango/pangoft2.h>
#include <pango/pango-utils.h>
@@ -339,3 +339,8 @@ class GLFontInternal: public GLFont
return font_height;
}
};
GLFont *glfont_create(const char* font_string)
{
return new GLFontInternal(font_string);
}