mirror of
https://github.com/reactos/reactos.git
synced 2024-12-15 15:13:27 +08:00
[WIN32SS][NTGDI] FireFox checkmark fix CORE-15303 (#1535)
The font size was a bit larger than expected. FireFox will show checkmarks correctly in View menu. CORE-15303
This commit is contained in:
parent
9a24e9799e
commit
19fc9415bf
@ -3312,10 +3312,7 @@ IntRequestFontSize(PDC dc, PFONTGDI FontGDI, LONG lfWidth, LONG lfHeight)
|
||||
FontGDI->EmHeight = min(FontGDI->EmHeight, USHORT_MAX);
|
||||
FontGDI->Magic = FONTGDI_MAGIC;
|
||||
|
||||
if (lfHeight > 0)
|
||||
EmHeight64 = (FontGDI->EmHeight << 6) + 31;
|
||||
else
|
||||
EmHeight64 = (FontGDI->EmHeight << 6);
|
||||
EmHeight64 = (FontGDI->EmHeight << 6);
|
||||
|
||||
req.type = FT_SIZE_REQUEST_TYPE_NOMINAL;
|
||||
req.width = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user