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:
6e74c64
)
[Indic] Fix bug introduced in 8b217f5ac54aa0dcbba2dd6d59aa89dde33e56c2
author
Behdad Esfahbod
<behdad@behdad.org>
Mon, 11 Feb 2013 11:58:27 +0000
(06:58 -0500)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 11 Feb 2013 17:59:36 +0000
(12:59 -0500)
Was breaking reph formation logic when the Ra is the only consonant.
Devanagari regression fixed. Down to 57 failures again. Ouch.
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
5afede0
..
831304e
100644
(file)
--- a/
src/hb-ot-shape-complex-indic.cc
+++ b/
src/hb-ot-shape-complex-indic.cc
@@
-577,7
+577,7
@@
initial_reordering_consonant_syllable (const hb_ot_shape_plan_t *plan,
* base consonants.
*
* Only do this for unforced Reph. (ie. not for Ra,H,ZWJ. */
- if (has_reph && base == start &&
start - limit
<= 2) {
+ if (has_reph && base == start &&
limit - base
<= 2) {
/* Have no other consonant, so Reph is not formed and Ra becomes base. */
has_reph = false;
}