Commit 628e2850b21596651b65649805ae58b945cd6bef

Sascha Brawer 2017-04-06T12:47:27

[autofit] Add support for Glagolitic script. * src/autofit/afblue.dat: Add blue zone data for Glagolitic. * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated. * src/autofit/afscript.h: Add Glagolitic standard characters. * src/autofit/afranges.c, src/autofit/afstyles.h: Add Glagolitic data.

diff --git a/ChangeLog b/ChangeLog
index fc6710f..09774a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,18 @@
 2017-04-06  Sascha Brawer  <sascha@google.com>
 	    Werner Lemberg  <wl@gnu.org
 
+	[autofit] Add support for Glagolitic script.
+
+	* src/autofit/afblue.dat: Add blue zone data for Glagolitic.
+	* src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+
+	* src/autofit/afscript.h: Add Glagolitic standard characters.
+
+	* src/autofit/afranges.c, src/autofit/afstyles.h: Add Glagolitic data.
+
+2017-04-06  Sascha Brawer  <sascha@google.com>
+	    Werner Lemberg  <wl@gnu.org
+
 	[autofit] Add support for Tai Viet script.
 
 	* src/autofit/afblue.dat: Add blue zone data for Tai Viet.
diff --git a/src/autofit/afblue.c b/src/autofit/afblue.c
index a37a4e8..3285523 100644
--- a/src/autofit/afblue.c
+++ b/src/autofit/afblue.c
@@ -106,6 +106,14 @@
     '\0',
     '\xE2', '\xB4', '\x84', ' ', '\xE2', '\xB4', '\x85', ' ', '\xE2', '\xB4', '\x94', ' ', '\xE2', '\xB4', '\x95', ' ', '\xE2', '\xB4', '\x81', ' ', '\xE2', '\xB4', '\x82', ' ', '\xE2', '\xB4', '\x98', ' ', '\xE2', '\xB4', '\x9D',  /* ⴄ ⴅ ⴔ ⴕ ⴁ ⴂ ⴘ ⴝ */
     '\0',
+    '\xE2', '\xB0', '\x85', ' ', '\xE2', '\xB0', '\x94', ' ', '\xE2', '\xB0', '\xAA', ' ', '\xE2', '\xB0', '\x84', ' ', '\xE2', '\xB0', '\x82', ' ', '\xE2', '\xB0', '\x8A', ' ', '\xE2', '\xB0', '\xAB', ' ', '\xE2', '\xB0', '\x8B',  /* Ⰵ Ⱄ Ⱚ Ⰴ Ⰲ Ⰺ Ⱛ Ⰻ */
+    '\0',
+    '\xE2', '\xB0', '\x85', ' ', '\xE2', '\xB0', '\x84', ' ', '\xE2', '\xB0', '\x82', ' ', '\xE2', '\xB0', '\xAA', ' ', '\xE2', '\xB0', '\x9E', ' ', '\xE2', '\xB0', '\xA1', ' ', '\xE2', '\xB0', '\x8A', ' ', '\xE2', '\xB0', '\x94',  /* Ⰵ Ⰴ Ⰲ Ⱚ Ⱎ Ⱑ Ⰺ Ⱄ */
+    '\0',
+    '\xE2', '\xB0', '\xB5', ' ', '\xE2', '\xB1', '\x84', ' ', '\xE2', '\xB1', '\x9A', ' ', '\xE2', '\xB0', '\xB4', ' ', '\xE2', '\xB0', '\xB2', ' ', '\xE2', '\xB0', '\xBA', ' ', '\xE2', '\xB1', '\x9B', ' ', '\xE2', '\xB0', '\xBB',  /* ⰵ ⱄ ⱚ ⰴ ⰲ ⰺ ⱛ ⰻ */
+    '\0',
+    '\xE2', '\xB0', '\xB5', ' ', '\xE2', '\xB0', '\xB4', ' ', '\xE2', '\xB0', '\xB2', ' ', '\xE2', '\xB1', '\x9A', ' ', '\xE2', '\xB1', '\x8E', ' ', '\xE2', '\xB1', '\x91', ' ', '\xE2', '\xB0', '\xBA', ' ', '\xE2', '\xB1', '\x84',  /* ⰵ ⰴ ⰲ ⱚ ⱎ ⱑ ⰺ ⱄ */
+    '\0',
     '\xCE', '\x93', ' ', '\xCE', '\x92', ' ', '\xCE', '\x95', ' ', '\xCE', '\x96', ' ', '\xCE', '\x98', ' ', '\xCE', '\x9F', ' ', '\xCE', '\xA9',  /* Γ Β Ε Ζ Θ Ο Ω */
     '\0',
     '\xCE', '\x92', ' ', '\xCE', '\x94', ' ', '\xCE', '\x96', ' ', '\xCE', '\x9E', ' ', '\xCE', '\x98', ' ', '\xCE', '\x9F',  /* Β Δ Ζ Ξ Θ Ο */
