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:
126f39c
)
[Indic] Improve base finding in final_reordering
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 13 Feb 2013 14:26:55 +0000
(09:26 -0500)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 13 Feb 2013 14:26:55 +0000
(09:26 -0500)
Fixes 5 Malayalam failures!
MALAYALAM: 1048016 out of 1048334 tests passed. 318 failed (0.0303338%)
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
9304dde
..
45b5825
100644
(file)
--- a/
src/hb-ot-shape-complex-indic.cc
+++ b/
src/hb-ot-shape-complex-indic.cc
@@
-1186,6
+1186,13
@@
final_reordering_syllable (const hb_ot_shape_plan_t *plan,
base--;
break;
}
+ if (base == end && start < base &&
+ info[base - 1].indic_category() != OT_ZWJ)
+ base--;
+ while (start < base &&
+ (info[base].indic_category() == OT_H ||
+ info[base].indic_category() == OT_N))
+ base--;
/* o Reorder matras: