[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-g
35f62fc5ba

cherry picked from commit 0.4.13-dev-110-g
19fc9415bf
This commit is contained in:
Katayama Hirofumi MZ 2019-04-27 09:38:01 +09:00 committed by Joachim Henze
parent 12fc3687b8
commit e1ac9dcd66

View file

@ -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;