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:
4be46ba
)
[Indic] Apply Reph mask to all POS_REPH glyphs
author
Behdad Esfahbod
<behdad@behdad.org>
Fri, 11 May 2012 13:34:13 +0000
(15:34 +0200)
committer
Behdad Esfahbod
<behdad@behdad.org>
Fri, 11 May 2012 13:34:13 +0000
(15:34 +0200)
Needed for upcoming changes to GSUB/GPOS mask matching.
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
dbd54f0
..
3b0cc6f
100644
(file)
--- a/
src/hb-ot-shape-complex-indic.cc
+++ b/
src/hb-ot-shape-complex-indic.cc
@@
-380,8
+380,8
@@
initial_reordering_consonant_syllable (const hb_ot_map_t *map, hb_buffer_t *buff
hb_mask_t mask;
/* Reph */
-
if (has_reph
)
- info[
start
].mask |= mask_array[RPHF];
+
for (unsigned int i = start; i < end && info[i].indic_position() == POS_RA_TO_BECOME_REPH; i++
)
+ info[
i
].mask |= mask_array[RPHF];
/* Pre-base */
mask = mask_array[HALF] | mask_array[AKHN] | mask_array[CJCT];