gdi32: GetGlyphIndices does substitute glyph.

This commit is contained in:
Aric Stewart 2013-05-17 14:32:39 -05:00 committed by Alexandre Julliard
parent adfa3c0c57
commit 546c587036
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -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());