Commit f4625d1a authored by Jeremy White's avatar Jeremy White Committed by Alexandre Julliard

gdi32: Shift default height used in EnumStructs to the standard em size of 2048.

As pointed out by Dmitry Timoshkov.
parent bf05ded7
...@@ -3560,7 +3560,7 @@ static void GetEnumStructs(Face *face, LPENUMLOGFONTEXW pelf, ...@@ -3560,7 +3560,7 @@ static void GetEnumStructs(Face *face, LPENUMLOGFONTEXW pelf,
font = alloc_font(); font = alloc_font();
if(face->scalable) { if(face->scalable) {
height = 100; height = -2048; /* 2048 is the most common em size */
width = 0; width = 0;
} else { } else {
height = face->size.y_ppem >> 6; height = face->size.y_ppem >> 6;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment