[Thai] Reorder U+0E3A THAI VOWEL SIGN PHINTHU
Uniscribe reorders U+0E3A to be after U+0E38 and U+0E39. We do that by modifying the ccc for U+0E3A. Fixes the two remaining Thai failures (see previous commit).
This commit is contained in:
parent
4a7f4f3e56
commit
42848453bf
|
@ -132,6 +132,13 @@ _hb_ot_shape_complex_setup_masks_thai (hb_ot_map_t *map HB_UNUSED,
|
||||||
* chattawa.
|
* chattawa.
|
||||||
*
|
*
|
||||||
* Same for Lao.
|
* Same for Lao.
|
||||||
|
*
|
||||||
|
* Note:
|
||||||
|
*
|
||||||
|
* Uniscribe also does so below-marks reordering. Namely, it positions U+0E3A
|
||||||
|
* after U+0E38 and U+0E39. We do that by modifying the ccc for U+0E3A.
|
||||||
|
* See _hb_unicode_modified_combining_class (). Lao does NOT have a U+0E3A
|
||||||
|
* equivalent.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -363,6 +363,12 @@ _hb_unicode_modified_combining_class (hb_unicode_funcs_t *ufuncs,
|
||||||
};
|
};
|
||||||
c = permuted_hebrew_classes[c - 10];
|
c = permuted_hebrew_classes[c - 10];
|
||||||
}
|
}
|
||||||
|
else if (unlikely (unicode == 0x0E3A)) /* THAI VOWEL SIGN PHINTHU */
|
||||||
|
{
|
||||||
|
/* Assign 104, so it reorders after the THAI ccc=103 marks.
|
||||||
|
* Uniscribe does this. */
|
||||||
|
c = 104;
|
||||||
|
}
|
||||||
|
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
|
phinthu.txt
|
||||||
sara-am.txt
|
sara-am.txt
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
ป
|
||||||
|
ปฺ
|
||||||
|
ปุ
|
||||||
|
ปู
|
||||||
|
ปุู
|
||||||
|
ปูุ
|
||||||
|
ปฺุ
|
||||||
|
ปฺุ
|
||||||
|
ปฺู
|
||||||
|
ปฺู
|
||||||
|
ปฺุู
|
||||||
|
ปฺุู
|
||||||
|
ปฺุู
|
||||||
|
ปฺูุ
|
||||||
|
ปฺูุ
|
||||||
|
ปฺูุ
|
Loading…
Reference in New Issue