X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/223d09f6b523aac674ef9b72a883dfa8d37c5d4e..8aaef28406647d6aa706c34f57dd151f00b18e5b:/src/gtk1/font.cpp?ds=sidebyside diff --git a/src/gtk1/font.cpp b/src/gtk1/font.cpp index 72348fda2c..0457bda88e 100644 --- a/src/gtk1/font.cpp +++ b/src/gtk1/font.cpp @@ -170,7 +170,14 @@ wxFont::wxFont( GdkFont *WXUNUSED(font), char *xFontName ) tmp = tn.GetNextToken().MakeUpper(); if (tmp == wxT("BOLD")) M_FONTDATA->m_weight = wxBOLD; - + if (tmp == wxT("BLACK")) M_FONTDATA->m_weight = wxBOLD; + if (tmp == wxT("EXTRABOLD")) M_FONTDATA->m_weight = wxBOLD; + if (tmp == wxT("DEMIBOLD")) M_FONTDATA->m_weight = wxBOLD; + if (tmp == wxT("ULTRABOLD")) M_FONTDATA->m_weight = wxBOLD; + + if (tmp == wxT("LIGHT")) M_FONTDATA->m_weight = wxLIGHT; + if (tmp == wxT("THIN")) M_FONTDATA->m_weight = wxLIGHT; + tmp = tn.GetNextToken().MakeUpper(); if (tmp == wxT("I")) M_FONTDATA->m_style = wxITALIC; if (tmp == wxT("O")) M_FONTDATA->m_style = wxITALIC;