Return character heights instead of cell heights in the LOGFONTs in the
NONCLIENTMETRICS structure
Modified: trunk/reactos/subsys/win32k/ntuser/misc.c
_____
Modified: trunk/reactos/subsys/win32k/ntuser/misc.c
--- trunk/reactos/subsys/win32k/ntuser/misc.c 2005-11-02 23:12:55 UTC
(rev 18959)
+++ trunk/reactos/subsys/win32k/ntuser/misc.c 2005-11-02 23:15:40 UTC
(rev 18960)
@@ -813,8 +813,9 @@
{
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"
};
Show replies by date