--- harfbuzz-0.9.40/src/hb-ot-shape-complex-indic.cc 2014-08-03 02:52:51.065267855 +0530 +++ harfbuzz-0.9.40_new/src/hb-ot-shape-complex-indic.cc 2015-05-26 12:30:14.630631915 +0530 @@ -712,6 +712,15 @@ * base consonants. */ + /* Handle starting halant */ + int temp_start = start; + bool start_pos_changed = false; + if(info[start].indic_category() == OT_DOTTEDCIRCLE && info[start + 1].indic_category() == OT_H ) + { + start += 2; + start_pos_changed = true; + } + unsigned int base = end; bool has_reph = false; @@ -958,6 +967,11 @@ } } + if( start_pos_changed ) + { + start = temp_start; + } + /* Attach misc marks to previous char to move with them. */ { indic_position_t last_pos = POS_START;