[PATCH 1/7] Shift default height used in EnumStructs to the standard em size of 2048
Jeremy White
jwhite at codeweavers.com
Wed Apr 23 23:25:27 CDT 2008
As pointed out by Dmitry Timoshkov
---
dlls/gdi32/freetype.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index bfa986d..82150d3 100644
--- 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;
More information about the wine-patches
mailing list