Changeset 7685 for trunk/src


Ignore:
Timestamp:
Dec 26, 2001, 3:47:22 PM (24 years ago)
Author:
achimha
Message:

workaround for correct WarpSans height in menu bars when using OS2Look

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/user32.cpp

    r6972 r7685  
    1 /* $Id: user32.cpp,v 1.116 2001-10-09 05:18:02 phaller Exp $ */
     1/* $Id: user32.cpp,v 1.117 2001-12-26 14:47:22 achimha Exp $ */
    22
    33/*
     
    746746                        lpLogFont->lfFaceName[sizeof(lpLogFont->lfFaceName)-1] = 0;
    747747                        lpLogFont->lfWeight = FW_NORMAL;
    748                         lpLogFont->lfHeight = 16; //atoi(fontname);
     748                        // AH 2001-12-26 special case for WarpSans
     749                        if (strncmp(lpLogFont->lfFaceName, "WarpSans", 8) == 0)
     750                            lpLogFont->lfHeight = 9;
     751                        else
     752                            lpLogFont->lfHeight = 16; //atoi(fontname);
    749753                    }
    750754                    else fFound = FALSE;
Note: See TracChangeset for help on using the changeset viewer.