shithub: freetype+ttf2subf

Download patch

ref: df266d3e6b657c6220ae1a13b516f03d1a307d21
parent: dde03eec37579ef86ca6a9e04bf290bc85f785ad
author: Werner Lemberg <[email protected]>
date: Wed Mar 20 03:04:06 EDT 2019

[autofit] Fix Mongolian blue zone characters.

* src/autofit/afblue.dat: Use U+200D (ZERO-WIDTH JOINER) characters
to get medial forms for some Mongolian characters.
* src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2019-03-20  Werner Lemberg  <[email protected]>
+
+	[autofit] Fix Mongolian blue zone characters.
+
+	* src/autofit/afblue.dat: Use U+200D (ZERO-WIDTH JOINER) characters
+	to get medial forms for some Mongolian characters.
+	* src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
+
 2019-03-19  Werner Lemberg  <[email protected]>
 
 	[autofit] Add support for Mongolian script.
--- a/src/autofit/afblue.c
+++ b/src/autofit/afblue.c
@@ -296,7 +296,7 @@
     '\0',
     '\xE0', '\xB4', '\x9F', ' ', '\xE0', '\xB4', '\xA0', ' ', '\xE0', '\xB4', '\xA7', ' ', '\xE0', '\xB4', '\xB6', ' ', '\xE0', '\xB4', '\x98', ' ', '\xE0', '\xB4', '\x9A', ' ', '\xE0', '\xB4', '\xA5', ' ', '\xE0', '\xB4', '\xB2',  /* ട ഠ ധ ശ ഘ ച ഥ ല */
     '\0',
-    '\xE1', '\xA0', '\xB3', ' ', '\xE1', '\xA0', '\xB4', ' ', '\xE1', '\xA0', '\xB6', ' ', '\xE1', '\xA0', '\xBD', ' ', '\xE1', '\xA1', '\x82', ' ', '\xE1', '\xA1', '\x8A', ' ', '\xE1', '\xA1', '\xA1', ' ', '\xE1', '\xA1', '\xB3',  /* ᠳ ᠴ ᠶ ᠽ ᡂ ᡊ ᡡ ᡳ */
+    '\xE1', '\xA0', '\xB3', ' ', '\xE1', '\xA0', '\xB4', ' ', '\xE1', '\xA0', '\xB6', ' ', '\xE1', '\xA0', '\xBD', ' ', '\xE1', '\xA1', '\x82', ' ', '\xE1', '\xA1', '\x8A', ' ', '\xE2', '\x80', '\x8D', '\xE1', '\xA1', '\xA1', '\xE2', '\x80', '\x8D', ' ', '\xE2', '\x80', '\x8D', '\xE1', '\xA1', '\xB3', '\xE2', '\x80', '\x8D',  /* ᠳ ᠴ ᠶ ᠽ ᡂ ᡊ ‍ᡡ‍ ‍ᡳ‍ */
     '\0',
     '\xE1', '\xA1', '\x83',  /* ᡃ */
     '\0',
--- a/src/autofit/afblue.dat
+++ b/src/autofit/afblue.dat
@@ -393,7 +393,7 @@
     "ട ഠ ധ ശ ഘ ച ഥ ല"
 
   AF_BLUE_STRING_MONGOLIAN_TOP_BASE
-    "ᠳ ᠴ ᠶ ᠽ ᡂ ᡊ ᡡ ᡳ"
+    "ᠳ ᠴ ᠶ ᠽ ᡂ ᡊ ‍ᡡ‍ ‍ᡳ‍"
   AF_BLUE_STRING_MONGOLIAN_BOTTOM_BASE
     "ᡃ"
 
--- a/src/autofit/afblue.h
+++ b/src/autofit/afblue.h
@@ -213,57 +213,57 @@
     AF_BLUE_STRING_MALAYALAM_TOP = 3538,
     AF_BLUE_STRING_MALAYALAM_BOTTOM = 3582,
     AF_BLUE_STRING_MONGOLIAN_TOP_BASE = 3614,
