[3/6] gdi32: Don't remove leading '@' from face name.

Kusanagi Kouichi slash at ac.auone-net.jp
Thu Dec 8 05:19:55 CST 2011


Signed-off-by: Kusanagi Kouichi <slash at ac.auone-net.jp>
---
 dlls/gdi32/freetype.c   |    8 --------
 dlls/gdi32/tests/font.c |    1 -
 2 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 262f68a..229517a 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 b694442..6328830 100644
--- a/dlls/gdi32/tests/font.c
+++ b/dlls/gdi32/tests/font.c
@@ -4107,7 +4107,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,
-- 
1.7.7.3




More information about the wine-patches mailing list