Commit 31fd0701 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

gdi32/tests: Skip broken Noto Color Emoji font in character width test.

parent 221e88e2
......@@ -7573,9 +7573,10 @@ static int CALLBACK get_char_width_proc(const LOGFONTA *lf,
ret = GetCharABCWidthsFloatA(dc, c, c, &abcf);
ok(ret, "%s: GetCharABCWidths() failed\n", lf->lfFaceName);
if (GetCharABCWidthsA(dc, c, c, &abc))
ok((float)abc.abcB == abcf.abcfB, "%s: mismatched widths %d/%.8e\n",
lf->lfFaceName, abc.abcB, abcf.abcfB);
if (!strcmp(lf->lfFaceName, "Noto Color Emoji"))
skip("broken Noto Color Emoji font");
else if (GetCharABCWidthsA(dc, c, c, &abc))
ok((float)abc.abcB == abcf.abcfB, "%s: mismatched widths %d/%.8e\n", lf->lfFaceName, abc.abcB, abcf.abcfB);
ReleaseDC(NULL, dc);
DeleteObject(font);
......
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