Return character heights instead of cell heights in the LOGFONTs in the

NONCLIENTMETRICS structure

svn path=/trunk/; revision=18960
This commit is contained in:
Gé van Geldorp 2005-11-02 23:15:40 +00:00
parent 40cfcb3758
commit 05037bcbe6

View file

@ -813,8 +813,9 @@ IntGetFontMetricSetting(LPWSTR lpValueName, PLOGFONTW font)
{
RTL_QUERY_REGISTRY_TABLE QueryTable[2];
NTSTATUS Status;
/* Firefox 1.0.7 depends on the lfHeight value being negative */
static LOGFONTW DefaultFont = {
11, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, ANSI_CHARSET,
-11, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, ANSI_CHARSET,
0, 0, DEFAULT_QUALITY, VARIABLE_PITCH | FF_SWISS,
L"Bitstream Vera Sans"
};