- wxNativeFont font = gdk_font_load( wxConvertWX2MB(fontSpec) );
- if(fontSpec == "-*-*-*-*-*-*-*-*-*-*-*-*-*-*")
- {
- if(font == NULL)
- font = gdk_font_load (wxConvertWX2MB("-*-*-*-*-*-*-*-*-75-*-*-*-*-*"));
- if(font == NULL)
- font = gdk_font_load (wxConvertWX2MB("-*-*-*-*-*-*-*-*-100-*-*-*-*-*"));
- if(font == NULL)
- font = gdk_font_load (wxConvertWX2MB("-*-fixed-*-*-*-*-*-*-*-*-*-*-*-*"));
- }
- return font;