Commit 546c5870 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

gdi32: GetGlyphIndices does substitute glyph.

parent adfa3c0c
......@@ -5841,6 +5841,8 @@ static DWORD freetype_GetGlyphIndices( PHYSDEV dev, LPCWSTR lpstr, INT count, LP
}
pgi[i] = default_char;
}
else
pgi[i] = get_GSUB_vert_glyph(physdev->font, pgi[i]);
}
LeaveCriticalSection( &freetype_cs );
return count;
......
......@@ -4835,7 +4835,7 @@ static void test_vertical_font(void)
"gmBlackBoxX(%u) should be less than gmBlackBoxY(%u) if vertical\n",
gm.gmBlackBoxX, gm.gmBlackBoxY);
todo_wine ok(hgi != vgi, "same glyph h:%u v:%u\n", hgi, vgi);
ok(hgi != vgi, "same glyph h:%u v:%u\n", hgi, vgi);
ret = pRemoveFontResourceExA(ttf_name, FR_PRIVATE, 0);
ok(ret, "RemoveFontResourceEx() error %d\n", GetLastError());
......
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