[autofit] Add support for Hanifi Rohingya script. * src/autofit/afblue.dat: Add blue zone data for Hanifi Rohingya. * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated. * src/autofit/afscript.h: Add Hanifi Rohingya standard character. * src/autofit/afranges.c, src/autofit/afstyles.h: Add Hanifi Rohingya data.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241
diff --git a/ChangeLog b/ChangeLog
index aada235..e7b3e7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2020-02-19 Nikolaus Waxweiler <nikolaus.waxweiler@daltonmaag.com>
+
+ [autofit] Add support for Hanifi Rohingya script.
+
+ * src/autofit/afblue.dat: Add blue zone data for Hanifi Rohingya.
+ * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+
+ * src/autofit/afscript.h: Add Hanifi Rohingya standard character.
+
+ * src/autofit/afranges.c, src/autofit/afstyles.h: Add Hanifi
+ Rohingya data.
+
2020-02-19 Werner Lemberg <wl@gnu.org>
Require HarfBuzz 1.8.
diff --git a/src/autofit/afblue.c b/src/autofit/afblue.c
index a82f74e..63f9ed4 100644
--- a/src/autofit/afblue.c
+++ b/src/autofit/afblue.c
@@ -340,6 +340,12 @@
'\0',
'\xF0', '\x90', '\x92', '\x80', ' ', '\xF0', '\x90', '\x92', '\x82', ' ', '\xF0', '\x90', '\x92', '\x86', ' ', '\xF0', '\x90', '\x92', '\x88', ' ', '\xF0', '\x90', '\x92', '\x8A', ' ', '\xF0', '\x90', '\x92', '\x92', ' ', '\xF0', '\x90', '\x92', '\xA0', ' ', '\xF0', '\x90', '\x92', '\xA9', /* ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ฉ */
'\0',
+ '\xF0', '\x90', '\xB4', '\x83', ' ', '\xF0', '\x90', '\xB4', '\x80', ' ', '\xF0', '\x90', '\xB4', '\x86', ' ', '\xF0', '\x90', '\xB4', '\x96', ' ', '\xF0', '\x90', '\xB4', '\x95', /* ๐ด ๐ด ๐ด ๐ด ๐ด */
+ '\0',
+ '\xF0', '\x90', '\xB4', '\x94', ' ', '\xF0', '\x90', '\xB4', '\x96', ' ', '\xF0', '\x90', '\xB4', '\x95', ' ', '\xF0', '\x90', '\xB4', '\x91', ' ', '\xF0', '\x90', '\xB4', '\x90', /* ๐ด ๐ด ๐ด ๐ด ๐ด */
+ '\0',
+ '\xD9', '\x80', /* ู */
+ '\0',
'\xEA', '\xA2', '\x9C', ' ', '\xEA', '\xA2', '\x9E', ' ', '\xEA', '\xA2', '\xB3', ' ', '\xEA', '\xA2', '\x82', ' ', '\xEA', '\xA2', '\x96', ' ', '\xEA', '\xA2', '\x92', ' ', '\xEA', '\xA2', '\x9D', ' ', '\xEA', '\xA2', '\x9B', /* ๊ข ๊ข ๊ขณ ๊ข ๊ข ๊ข ๊ข ๊ข */
'\0',
'\xEA', '\xA2', '\x82', ' ', '\xEA', '\xA2', '\xA8', ' ', '\xEA', '\xA2', '\xBA', ' ', '\xEA', '\xA2', '\xA4', ' ', '\xEA', '\xA2', '\x8E', /* ๊ข ๊ขจ ๊ขบ ๊ขค ๊ข */
@@ -687,6 +693,10 @@
{ AF_BLUE_STRING_OSMANYA_TOP, AF_BLUE_PROPERTY_LATIN_TOP },
{ AF_BLUE_STRING_OSMANYA_BOTTOM, 0 },
{ AF_BLUE_STRING_MAX, 0 },
+ { AF_BLUE_STRING_ROHINGYA_TOP, AF_BLUE_PROPERTY_LATIN_TOP },
+ { AF_BLUE_STRING_ROHINGYA_BOTTOM, 0 },
+ { AF_BLUE_STRING_ROHINGYA_JOIN, AF_BLUE_PROPERTY_LATIN_NEUTRAL },
+ { AF_BLUE_STRING_MAX, 0 },
{ AF_BLUE_STRING_SAURASHTRA_TOP, AF_BLUE_PROPERTY_LATIN_TOP },
{ AF_BLUE_STRING_SAURASHTRA_BOTTOM, 0 },
{ AF_BLUE_STRING_MAX, 0 },
diff --git a/src/autofit/afblue.dat b/src/autofit/afblue.dat
index b964986..f8356ba 100644
--- a/src/autofit/afblue.dat
+++ b/src/autofit/afblue.dat
@@ -443,6 +443,13 @@ AF_BLUE_STRING_ENUM AF_BLUE_STRINGS_ARRAY AF_BLUE_STRING_MAX_LEN:
AF_BLUE_STRING_OSMANYA_BOTTOM
"๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ฉ"
+ AF_BLUE_STRING_ROHINGYA_TOP
+ "๐ด ๐ด ๐ด ๐ด ๐ด"
+ AF_BLUE_STRING_ROHINGYA_BOTTOM
+ "๐ด ๐ด ๐ด ๐ด ๐ด"
+ AF_BLUE_STRING_ROHINGYA_JOIN
+ "ู"
+
AF_BLUE_STRING_SAURASHTRA_TOP
"๊ข ๊ข ๊ขณ ๊ข ๊ข ๊ข ๊ข ๊ข"
AF_BLUE_STRING_SAURASHTRA_BOTTOM
@@ -1002,6 +1009,12 @@ AF_BLUE_STRINGSET_ENUM AF_BLUE_STRINGSETS_ARRAY AF_BLUE_STRINGSET_MAX_LEN:
{ AF_BLUE_STRING_OSMANYA_BOTTOM, 0 }
{ AF_BLUE_STRING_MAX, 0 }
+ AF_BLUE_STRINGSET_ROHG
+ { AF_BLUE_STRING_ROHINGYA_TOP, AF_BLUE_PROPERTY_LATIN_TOP }
+ { AF_BLUE_STRING_ROHINGYA_BOTTOM, 0 }
+ { AF_BLUE_STRING_ROHINGYA_JOIN, AF_BLUE_PROPERTY_LATIN_NEUTRAL }
+ { AF_BLUE_STRING_MAX, 0 }
+
AF_BLUE_STRINGSET_SAUR
{ AF_BLUE_STRING_SAURASHTRA_TOP, AF_BLUE_PROPERTY_LATIN_TOP }
{ AF_BLUE_STRING_SAURASHTRA_BOTTOM, 0 }
diff --git a/src/autofit/afblue.h b/src/autofit/afblue.h
index f0d7183..2b6a5cd 100644
--- a/src/autofit/afblue.h
+++ b/src/autofit/afblue.h
@@ -234,36 +234,39 @@ FT_BEGIN_HEADER
AF_BLUE_STRING_OSAGE_SMALL_DESCENDER = 4095,
AF_BLUE_STRING_OSMANYA_TOP = 4110,
AF_BLUE_STRING_OSMANYA_BOTTOM = 4150,
- AF_BLUE_STRING_SAURASHTRA_TOP = 4190,
- AF_BLUE_STRING_SAURASHTRA_BOTTOM = 4222,
- AF_BLUE_STRING_SHAVIAN_TOP = 4242,
- AF_BLUE_STRING_SHAVIAN_BOTTOM = 4252,
- AF_BLUE_STRING_SHAVIAN_DESCENDER = 4277,
- AF_BLUE_STRING_SHAVIAN_SMALL_TOP = 4287,
- AF_BLUE_STRING_SHAVIAN_SMALL_BOTTOM = 4322,
- AF_BLUE_STRING_SINHALA_TOP = 4337,
- AF_BLUE_STRING_SINHALA_BOTTOM = 4369,
- AF_BLUE_STRING_SINHALA_DESCENDER = 4401,
- AF_BLUE_STRING_SUNDANESE_TOP = 4445,
- AF_BLUE_STRING_SUNDANESE_BOTTOM = 4469,
- AF_BLUE_STRING_SUNDANESE_DESCENDER = 4501,
- AF_BLUE_STRING_TAI_VIET_TOP = 4509,
- AF_BLUE_STRING_TAI_VIET_BOTTOM = 4529,
- AF_BLUE_STRING_TAMIL_TOP = 4541,
- AF_BLUE_STRING_TAMIL_BOTTOM = 4573,
- AF_BLUE_STRING_TELUGU_TOP = 4605,
- AF_BLUE_STRING_TELUGU_BOTTOM = 4633,
- AF_BLUE_STRING_THAI_TOP = 4661,
- AF_BLUE_STRING_THAI_BOTTOM = 4685,
- AF_BLUE_STRING_THAI_ASCENDER = 4713,
- AF_BLUE_STRING_THAI_LARGE_ASCENDER = 4725,
- AF_BLUE_STRING_THAI_DESCENDER = 4737,
- AF_BLUE_STRING_THAI_LARGE_DESCENDER = 4753,
- AF_BLUE_STRING_THAI_DIGIT_TOP = 4761,
- AF_BLUE_STRING_TIFINAGH = 4773,
- AF_BLUE_STRING_VAI_TOP = 4805,
- AF_BLUE_STRING_VAI_BOTTOM = 4837,
- af_blue_1_1 = 4868,
+ AF_BLUE_STRING_ROHINGYA_TOP = 4190,
+ AF_BLUE_STRING_ROHINGYA_BOTTOM = 4215,
+ AF_BLUE_STRING_ROHINGYA_JOIN = 4240,
+ AF_BLUE_STRING_SAURASHTRA_TOP = 4243,
+ AF_BLUE_STRING_SAURASHTRA_BOTTOM = 4275,
+ AF_BLUE_STRING_SHAVIAN_TOP = 4295,
+ AF_BLUE_STRING_SHAVIAN_BOTTOM = 4305,
+ AF_BLUE_STRING_SHAVIAN_DESCENDER = 4330,
+ AF_BLUE_STRING_SHAVIAN_SMALL_TOP = 4340,
+ AF_BLUE_STRING_SHAVIAN_SMALL_BOTTOM = 4375,
+ AF_BLUE_STRING_SINHALA_TOP = 4390,
+ AF_BLUE_STRING_SINHALA_BOTTOM = 4422,
+ AF_BLUE_STRING_SINHALA_DESCENDER = 4454,
+ AF_BLUE_STRING_SUNDANESE_TOP = 4498,
+ AF_BLUE_STRING_SUNDANESE_BOTTOM = 4522,
+ AF_BLUE_STRING_SUNDANESE_DESCENDER = 4554,
+ AF_BLUE_STRING_TAI_VIET_TOP = 4562,
+ AF_BLUE_STRING_TAI_VIET_BOTTOM = 4582,
+ AF_BLUE_STRING_TAMIL_TOP = 4594,
+ AF_BLUE_STRING_TAMIL_BOTTOM = 4626,
+ AF_BLUE_STRING_TELUGU_TOP = 4658,
+ AF_BLUE_STRING_TELUGU_BOTTOM = 4686,
+ AF_BLUE_STRING_THAI_TOP = 4714,
+ AF_BLUE_STRING_THAI_BOTTOM = 4738,
+ AF_BLUE_STRING_THAI_ASCENDER = 4766,
+ AF_BLUE_STRING_THAI_LARGE_ASCENDER = 4778,
+ AF_BLUE_STRING_THAI_DESCENDER = 4790,
+ AF_BLUE_STRING_THAI_LARGE_DESCENDER = 4806,
+ AF_BLUE_STRING_THAI_DIGIT_TOP = 4814,
+ AF_BLUE_STRING_TIFINAGH = 4826,
+ AF_BLUE_STRING_VAI_TOP = 4858,
+ AF_BLUE_STRING_VAI_BOTTOM = 4890,
+ af_blue_1_1 = 4921,
#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,
@@ -365,17 +368,18 @@ FT_BEGIN_HEADER
AF_BLUE_STRINGSET_ORKH = 196,
AF_BLUE_STRINGSET_OSGE = 199,
AF_BLUE_STRINGSET_OSMA = 207,
- AF_BLUE_STRINGSET_SAUR = 210,
- AF_BLUE_STRINGSET_SHAW = 213,
- AF_BLUE_STRINGSET_SINH = 219,
- AF_BLUE_STRINGSET_SUND = 223,
- AF_BLUE_STRINGSET_TAML = 227,
- AF_BLUE_STRINGSET_TAVT = 230,
- AF_BLUE_STRINGSET_TELU = 233,
- AF_BLUE_STRINGSET_TFNG = 236,
- AF_BLUE_STRINGSET_THAI = 239,
- AF_BLUE_STRINGSET_VAII = 247,
- af_blue_2_1 = 250,
+ AF_BLUE_STRINGSET_ROHG = 210,
+ AF_BLUE_STRINGSET_SAUR = 214,
+ AF_BLUE_STRINGSET_SHAW = 217,
+ AF_BLUE_STRINGSET_SINH = 223,
+ AF_BLUE_STRINGSET_SUND = 227,
+ AF_BLUE_STRINGSET_TAML = 231,
+ AF_BLUE_STRINGSET_TAVT = 234,
+ AF_BLUE_STRINGSET_TELU = 237,
+ AF_BLUE_STRINGSET_TFNG = 240,
+ AF_BLUE_STRINGSET_THAI = 243,
+ AF_BLUE_STRINGSET_VAII = 251,
+ af_blue_2_1 = 254,
#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 6a02598..d6ecf88 100644
--- a/src/autofit/afranges.c
+++ b/src/autofit/afranges.c
@@ -778,6 +778,18 @@
};
+ const AF_Script_UniRangeRec af_rohg_uniranges[] =
+ {
+ AF_UNIRANGE_REC( 0x10D00, 0x10D3F ), /* Hanifi Rohingya */
+ AF_UNIRANGE_REC( 0, 0 )
+ };
+
+ const AF_Script_UniRangeRec af_rohg_nonbase_uniranges[] =
+ {
+ AF_UNIRANGE_REC( 0, 0 )
+ };
+
+
const AF_Script_UniRangeRec af_saur_uniranges[] =
{
AF_UNIRANGE_REC( 0xA880, 0xA8DF ), /* Saurashtra */
diff --git a/src/autofit/afscript.h b/src/autofit/afscript.h
index ad871ff..36caadd 100644
--- a/src/autofit/afscript.h
+++ b/src/autofit/afscript.h
@@ -291,6 +291,12 @@
HINTING_BOTTOM_TO_TOP,
"\xF0\x90\x92\x86 \xF0\x90\x92\xA0" ) /* ๐ ๐ */
+ SCRIPT( rohg, ROHG,
+ "Hanifi Rohingya",
+ HB_SCRIPT_HANIFI_ROHINGYA,
+ HINTING_BOTTOM_TO_TOP,
+ "\xF0\x90\xB4\xB0" ) /* ๐ดฐ */
+
SCRIPT( saur, SAUR,
"Saurashtra",
HB_SCRIPT_SAURASHTRA,
diff --git a/src/autofit/afstyles.h b/src/autofit/afstyles.h
index 0dac32a..8d411ab 100644
--- a/src/autofit/afstyles.h
+++ b/src/autofit/afstyles.h
@@ -378,6 +378,13 @@
AF_BLUE_STRINGSET_OSMA,
AF_COVERAGE_DEFAULT )
+ STYLE( rohg_dflt, ROHG_DFLT,
+ "Hanifi Rohingya default style",
+ AF_WRITING_SYSTEM_LATIN,
+ AF_SCRIPT_ROHG,
+ AF_BLUE_STRINGSET_ROHG,
+ AF_COVERAGE_DEFAULT )
+
STYLE( saur_dflt, SAUR_DFLT,
"Saurashtra default style",
AF_WRITING_SYSTEM_LATIN,