From ceca716999dc6dd90d5fb816221d68f416ce18aa Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Fri, 2 Dec 2011 07:22:13 -0600 Subject: [PATCH] usp10: Phags-Pa wants the calt feature enabled. --- dlls/usp10/shape.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dlls/usp10/shape.c b/dlls/usp10/shape.c index 36fa40436fa..7772573a333 100644 --- a/dlls/usp10/shape.c +++ b/dlls/usp10/shape.c @@ -408,6 +408,13 @@ static OPENTYPE_FEATURE_RECORD tibetan_features[] = { MS_MAKE_TAG('b','l','w','s'), 1}, }; +static OPENTYPE_FEATURE_RECORD phags_features[] = +{ + { MS_MAKE_TAG('a','b','v','s'), 1}, + { MS_MAKE_TAG('b','l','w','s'), 1}, + { MS_MAKE_TAG('c','a','l','t'), 1}, +}; + static OPENTYPE_FEATURE_RECORD thai_features[] = { { MS_MAKE_TAG('c','c','m','p'), 1}, @@ -563,7 +570,7 @@ static const ScriptShapeData ShapingData[] = {{ sinhala_features, 3}, NULL, "sinh", "", ContextualShape_Sinhala, ShapeCharGlyphProp_Sinhala}, {{ tibetan_features, 2}, NULL, "tibt", "", NULL, ShapeCharGlyphProp_Tibet}, {{ tibetan_features, 2}, NULL, "tibt", "", NULL, ShapeCharGlyphProp_Tibet}, - {{ tibetan_features, 2}, NULL, "phag", "", ContextualShape_Phags_pa, ShapeCharGlyphProp_Thai}, + {{ phags_features, 3}, NULL, "phag", "", ContextualShape_Phags_pa, ShapeCharGlyphProp_Thai}, {{ thai_features, 1}, NULL, "thai", "", NULL, ShapeCharGlyphProp_Thai}, {{ thai_features, 1}, NULL, "thai", "", NULL, ShapeCharGlyphProp_Thai}, {{ thai_features, 1}, required_lao_features, "lao", "", NULL, ShapeCharGlyphProp_Thai}, -- 2.11.4.GIT