gdi32: Don't remove leading '@' from face name.

This commit is contained in:
Kusanagi Kouichi 2011-12-13 19:44:26 +09:00 committed by Alexandre Julliard
parent bf8a100639
commit b5446ddb45
2 changed files with 0 additions and 9 deletions

View File

@ -3940,14 +3940,6 @@ static HFONT freetype_SelectFont( PHYSDEV dev, HFONT hfont )
CHILD_FONT *font_link_entry;
LPWSTR FaceName = lf.lfFaceName;
/*
* Check for a leading '@' this signals that the font is being
* requested in tategaki mode (vertical writing substitution) but
* does not affect the fontface that is to be selected.
*/
if (lf.lfFaceName[0]=='@')
FaceName = &lf.lfFaceName[1];
psub = get_font_subst(&font_subst_list, FaceName, lf.lfCharSet);
if(psub) {

View File

@ -4126,7 +4126,6 @@ static void test_vertical_font(void)
check_vertical_font("@WineTestVertical", &installed, &selected, &gm);
ok(installed, "@WineTestVertical is not installed\n");
todo_wine
ok(selected, "@WineTestVertical is not selected\n");
todo_wine
ok(gm.gmBlackBoxX > gm.gmBlackBoxY,