Aric Stewart : usp10: Add Georgian script.

Alexandre Julliard julliard at winehq.org
Tue Aug 24 11:09:18 CDT 2010


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

Author: Aric Stewart <aric at codeweavers.com>
Date:   Mon Aug 23 13:58:21 2010 -0500

usp10: Add Georgian script.

---

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

diff --git a/dlls/usp10/shape.c b/dlls/usp10/shape.c
index 92452f8..f48210e 100644
--- a/dlls/usp10/shape.c
+++ b/dlls/usp10/shape.c
@@ -309,6 +309,7 @@ static const ScriptShapeData ShapingData[] =
     {{ standard_features, 2}, "grek", NULL},
     {{ standard_features, 2}, "cyrl", NULL},
     {{ standard_features, 2}, "armn", NULL},
+    {{ standard_features, 2}, "geor", NULL},
 };
 
 static INT GSUB_is_glyph_covered(LPCVOID table , UINT glyph)
diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index b59df43..aac53f2 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -77,6 +77,8 @@ static const scriptRange scriptRanges[] = {
     { Script_Arabic,     0x750,  0x77f,  0, 0},
     /* Thaana: U+0780–U+07BF */
     { Script_Thaana,     0x780,  0x7bf,  0, 0},
+    /* Georgian: U+10A0–U+10FF */
+    { Script_Georgian,   0x10a0,  0x10ff,  0, 0},
     /* Phonetic Extensions: U+1D00–U+1DBF */
     { Script_Latin,      0x1d00, 0x1dbf, 0, 0},
     /* Latin Extended Additional: U+1E00–U+1EFF */
@@ -85,6 +87,8 @@ static const scriptRange scriptRanges[] = {
     { Script_Greek,      0x1f00, 0x1fff, 0, 0},
     /* Latin Extended-C: U+2C60–U+2C7F */
     { Script_Latin,      0x2c60, 0x2c7f, 0, 0},
+    /* Georgian: U+2D00–U+2D2F */
+    { Script_Georgian,   0x2d00,  0x2d2f,  0, 0},
     /* Cyrillic Extended-A: U+2DE0–U+2DFF */
     { Script_Cyrillic,   0x2de0, 0x2dff,  0, 0},
     /* Cyrillic Extended-B: U+A640–U+A69F */
@@ -144,6 +148,8 @@ static const scriptData scriptInformation[] = {
      {LANG_RUSSIAN, 0, 0, 0, 0, RUSSIAN_CHARSET, 0, 0, 0, 0, 0, 0, 0, 0, 0}},
     {{Script_Armenian, 0, 0, 0, 0, 0, 0, { 0,0,0,0,0,0,0,0,0,0,0}},
      {LANG_ARMENIAN, 0, 0, 0, 0, ANSI_CHARSET, 0, 0, 0, 0, 0, 0, 1, 0, 0}},
+    {{Script_Georgian, 0, 0, 0, 0, 0, 0, { 0,0,0,0,0,0,0,0,0,0,0}},
+     {LANG_GEORGIAN, 0, 0, 0, 0, ANSI_CHARSET, 0, 0, 0, 0, 0, 0, 1, 0, 0}},
 };
 
 static const SCRIPT_PROPERTIES *script_props[] =
@@ -155,7 +161,7 @@ static const SCRIPT_PROPERTIES *script_props[] =
     &scriptInformation[8].props, &scriptInformation[9].props,
     &scriptInformation[10].props, &scriptInformation[11].props,
     &scriptInformation[12].props, &scriptInformation[13].props,
-    &scriptInformation[14].props
+    &scriptInformation[14].props, &scriptInformation[15].props
 };
 
 typedef struct {
diff --git a/dlls/usp10/usp10_internal.h b/dlls/usp10/usp10_internal.h
index b861c02..6a3cb1b 100644
--- a/dlls/usp10/usp10_internal.h
+++ b/dlls/usp10/usp10_internal.h
@@ -33,6 +33,7 @@
 #define Script_Greek   12
 #define Script_Cyrillic   13
 #define Script_Armenian 14
+#define Script_Georgian 15
 
 #define GLYPH_BLOCK_SHIFT 8
 #define GLYPH_BLOCK_SIZE  (1UL << GLYPH_BLOCK_SHIFT)




More information about the wine-cvs mailing list