gdi32: GetGlyphIndices does substitute glyph.
This commit is contained in:
parent
adfa3c0c57
commit
546c587036
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue