https://bugs.winehq.org/show_bug.cgi?id=52898
Bug ID: 52898 Summary: gdi32:font - test_max_height() fails on all Windows 10 versions Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
test_max_height() fails on all Windows 10 versions:
font.c:6532: Test failed: height=-65536: GetTextMetrics failed font.c:6533: Test failed: height=-65536: expected 1 ppem value (2), got 0 font.c:6535: Test failed: height=-65536: expected 1 ppem value (1), got 0 font.c:6532: Test failed: height=-123456: GetTextMetrics failed font.c:6533: Test failed: height=-123456: expected 1 ppem value (2), got 0 font.c:6535: Test failed: height=-123456: expected 1 ppem value (1), got 0 font.c:6532: Test failed: height=123456: GetTextMetrics failed font.c:6533: Test failed: height=123456: expected 1 ppem value (2), got 0 font.c:6535: Test failed: height=123456: expected 1 ppem value (1), got 0
https://test.winehq.org/data/patterns.html#gdi32:font
Furthermore, the following related tests also fail on Windows 10 1809+:
font.c:6517: Test failed: GetTextMetrics failed font.c:6518: Test failed: expected greater than 1 ppem value (2), got 0 font.c:6520: Test failed: expected greater than 1 ppem value (1), got 0