gdi32: Shift default height used in EnumStructs to the standard em size of 2048.
authorJeremy White <jwhite@codeweavers.com>
Thu, 24 Apr 2008 04:25:27 +0000 (23:25 -0500)
committerAlexandre 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

index bfa986d0f393c26f3e31d2dff9510f3bc2ede065..82150d3f0622fd820e530a419dbff0a9fcd9f15e 100644 (file)
@@ -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;