Jeremy White : gdi32: Shift default height used in EnumStructs to the standard em size of 2048.
Alexandre Julliard
julliard at winehq.org
Tue Apr 29 08:54:42 CDT 2008
Module: wine
Branch: master
Commit: f4625d1ae1109ee9a30faa8254b10779853f0ac2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f4625d1ae1109ee9a30faa8254b10779853f0ac2
Author: Jeremy White <jwhite at codeweavers.com>
Date: Wed Apr 23 23:25:27 2008 -0500
gdi32: Shift default height used in EnumStructs to the standard em size of 2048.
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-cvs
mailing list