mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 09:50:07 +00:00
[0.4.12] [WIN32SS][NTGDI] FireFox checkmark, fixes regression CORE-15303 (#1535)
The font size was a bit larger than expected. FireFox will show checkmarks correctly in View menu. This is a partial revert of 0.4.10-dev-466-g35f62fc5ba
cherry picked from commit 0.4.13-dev-110-g19fc9415bf
This commit is contained in:
parent
12fc3687b8
commit
e1ac9dcd66
|
@ -3309,10 +3309,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 a new issue