@@ -372,6 +380,12 @@
     { AF_BLUE_STRING_GEORGIAN_NUSKHURI_ASCENDER,  AF_BLUE_PROPERTY_LATIN_TOP        },
     { AF_BLUE_STRING_GEORGIAN_NUSKHURI_DESCENDER, 0                                 },
     { AF_BLUE_STRING_MAX,                         0                                 },
+    { AF_BLUE_STRING_GLAGOLITIC_CAPITAL_TOP,    AF_BLUE_PROPERTY_LATIN_TOP        },
+    { AF_BLUE_STRING_GLAGOLITIC_CAPITAL_BOTTOM, 0                                 },
+    { AF_BLUE_STRING_GLAGOLITIC_SMALL_TOP,      AF_BLUE_PROPERTY_LATIN_TOP      |
+                                                AF_BLUE_PROPERTY_LATIN_X_HEIGHT   },
+    { AF_BLUE_STRING_GLAGOLITIC_SMALL_BOTTOM,   0                                 },
+    { AF_BLUE_STRING_MAX,                       0                                 },
     { AF_BLUE_STRING_GREEK_CAPITAL_TOP,     AF_BLUE_PROPERTY_LATIN_TOP        },
     { AF_BLUE_STRING_GREEK_CAPITAL_BOTTOM,  0                                 },
     { AF_BLUE_STRING_GREEK_SMALL_BETA_TOP,  AF_BLUE_PROPERTY_LATIN_TOP        },
diff --git a/src/autofit/afblue.dat b/src/autofit/afblue.dat
index 89e0b06..3f8cac6 100644
--- a/src/autofit/afblue.dat
+++ b/src/autofit/afblue.dat
@@ -173,6 +173,15 @@ AF_BLUE_STRING_ENUM AF_BLUE_STRINGS_ARRAY AF_BLUE_STRING_MAX_LEN:
   AF_BLUE_STRING_GEORGIAN_NUSKHURI_DESCENDER
     "ⴄ ⴅ ⴔ ⴕ ⴁ ⴂ ⴘ ⴝ"
 
+  AF_BLUE_STRING_GLAGOLITIC_CAPITAL_TOP
+    "Ⰵ Ⱄ Ⱚ Ⰴ Ⰲ Ⰺ Ⱛ Ⰻ"
+  AF_BLUE_STRING_GLAGOLITIC_CAPITAL_BOTTOM
+    "Ⰵ Ⰴ Ⰲ Ⱚ Ⱎ Ⱑ Ⰺ Ⱄ"
+  AF_BLUE_STRING_GLAGOLITIC_SMALL_TOP
+    "ⰵ ⱄ ⱚ ⰴ ⰲ ⰺ ⱛ ⰻ"
+  AF_BLUE_STRING_GLAGOLITIC_SMALL_BOTTOM
+    "ⰵ ⰴ ⰲ ⱚ ⱎ ⱑ ⰺ ⱄ"
+
   AF_BLUE_STRING_GREEK_CAPITAL_TOP
     "Γ Β Ε Ζ Θ Ο Ω"
   AF_BLUE_STRING_GREEK_CAPITAL_BOTTOM
@@ -600,6 +609,14 @@ AF_BLUE_STRINGSET_ENUM AF_BLUE_STRINGSETS_ARRAY AF_BLUE_STRINGSET_MAX_LEN:
     { AF_BLUE_STRING_GEORGIAN_NUSKHURI_DESCENDER, 0                                 }
     { AF_BLUE_STRING_MAX,                         0                                 }
 
