return new GLFontCallList(font_list_base, fontInfo->ascent, fontInfo->descent, fontInfo->ascent + fontInfo->descent);
}
-#else
+#elif 0
#include <gtk/gtkglwidget.h>
}
#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>
return font_height;
}
};
+
+GLFont *glfont_create(const char* font_string)
+{
+ return new GLFontInternal(font_string);
+}