projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdd0804
)
[Indic] Improve Reph AfterMain positioning
author
Behdad Esfahbod
<behdad@behdad.org>
Fri, 20 Jul 2012 20:17:28 +0000
(16:17 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Fri, 20 Jul 2012 20:17:28 +0000
(16:17 -0400)
Fixes 20 out of 48 failing Oriya tests. Failure rate down to 0.066% now.
src/hb-ot-shape-complex-indic.cc
patch
|
blob
|
history
diff --git
a/src/hb-ot-shape-complex-indic.cc
b/src/hb-ot-shape-complex-indic.cc
index
228fc63
..
0316691
100644
(file)
--- a/
src/hb-ot-shape-complex-indic.cc
+++ b/
src/hb-ot-shape-complex-indic.cc
@@
-975,8
+975,7
@@
final_reordering_syllable (hb_buffer_t *buffer,
{
new_reph_pos = base;
/* XXX Skip potential pre-base reordering Ra. */
- while (new_reph_pos < end &&
- !( FLAG (info[new_reph_pos + 1].indic_position()) & (FLAG (POS_BELOW_C) | FLAG (POS_POST_C) | FLAG (POS_AFTER_POST) | FLAG (POS_SMVD))))
+ while (new_reph_pos + 1 < end && info[new_reph_pos + 1].indic_position() <= POS_AFTER_MAIN)
new_reph_pos++;
if (new_reph_pos < end)
goto reph_move;