+  AF_BLUE_STRINGSET_GLAG
+    { AF_BLUE_STRING_GLAGOLITIC_CAPITAL_TOP,    AF_BLUE_PROPERTY_LATIN_TOP        }
+    { AF_BLUE_STRING_GLAGOLITIC_CAPITAL_BOTTOM, 0                                 }
+    { AF_BLUE_STRING_GLAGOLITIC_SMALL_TOP,      AF_BLUE_PROPERTY_LATIN_TOP      |
+                                                AF_BLUE_PROPERTY_LATIN_X_HEIGHT   }
+    { AF_BLUE_STRING_GLAGOLITIC_SMALL_BOTTOM,   0                                 }
+    { AF_BLUE_STRING_MAX,                       0                                 }
+
   AF_BLUE_STRINGSET_GREK
     { AF_BLUE_STRING_GREEK_CAPITAL_TOP,     AF_BLUE_PROPERTY_LATIN_TOP        }
     { AF_BLUE_STRING_GREEK_CAPITAL_BOTTOM,  0                                 }
diff --git a/src/autofit/afblue.h b/src/autofit/afblue.h
index 9c9654c..2cc109b 100644
--- a/src/autofit/afblue.h
+++ b/src/autofit/afblue.h
@@ -117,83 +117,87 @@ FT_BEGIN_HEADER
     AF_BLUE_STRING_GEORGIAN_NUSKHURI_BOTTOM = 959,
     AF_BLUE_STRING_GEORGIAN_NUSKHURI_ASCENDER = 991,
     AF_BLUE_STRING_GEORGIAN_NUSKHURI_DESCENDER = 1023,
