From 1ff63bb8935d2a9a548de8d45c46a37129c5f544 Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Mon, 20 May 2013 11:24:29 -0500 Subject: [PATCH] gdi32: Vertical glyphs can be written tategaki even without a vertical GSUB feature. It is only based on the presence of the '@' character in the font name. --- dlls/gdi32/freetype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index b0a124f890d..bc437721be7 100644 --- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -5915,7 +5915,7 @@ static DWORD get_glyph_outline(GdiFont *incoming_font, UINT glyph, UINT format, FT_Matrix transMat = identityMat; FT_Matrix transMatUnrotated; BOOL needsTransform = FALSE; - BOOL tategaki = (font->GSUB_Table != NULL); + BOOL tategaki = (font->name[0] == '@'); UINT original_index; LONG avgAdvance = 0; FT_Fixed em_scale;