Ignore:
Timestamp:
Dec 2, 2009, 2:27:41 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Improved font handling (patch by komh):

  • Read national face names from font files instead of always taking the Latin name.
  • Use the PM_AssociateFont registry key to select a fallback font for missing glyphs (important on DBCS systems).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qapplication_pm.cpp

    r364 r371  
    223223                    default: f.setStretch(QFont::Unstretched); break;
    224224                }
    225                 f.setFamily(fm.szFamilyname);
     225                f.setFamily(QString::fromLocal8Bit(fm.szFamilyname));
    226226                f.setPointSize(height);
    227227            }
Note: See TracChangeset for help on using the changeset viewer.