-    AF_BLUE_STRING_GREEK_CAPITAL_TOP = 1055,
-    AF_BLUE_STRING_GREEK_CAPITAL_BOTTOM = 1076,
-    AF_BLUE_STRING_GREEK_SMALL_BETA_TOP = 1094,
-    AF_BLUE_STRING_GREEK_SMALL = 1112,
-    AF_BLUE_STRING_GREEK_SMALL_DESCENDER = 1136,
-    AF_BLUE_STRING_GUJARATI_TOP = 1160,
-    AF_BLUE_STRING_GUJARATI_BOTTOM = 1192,
-    AF_BLUE_STRING_GUJARATI_ASCENDER = 1224,
-    AF_BLUE_STRING_GUJARATI_DESCENDER = 1274,
-    AF_BLUE_STRING_GUJARATI_DIGIT_TOP = 1307,
-    AF_BLUE_STRING_GURMUKHI_BASE = 1327,
-    AF_BLUE_STRING_GURMUKHI_HEAD = 1359,
-    AF_BLUE_STRING_GURMUKHI_TOP = 1391,
-    AF_BLUE_STRING_GURMUKHI_BOTTOM = 1423,
-    AF_BLUE_STRING_GURMUKHI_DIGIT_TOP = 1455,
-    AF_BLUE_STRING_HEBREW_TOP = 1475,
-    AF_BLUE_STRING_HEBREW_BOTTOM = 1499,
-    AF_BLUE_STRING_HEBREW_DESCENDER = 1517,
-    AF_BLUE_STRING_KANNADA_TOP = 1532,
-    AF_BLUE_STRING_KANNADA_BOTTOM = 1576,
-    AF_BLUE_STRING_KHMER_TOP = 1608,
-    AF_BLUE_STRING_KHMER_SUBSCRIPT_TOP = 1632,
-    AF_BLUE_STRING_KHMER_BOTTOM = 1672,
-    AF_BLUE_STRING_KHMER_DESCENDER = 1704,
-    AF_BLUE_STRING_KHMER_LARGE_DESCENDER = 1738,
-    AF_BLUE_STRING_KHMER_SYMBOLS_WAXING_TOP = 1825,
-    AF_BLUE_STRING_KHMER_SYMBOLS_WANING_BOTTOM = 1833,
-    AF_BLUE_STRING_LAO_TOP = 1841,
-    AF_BLUE_STRING_LAO_BOTTOM = 1873,
-    AF_BLUE_STRING_LAO_ASCENDER = 1905,
-    AF_BLUE_STRING_LAO_LARGE_ASCENDER = 1921,
-    AF_BLUE_STRING_LAO_DESCENDER = 1933,
-    AF_BLUE_STRING_LATIN_CAPITAL_TOP = 1957,
-    AF_BLUE_STRING_LATIN_CAPITAL_BOTTOM = 1973,
-    AF_BLUE_STRING_LATIN_SMALL_F_TOP = 1989,
-    AF_BLUE_STRING_LATIN_SMALL_TOP = 2003,
-    AF_BLUE_STRING_LATIN_SMALL_BOTTOM = 2019,
-    AF_BLUE_STRING_LATIN_SMALL_DESCENDER = 2035,
-    AF_BLUE_STRING_LATIN_SUBS_CAPITAL_TOP = 2045,
-    AF_BLUE_STRING_LATIN_SUBS_CAPITAL_BOTTOM = 2065,
-    AF_BLUE_STRING_LATIN_SUBS_SMALL_F_TOP = 2085,
-    AF_BLUE_STRING_LATIN_SUBS_SMALL = 2105,
-    AF_BLUE_STRING_LATIN_SUBS_SMALL_DESCENDER = 2141,
-    AF_BLUE_STRING_LATIN_SUPS_CAPITAL_TOP = 2161,
-    AF_BLUE_STRING_LATIN_SUPS_CAPITAL_BOTTOM = 2192,
-    AF_BLUE_STRING_LATIN_SUPS_SMALL_F_TOP = 2221,
-    AF_BLUE_STRING_LATIN_SUPS_SMALL = 2247,
-    AF_BLUE_STRING_LATIN_SUPS_SMALL_DESCENDER = 2272,
-    AF_BLUE_STRING_MALAYALAM_TOP = 2283,
-    AF_BLUE_STRING_MALAYALAM_BOTTOM = 2327,
-    AF_BLUE_STRING_MYANMAR_TOP = 2359,
-    AF_BLUE_STRING_MYANMAR_BOTTOM = 2391,
-    AF_BLUE_STRING_MYANMAR_ASCENDER = 2423,
-    AF_BLUE_STRING_MYANMAR_DESCENDER = 2451,
-    AF_BLUE_STRING_NKO_TOP = 2483,
-    AF_BLUE_STRING_NKO_BOTTOM = 2507,
-    AF_BLUE_STRING_NKO_SMALL_TOP = 2522,
-    AF_BLUE_STRING_NKO_SMALL_BOTTOM = 2531,
-    AF_BLUE_STRING_OL_CHIKI = 2543,
-    AF_BLUE_STRING_SINHALA_TOP = 2567,
-    AF_BLUE_STRING_SINHALA_BOTTOM = 2599,
-    AF_BLUE_STRING_SINHALA_DESCENDER = 2631,
-    AF_BLUE_STRING_TAI_VIET_TOP = 2675,
-    AF_BLUE_STRING_TAI_VIET_BOTTOM = 2695,
-    AF_BLUE_STRING_TAMIL_TOP = 2707,
-    AF_BLUE_STRING_TAMIL_BOTTOM = 2739,
-    AF_BLUE_STRING_TELUGU_TOP = 2771,
-    AF_BLUE_STRING_TELUGU_BOTTOM = 2799,
-    AF_BLUE_STRING_THAI_TOP = 2827,
-    AF_BLUE_STRING_THAI_BOTTOM = 2851,
-    AF_BLUE_STRING_THAI_ASCENDER = 2879,
-    AF_BLUE_STRING_THAI_LARGE_ASCENDER = 2891,
-    AF_BLUE_STRING_THAI_DESCENDER = 2903,
-    AF_BLUE_STRING_THAI_LARGE_DESCENDER = 2919,
-    AF_BLUE_STRING_THAI_DIGIT_TOP = 2927,
-    AF_BLUE_STRING_TIFINAGH = 2939,
-    af_blue_1_1 = 2970,
+    AF_BLUE_STRING_GLAGOLITIC_CAPITAL_TOP = 1055,
+    AF_BLUE_STRING_GLAGOLITIC_CAPITAL_BOTTOM = 1087,
+    AF_BLUE_STRING_GLAGOLITIC_SMALL_TOP = 1119,
+    AF_BLUE_STRING_GLAGOLITIC_SMALL_BOTTOM = 1151,
+    AF_BLUE_STRING_GREEK_CAPITAL_TOP = 1183,
+    AF_BLUE_STRING_GREEK_CAPITAL_BOTTOM = 1204,
+    AF_BLUE_STRING_GREEK_SMALL_BETA_TOP = 1222,
+    AF_BLUE_STRING_GREEK_SMALL = 1240,
+    AF_BLUE_STRING_GREEK_SMALL_DESCENDER = 1264,
+    AF_BLUE_STRING_GUJARATI_TOP = 1288,
+    AF_BLUE_STRING_GUJARATI_BOTTOM = 1320,
+    AF_BLUE_STRING_GUJARATI_ASCENDER = 1352,
+    AF_BLUE_STRING_GUJARATI_DESCENDER = 1402,
+    AF_BLUE_STRING_GUJARATI_DIGIT_TOP = 1435,
+    AF_BLUE_STRING_GURMUKHI_BASE = 1455,
+    AF_BLUE_STRING_GURMUKHI_HEAD = 1487,
+    AF_BLUE_STRING_GURMUKHI_TOP = 1519,
+    AF_BLUE_STRING_GURMUKHI_BOTTOM = 1551,
+    AF_BLUE_STRING_GURMUKHI_DIGIT_TOP = 1583,
+    AF_BLUE_STRING_HEBREW_TOP = 1603,
+    AF_BLUE_STRING_HEBREW_BOTTOM = 1627,
+    AF_BLUE_STRING_HEBREW_DESCENDER = 1645,
+    AF_BLUE_STRING_KANNADA_TOP = 1660,
+    AF_BLUE_STRING_KANNADA_BOTTOM = 1704,
+    AF_BLUE_STRING_KHMER_TOP = 1736,
+    AF_BLUE_STRING_KHMER_SUBSCRIPT_TOP = 1760,
+    AF_BLUE_STRING_KHMER_BOTTOM = 1800,
+    AF_BLUE_STRING_KHMER_DESCENDER = 1832,
+    AF_BLUE_STRING_KHMER_LARGE_DESCENDER = 1866,
+    AF_BLUE_STRING_KHMER_SYMBOLS_WAXING_TOP = 1953,
+    AF_BLUE_STRING_KHMER_SYMBOLS_WANING_BOTTOM = 1961,
+    AF_BLUE_STRING_LAO_TOP = 1969,
+    AF_BLUE_STRING_LAO_BOTTOM = 2001,
+    AF_BLUE_STRING_LAO_ASCENDER = 2033,
+    AF_BLUE_STRING_LAO_LARGE_ASCENDER = 2049,
+    AF_BLUE_STRING_LAO_DESCENDER = 2061,
+    AF_BLUE_STRING_LATIN_CAPITAL_TOP = 2085,
+    AF_BLUE_STRING_LATIN_CAPITAL_BOTTOM = 2101,
+    AF_BLUE_STRING_LATIN_SMALL_F_TOP = 2117,
+    AF_BLUE_STRING_LATIN_SMALL_TOP = 2131,
+    AF_BLUE_STRING_LATIN_SMALL_BOTTOM = 2147,
+    AF_BLUE_STRING_LATIN_SMALL_DESCENDER = 2163,
+    AF_BLUE_STRING_LATIN_SUBS_CAPITAL_TOP = 2173,
+    AF_BLUE_STRING_LATIN_SUBS_CAPITAL_BOTTOM = 2193,
+    AF_BLUE_STRING_LATIN_SUBS_SMALL_F_TOP = 2213,
+    AF_BLUE_STRING_LATIN_SUBS_SMALL = 2233,
+    AF_BLUE_STRING_LATIN_SUBS_SMALL_DESCENDER = 2269,
+    AF_BLUE_STRING_LATIN_SUPS_CAPITAL_TOP = 2289,
+    AF_BLUE_STRING_LATIN_SUPS_CAPITAL_BOTTOM = 2320,
+    AF_BLUE_STRING_LATIN_SUPS_SMALL_F_TOP = 2349,
+    AF_BLUE_STRING_LATIN_SUPS_SMALL = 2375,
+    AF_BLUE_STRING_LATIN_SUPS_SMALL_DESCENDER = 2400,
+    AF_BLUE_STRING_MALAYALAM_TOP = 2411,
+    AF_BLUE_STRING_MALAYALAM_BOTTOM = 2455,
+    AF_BLUE_STRING_MYANMAR_TOP = 2487,
+    AF_BLUE_STRING_MYANMAR_BOTTOM = 2519,
+    AF_BLUE_STRING_MYANMAR_ASCENDER = 2551,
+    AF_BLUE_STRING_MYANMAR_DESCENDER = 2579,
+    AF_BLUE_STRING_NKO_TOP = 2611,
+    AF_BLUE_STRING_NKO_BOTTOM = 2635,
+    AF_BLUE_STRING_NKO_SMALL_TOP = 2650,
+    AF_BLUE_STRING_NKO_SMALL_BOTTOM = 2659,
+    AF_BLUE_STRING_OL_CHIKI = 2671,
+    AF_BLUE_STRING_SINHALA_TOP = 2695,
+    AF_BLUE_STRING_SINHALA_BOTTOM = 2727,
+    AF_BLUE_STRING_SINHALA_DESCENDER = 2759,
+    AF_BLUE_STRING_TAI_VIET_TOP = 2803,
+    AF_BLUE_STRING_TAI_VIET_BOTTOM = 2823,
+    AF_BLUE_STRING_TAMIL_TOP = 2835,
+    AF_BLUE_STRING_TAMIL_BOTTOM = 2867,
+    AF_BLUE_STRING_TELUGU_TOP = 2899,
+    AF_BLUE_STRING_TELUGU_BOTTOM = 2927,
+    AF_BLUE_STRING_THAI_TOP = 2955,
+    AF_BLUE_STRING_THAI_BOTTOM = 2979,
+    AF_BLUE_STRING_THAI_ASCENDER = 3007,
+    AF_BLUE_STRING_THAI_LARGE_ASCENDER = 3019,
+    AF_BLUE_STRING_THAI_DESCENDER = 3031,
+    AF_BLUE_STRING_THAI_LARGE_DESCENDER = 3047,
+    AF_BLUE_STRING_THAI_DIGIT_TOP = 3055,
+    AF_BLUE_STRING_TIFINAGH = 3067,
+    af_blue_1_1 = 3098,
 #ifdef AF_CONFIG_OPTION_CJK
     AF_BLUE_STRING_CJK_TOP = af_blue_1_1 + 1,
     AF_BLUE_STRING_CJK_BOTTOM = af_blue_1_1 + 203,
