projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bb1b39
)
[WIN32SS][FONT] Improve Precision Penalty (#1006)
author
Katayama Hirofumi MZ
<katayama.hirofumi.mz@gmail.com>
Fri, 2 Nov 2018 20:37:05 +0000
(
05:37
+0900)
committer
GitHub
<noreply@github.com>
Fri, 2 Nov 2018 20:37:05 +0000
(
05:37
+0900)
win32ss/gdi/ntgdi/freetype.c
patch
|
blob
|
history
diff --git
a/win32ss/gdi/ntgdi/freetype.c
b/win32ss/gdi/ntgdi/freetype.c
index
f1dee70
..
6e06763
100644
(file)
--- a/
win32ss/gdi/ntgdi/freetype.c
+++ b/
win32ss/gdi/ntgdi/freetype.c
@@
-4456,10
+4456,11
@@
GetFontPenalty(const LOGFONTW * LogFont,
}
Byte = LogFont->lfOutPrecision;
- if (Byte == OUT_DEFAULT_PRECIS)
- Byte = OUT_OUTLINE_PRECIS; /* Is it OK? */
switch (Byte)
{
+ case OUT_DEFAULT_PRECIS:
+ /* nothing to do */
+ break;
case OUT_DEVICE_PRECIS:
if (!(TM->tmPitchAndFamily & TMPF_DEVICE) ||
!(TM->tmPitchAndFamily & (TMPF_VECTOR | TMPF_TRUETYPE)))