[tibetan] Reorder PADMA sign to occur after other below marks

Based on suggestion from Andrew Glass.

Test: U+0F40,0FC6,0F83
This commit is contained in:
Behdad Esfahbod 2014-04-28 12:38:25 -07:00
parent 659cd3c5b4
commit 9c9411839b
1 changed files with 4 additions and 0 deletions

View File

@ -112,6 +112,10 @@ HB_UNICODE_FUNCS_IMPLEMENT_CALLBACKS_SIMPLE
* Reorder SAKOT to ensure it comes after any tone marks. */ * Reorder SAKOT to ensure it comes after any tone marks. */
if (unlikely (unicode == 0x1A60)) return 254; if (unlikely (unicode == 0x1A60)) return 254;
/* XXX This hack belongs to the Tibetan shaper:
* Reorder PADMA to ensure it comes after any vowel marks. */
if (unlikely (unicode == 0x0FC6)) return 254;
return _hb_modified_combining_class[combining_class (unicode)]; return _hb_modified_combining_class[combining_class (unicode)];
} }