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.
This commit is contained in:
parent
accad0957c
commit
1ff63bb893
@ -5915,7 +5915,7 @@ static DWORD get_glyph_outline(GdiFont *incoming_font, UINT glyph, UINT format,
|
|||||||
FT_Matrix transMat = identityMat;
|
FT_Matrix transMat = identityMat;
|
||||||
FT_Matrix transMatUnrotated;
|
FT_Matrix transMatUnrotated;
|
||||||
BOOL needsTransform = FALSE;
|
BOOL needsTransform = FALSE;
|
||||||
BOOL tategaki = (font->GSUB_Table != NULL);
|
BOOL tategaki = (font->name[0] == '@');
|
||||||
UINT original_index;
|
UINT original_index;
|
||||||
LONG avgAdvance = 0;
|
LONG avgAdvance = 0;
|
||||||
FT_Fixed em_scale;
|
FT_Fixed em_scale;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user