projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a24e97
)
[WIN32SS][NTGDI] FireFox checkmark fix CORE-15303 (#1535)
author
Katayama Hirofumi MZ
<katayama.hirofumi.mz@gmail.com>
Sat, 27 Apr 2019 00:38:01 +0000
(09:38 +0900)
committer
GitHub
<noreply@github.com>
Sat, 27 Apr 2019 00:38:01 +0000
(09:38 +0900)
The font size was a bit larger than expected. FireFox will show checkmarks correctly in View menu. CORE-15303
win32ss/gdi/ntgdi/freetype.c
patch
|
blob
|
history
diff --git
a/win32ss/gdi/ntgdi/freetype.c
b/win32ss/gdi/ntgdi/freetype.c
index
ae6feb0
..
18f9ef9
100644
(file)
--- a/
win32ss/gdi/ntgdi/freetype.c
+++ b/
win32ss/gdi/ntgdi/freetype.c
@@
-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;