@@ -262,29 +266,30 @@ FT_BEGIN_HEADER
     AF_BLUE_STRINGSET_ETHI = 40,
     AF_BLUE_STRINGSET_GEOR = 43,
     AF_BLUE_STRINGSET_GEOK = 48,
-    AF_BLUE_STRINGSET_GREK = 55,
-    AF_BLUE_STRINGSET_GUJR = 62,
-    AF_BLUE_STRINGSET_GURU = 68,
-    AF_BLUE_STRINGSET_HEBR = 74,
-    AF_BLUE_STRINGSET_KNDA = 78,
-    AF_BLUE_STRINGSET_KHMR = 81,
-    AF_BLUE_STRINGSET_KHMS = 87,
-    AF_BLUE_STRINGSET_LAO = 90,
-    AF_BLUE_STRINGSET_LATN = 96,
-    AF_BLUE_STRINGSET_LATB = 103,
-    AF_BLUE_STRINGSET_LATP = 110,
-    AF_BLUE_STRINGSET_MLYM = 117,
-    AF_BLUE_STRINGSET_MYMR = 120,
-    AF_BLUE_STRINGSET_NKOO = 125,
-    AF_BLUE_STRINGSET_NONE = 130,
-    AF_BLUE_STRINGSET_OLCK = 131,
-    AF_BLUE_STRINGSET_SINH = 134,
-    AF_BLUE_STRINGSET_TAML = 138,
-    AF_BLUE_STRINGSET_TAVT = 141,
-    AF_BLUE_STRINGSET_TELU = 144,
-    AF_BLUE_STRINGSET_THAI = 147,
-    AF_BLUE_STRINGSET_TFNG = 155,
-    af_blue_2_1 = 158,
+    AF_BLUE_STRINGSET_GLAG = 55,
+    AF_BLUE_STRINGSET_GREK = 60,
+    AF_BLUE_STRINGSET_GUJR = 67,
+    AF_BLUE_STRINGSET_GURU = 73,
+    AF_BLUE_STRINGSET_HEBR = 79,
+    AF_BLUE_STRINGSET_KNDA = 83,
+    AF_BLUE_STRINGSET_KHMR = 86,
+    AF_BLUE_STRINGSET_KHMS = 92,
+    AF_BLUE_STRINGSET_LAO = 95,
+    AF_BLUE_STRINGSET_LATN = 101,
+    AF_BLUE_STRINGSET_LATB = 108,
+    AF_BLUE_STRINGSET_LATP = 115,
+    AF_BLUE_STRINGSET_MLYM = 122,
+    AF_BLUE_STRINGSET_MYMR = 125,
+    AF_BLUE_STRINGSET_NKOO = 130,
+    AF_BLUE_STRINGSET_NONE = 135,
+    AF_BLUE_STRINGSET_OLCK = 136,
+    AF_BLUE_STRINGSET_SINH = 139,
+    AF_BLUE_STRINGSET_TAML = 143,
+    AF_BLUE_STRINGSET_TAVT = 146,
+    AF_BLUE_STRINGSET_TELU = 149,
+    AF_BLUE_STRINGSET_THAI = 152,
+    AF_BLUE_STRINGSET_TFNG = 160,
+    af_blue_2_1 = 163,
 #ifdef AF_CONFIG_OPTION_CJK
     AF_BLUE_STRINGSET_HANI = af_blue_2_1 + 0,
     af_blue_2_1_1 = af_blue_2_1 + 2,
