From b5446ddb45d13b965e385ff76bbd5be69f4e7207 Mon Sep 17 00:00:00 2001 From: Kusanagi Kouichi Date: Tue, 13 Dec 2011 19:44:26 +0900 Subject: [PATCH] gdi32: Don't remove leading '@' from face name. --- dlls/gdi32/freetype.c | 8 -------- dlls/gdi32/tests/font.c | 1 - 2 files changed, 9 deletions(-) diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index 615a01af287..9762230bf16 100644 --- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -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) { diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c index ed629ce3cd0..98c61a09c95 100644 --- a/dlls/gdi32/tests/font.c +++ b/dlls/gdi32/tests/font.c @@ -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, -- 2.11.4.GIT