Change up font selection process

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-01-24 05:45:40 +00:00
parent f138704e73
commit e3bfcacf3a
2 changed files with 11 additions and 74 deletions

View File

@@ -464,21 +464,24 @@ void wxOS2SelectMatchingFontByName(
case wxDECORATIVE:
case wxROMAN:
sFaceName = wxT("Times New Roman");
sFaceName = wxT("Tms Rmn");
break;
case wxTELETYPE:
case wxMODERN:
sFaceName = wxT("Courier") ;
break;
case wxMODERN:
sFaceName = wxT("System VIO") ;
break;
case wxSWISS:
sFaceName = wxT("WarpSans") ;
sFaceName = wxT("Helv") ;
break;
case wxDEFAULT:
default:
sFaceName = wxT("Helv") ;
sFaceName = wxT("System VIO") ;
}
switch (pFont->GetWeight())