X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4353f07c6b37712634d4b2d86527b647a08044f..088117622c38b0cef9ab634ebc0987b839572e74:/src/os2/fontutil.cpp diff --git a/src/os2/fontutil.cpp b/src/os2/fontutil.cpp index 8b4d684739..8437a71312 100644 --- a/src/os2/fontutil.cpp +++ b/src/os2/fontutil.cpp @@ -487,7 +487,7 @@ void wxOS2SelectMatchingFontByName( switch (pFont->GetFamily()) { case wxSCRIPT: - sFaceName = wxT("Script"); + sFaceName = wxT("Tms Rmn"); break; case wxDECORATIVE: @@ -495,15 +495,15 @@ void wxOS2SelectMatchingFontByName( break; case wxROMAN: - sFaceName = wxT("Times New Roman"); + sFaceName = wxT("Tms Rmn"); break; case wxTELETYPE: - sFaceName = wxT("Courier New") ; + sFaceName = wxT("Courier") ; break; case wxMODERN: - sFaceName = wxT("Courier New") ; + sFaceName = wxT("System VIO") ; break; case wxSWISS: @@ -640,12 +640,12 @@ void wxOS2SelectMatchingFontByName( // pFattrs->usRecordLength = sizeof(FATTRS); // Sets size of structure pFattrs->lMatch = pFM[nIndex].lMatch; // Force match - pFattrs->idRegistry = 0; // Registry - pFattrs->usCodePage = 0; // Match proper CodePage - pFattrs->fsFontUse = 0; // Use only outline fonts - pFattrs->fsType = 0; // Use only outline fonts - pFattrs->lMaxBaselineExt = 0; // Use only outline fonts - pFattrs->lAveCharWidth = 0; // Use only outline fonts + pFattrs->idRegistry = 0; + pFattrs->usCodePage = 0; + pFattrs->fsFontUse = 0; + pFattrs->fsType = 0; + pFattrs->lMaxBaselineExt = 0; + pFattrs->lAveCharWidth = 0; wxStrcpy(pFattrs->szFacename, pFM[nIndex].szFacename); if (pFont->GetWeight() == wxNORMAL) pFattrs->fsSelection = 0;