gdi32: Shift default height used in EnumStructs to the standard em size of 2048.
As pointed out by Dmitry Timoshkov.
This commit is contained in:
parent
bf05ded740
commit
f4625d1ae1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue