http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf05ded
)
gdi32: Shift default height used in EnumStructs to the standard em size of 2048.
author
Jeremy White
<jwhite@codeweavers.com>
Thu, 24 Apr 2008 04:25:27 +0000
(23:25 -0500)
committer
Alexandre Julliard
<julliard@winehq.org>
Tue, 29 Apr 2008 12:37:53 +0000
(14:37 +0200)
As pointed out by Dmitry Timoshkov.
dlls/gdi32/freetype.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/gdi32/freetype.c
b/dlls/gdi32/freetype.c
index bfa986d0f393c26f3e31d2dff9510f3bc2ede065..82150d3f0622fd820e530a419dbff0a9fcd9f15e 100644
(file)
--- a/
dlls/gdi32/freetype.c
+++ b/
dlls/gdi32/freetype.c
@@
-3560,7
+3560,7
@@
static void GetEnumStructs(Face *face, LPENUMLOGFONTEXW pelf,
font = alloc_font();
if(face->scalable) {
- height =
100;
+ height =
-2048; /* 2048 is the most common em size */
width = 0;
} else {
height = face->size.y_ppem >> 6;