#ifdef WIN32
/* win32 is dodgy here, just use courier new then */
- g_font = glfont_create("courier new 8");
+ g_font = glfont_create("arial 9");
#else
- /* use default font here (Sans 10 is gtk default) */
GtkSettings *settings = gtk_settings_get_default();
gchar *fontname;
g_object_get(settings, "gtk-font-name", &fontname, NULL);
#endif
GlobalOpenGL().m_font = g_font;
- GlobalOpenGL().m_fontHeight = g_font->getPixelHeight();
- GlobalOpenGL().m_fontAscent = g_font->getPixelAscent();
- GlobalOpenGL().m_fontDescent = g_font->getPixelDescent();
}
void GlobalGL_sharedContextDestroyed()