Skip to content
Snippets Groups Projects
Commit 7be29570 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard
Browse files

gdi32: Fix ppem in the case that there isn't an exact height match in the vdmx table.

parent 0c06ec1b
No related branches found
No related tags found
No related merge requests found
......@@ -2092,6 +2092,7 @@ static LONG load_VDMX(GdiFont font, LONG height)
}
font->yMax = GET_BE_WORD(vTable[(i * 3) + 1]);
font->yMin = GET_BE_WORD(vTable[(i * 3) + 2]);
ppem = GET_BE_WORD(vTable[i * 3]);
TRACE("ppem %ld found; height=%ld yMax=%d yMin=%d\n", ppem, height, font->yMax, font->yMin);
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment