[SEA] Fix order of pre-base reordering Ra and left matras
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 17 Feb 2013 17:12:37 +0000 (12:12 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 17 Feb 2013 17:12:37 +0000 (12:12 -0500)
commitb1f440759161cb5a54e1b1b910f3a8383b8e8472
tree069e038c239f783f8f6705391608b1f7adda850f
parent99fa9ea020f26ed2697f38a7690ee1e1b5d946c4
[SEA] Fix order of pre-base reordering Ra and left matras

The code was confused because it was expecting left matra to have
POS_PRE_M, like we do in the Myanmar shaper, but that is not what
we were doing in this shaper.  Rewrite to rely on category only.

Test case: U+AA06,U+AA34,U+AA2F
src/hb-ot-shape-complex-sea.cc
test/shaping/texts/in-tree/shaper-sea/script-cham/misc/misc.txt