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:
17d7de9
)
[Indic] Implement After-Main Reph positioning
author
Behdad Esfahbod
<behdad@behdad.org>
Mon, 16 Jul 2012 19:21:12 +0000
(15:21 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 16 Jul 2012 19:21:12 +0000
(15:21 -0400)
Almost...
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
7725eda
..
b3d8def
100644
(file)
--- a/
src/hb-ot-shape-complex-indic.cc
+++ b/
src/hb-ot-shape-complex-indic.cc
@@
-736,7
+736,13
@@
final_reordering_syllable (hb_buffer_t *buffer, hb_mask_t *other_mask_array,
*/
if (reph_pos == REPH_AFTER_MAIN)
{
- /* XXX */
+ 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_POST_M) | FLAG (POS_SMVD))))
+ new_reph_pos++;
+ if (new_reph_pos < end)
+ goto reph_move;
}
/* 4. If reph should be positioned before post-base consonant, find