[unicode] Accept a couple hacks as permanent
This commit is contained in:
parent
17c80035ad
commit
bd453de757
|
@ -105,12 +105,9 @@ HB_UNICODE_FUNCS_IMPLEMENT_CALLBACKS_SIMPLE
|
||||||
unsigned int
|
unsigned int
|
||||||
modified_combining_class (hb_codepoint_t u)
|
modified_combining_class (hb_codepoint_t u)
|
||||||
{
|
{
|
||||||
/* XXX This hack belongs to the USE shaper (for Tai Tham):
|
/* Reorder SAKOT to ensure it comes after any tone marks. */
|
||||||
* Reorder SAKOT to ensure it comes after any tone marks. */
|
|
||||||
if (unlikely (u == 0x1A60u)) return 254;
|
if (unlikely (u == 0x1A60u)) return 254;
|
||||||
|
/* Reorder PADMA to ensure it comes after any vowel marks. */
|
||||||
/* XXX This hack belongs to the Tibetan shaper:
|
|
||||||
* Reorder PADMA to ensure it comes after any vowel marks. */
|
|
||||||
if (unlikely (u == 0x0FC6u)) return 254;
|
if (unlikely (u == 0x0FC6u)) return 254;
|
||||||
/* Reorder TSA -PHRU to reorder before U+0F74 */
|
/* Reorder TSA -PHRU to reorder before U+0F74 */
|
||||||
if (unlikely (u == 0x0F39u)) return 127;
|
if (unlikely (u == 0x0F39u)) return 127;
|
||||||
|
|
Loading…
Reference in New Issue