Aric Stewart : gdi32: Vertical glyphs can be written tategaki even without a vertical GSUB feature .
Module: wine Branch: master Commit: 1ff63bb8935d2a9a548de8d45c46a37129c5f544 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1ff63bb8935d2a9a548de8d45c... Author: Aric Stewart <aric(a)codeweavers.com> Date: Mon May 20 11:24:29 2013 -0500 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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index b0a124f..bc43772 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;
participants (1)
-
Alexandre Julliard