-    AF_BLUE_STRING_MONGOLIAN_BOTTOM_BASE = 3646,
-    AF_BLUE_STRING_MYANMAR_TOP = 3650,
-    AF_BLUE_STRING_MYANMAR_BOTTOM = 3682,
-    AF_BLUE_STRING_MYANMAR_ASCENDER = 3714,
-    AF_BLUE_STRING_MYANMAR_DESCENDER = 3742,
-    AF_BLUE_STRING_NKO_TOP = 3774,
-    AF_BLUE_STRING_NKO_BOTTOM = 3798,
-    AF_BLUE_STRING_NKO_SMALL_TOP = 3813,
-    AF_BLUE_STRING_NKO_SMALL_BOTTOM = 3822,
-    AF_BLUE_STRING_OL_CHIKI = 3834,
-    AF_BLUE_STRING_OLD_TURKIC_TOP = 3858,
-    AF_BLUE_STRING_OLD_TURKIC_BOTTOM = 3873,
-    AF_BLUE_STRING_OSAGE_CAPITAL_TOP = 3893,
-    AF_BLUE_STRING_OSAGE_CAPITAL_BOTTOM = 3933,
-    AF_BLUE_STRING_OSAGE_CAPITAL_DESCENDER = 3963,
-    AF_BLUE_STRING_OSAGE_SMALL_TOP = 3978,
-    AF_BLUE_STRING_OSAGE_SMALL_BOTTOM = 4018,
-    AF_BLUE_STRING_OSAGE_SMALL_ASCENDER = 4058,
-    AF_BLUE_STRING_OSAGE_SMALL_DESCENDER = 4083,
-    AF_BLUE_STRING_OSMANYA_TOP = 4098,
-    AF_BLUE_STRING_OSMANYA_BOTTOM = 4138,
-    AF_BLUE_STRING_SAURASHTRA_TOP = 4178,
-    AF_BLUE_STRING_SAURASHTRA_BOTTOM = 4210,
-    AF_BLUE_STRING_SHAVIAN_TOP = 4230,
-    AF_BLUE_STRING_SHAVIAN_BOTTOM = 4240,
-    AF_BLUE_STRING_SHAVIAN_DESCENDER = 4265,
-    AF_BLUE_STRING_SHAVIAN_SMALL_TOP = 4275,
-    AF_BLUE_STRING_SHAVIAN_SMALL_BOTTOM = 4310,
-    AF_BLUE_STRING_SINHALA_TOP = 4325,
-    AF_BLUE_STRING_SINHALA_BOTTOM = 4357,
-    AF_BLUE_STRING_SINHALA_DESCENDER = 4389,
-    AF_BLUE_STRING_SUNDANESE_TOP = 4433,
-    AF_BLUE_STRING_SUNDANESE_BOTTOM = 4457,
-    AF_BLUE_STRING_SUNDANESE_DESCENDER = 4489,
-    AF_BLUE_STRING_TAI_VIET_TOP = 4497,
-    AF_BLUE_STRING_TAI_VIET_BOTTOM = 4517,
-    AF_BLUE_STRING_TAMIL_TOP = 4529,
-    AF_BLUE_STRING_TAMIL_BOTTOM = 4561,
-    AF_BLUE_STRING_TELUGU_TOP = 4593,
-    AF_BLUE_STRING_TELUGU_BOTTOM = 4621,
-    AF_BLUE_STRING_THAI_TOP = 4649,
-    AF_BLUE_STRING_THAI_BOTTOM = 4673,
-    AF_BLUE_STRING_THAI_ASCENDER = 4701,
-    AF_BLUE_STRING_THAI_LARGE_ASCENDER = 4713,
-    AF_BLUE_STRING_THAI_DESCENDER = 4725,
-    AF_BLUE_STRING_THAI_LARGE_DESCENDER = 4741,
-    AF_BLUE_STRING_THAI_DIGIT_TOP = 4749,
-    AF_BLUE_STRING_TIFINAGH = 4761,
-    AF_BLUE_STRING_VAI_TOP = 4793,
-    AF_BLUE_STRING_VAI_BOTTOM = 4825,
-    af_blue_1_1 = 4856,
+    AF_BLUE_STRING_MONGOLIAN_BOTTOM_BASE = 3658,
+    AF_BLUE_STRING_MYANMAR_TOP = 3662,
+    AF_BLUE_STRING_MYANMAR_BOTTOM = 3694,
+    AF_BLUE_STRING_MYANMAR_ASCENDER = 3726,
+    AF_BLUE_STRING_MYANMAR_DESCENDER = 3754,
+    AF_BLUE_STRING_NKO_TOP = 3786,
+    AF_BLUE_STRING_NKO_BOTTOM = 3810,
+    AF_BLUE_STRING_NKO_SMALL_TOP = 3825,
+    AF_BLUE_STRING_NKO_SMALL_BOTTOM = 3834,
+    AF_BLUE_STRING_OL_CHIKI = 3846,
+    AF_BLUE_STRING_OLD_TURKIC_TOP = 3870,
+    AF_BLUE_STRING_OLD_TURKIC_BOTTOM = 3885,
+    AF_BLUE_STRING_OSAGE_CAPITAL_TOP = 3905,
+    AF_BLUE_STRING_OSAGE_CAPITAL_BOTTOM = 3945,
+    AF_BLUE_STRING_OSAGE_CAPITAL_DESCENDER = 3975,
+    AF_BLUE_STRING_OSAGE_SMALL_TOP = 3990,
+    AF_BLUE_STRING_OSAGE_SMALL_BOTTOM = 4030,
+    AF_BLUE_STRING_OSAGE_SMALL_ASCENDER = 4070,
+    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,
 #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,