Changeset 7691 for trunk/src/user32/user32.cpp
- Timestamp:
- Dec 26, 2001, 8:05:35 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/user32.cpp
r7685 r7691 1 /* $Id: user32.cpp,v 1.11 7 2001-12-26 14:47:22achimha Exp $ */1 /* $Id: user32.cpp,v 1.118 2001-12-26 19:05:35 achimha Exp $ */ 2 2 3 3 /* … … 746 746 lpLogFont->lfFaceName[sizeof(lpLogFont->lfFaceName)-1] = 0; 747 747 lpLogFont->lfWeight = FW_NORMAL; 748 // AH 2001-12-26 special case for WarpSans 749 if (strncmp(lpLogFont->lfFaceName, "WarpSans", 8) == 0)750 lpLogFont->lfHeight = 9;751 else752 lpLogFont->lfHeight = 16; //atoi(fontname);748 749 // AH 2001-12-26 use the font size returned by the graphics 750 // driver as the font height. This will take font size settings 751 // such as small, medium and large fonts into account 752 lpLogFont->lfHeight = CapsCharHeight; 753 753 } 754 754 else fFound = FALSE; … … 758 758 lpLogFont->lfFaceName, LF_FACESIZE); 759 759 lpLogFont->lfWeight = FW_BOLD; 760 lpLogFont->lfHeight = -GetProfileIntA("Desktop","MenuFontSize", 16); 760 // AH 2001-12-26 take graphics driver font size setting 761 lpLogFont->lfHeight = -GetProfileIntA("Desktop","MenuFontSize", CapsCharHeight); 761 762 } 762 763 lpLogFont->lfWidth = 0;
Note:
See TracChangeset
for help on using the changeset viewer.