Aric Stewart : usp10: Phags-Pa wants the calt feature enabled.

Alexandre Julliard julliard at winehq.org
Fri Dec 2 10:58:28 CST 2011


Module: wine
Branch: master
Commit: ceca716999dc6dd90d5fb816221d68f416ce18aa
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ceca716999dc6dd90d5fb816221d68f416ce18aa

Author: Aric Stewart <aric at codeweavers.com>
Date:   Fri Dec  2 07:22:13 2011 -0600

usp10: Phags-Pa wants the calt feature enabled.

---

 dlls/usp10/shape.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/dlls/usp10/shape.c b/dlls/usp10/shape.c
index 36fa404..7772573 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},




More information about the wine-cvs mailing list