diff --git a/src/autofit/afranges.c b/src/autofit/afranges.c
index 451bac0..2e743de 100644
--- a/src/autofit/afranges.c
+++ b/src/autofit/afranges.c
@@ -246,6 +246,19 @@
   };
 
 
+  const AF_Script_UniRangeRec  af_glag_uniranges[] =
+  {
+    AF_UNIRANGE_REC(  0x2C00,  0x2C5F ),  /* Glagolitic */
+    AF_UNIRANGE_REC( 0x1E000, 0x1E02F ),  /* Glagolitic Supplement */
+    AF_UNIRANGE_REC(       0,       0 )
+  };
+
+  const AF_Script_UniRangeRec  af_glag_nonbase_uniranges[] =
+  {
+    AF_UNIRANGE_REC( 0x1E000, 0x1E02F )
+  };
+
+
   const AF_Script_UniRangeRec  af_grek_uniranges[] =
   {
     AF_UNIRANGE_REC(  0x0370,  0x03FF ),  /* Greek and Coptic */
diff --git a/src/autofit/afscript.h b/src/autofit/afscript.h
index b74e56b..18834c1 100644
--- a/src/autofit/afscript.h
+++ b/src/autofit/afscript.h
@@ -91,6 +91,12 @@
           HINTING_BOTTOM_TO_TOP,
           "\xE1\x82\xB6 \xE1\x82\xB1 \xE2\xB4\x99" ) /* Ⴖ Ⴑ ⴙ */
 
+  SCRIPT( glag, GLAG,
+          "Glagolitic",
+          HB_SCRIPT_GLAGOLITIC,
+          HINTING_BOTTOM_TO_TOP,
+          "\xE2\xB0\x95 \xE2\xB1\x85" ) /* Ⱅ ⱅ */
+
   SCRIPT( grek, GREK,
           "Greek",
           HB_SCRIPT_GREEK,
diff --git a/src/autofit/afstyles.h b/src/autofit/afstyles.h
index 973508f..8fa82d5 100644
--- a/src/autofit/afstyles.h
+++ b/src/autofit/afstyles.h
@@ -148,6 +148,13 @@
          AF_BLUE_STRINGSET_GEOK,
          AF_COVERAGE_DEFAULT )
 
+  STYLE( glag_dflt, GLAG_DFLT,
+         "Glagolitic default style",
+         AF_WRITING_SYSTEM_LATIN,
+         AF_SCRIPT_GLAG,
+         AF_BLUE_STRINGSET_GLAG,
+         AF_COVERAGE_DEFAULT )
+
   META_STYLE_LATIN( grek, GREK, "Greek" )
 
   STYLE( gujr_dflt, GUJR_DFLT,