• B
    [Indic] Improve Sinhala base algorithm and reph positioning · 34c21503
    Behdad Esfahbod 提交于
    Sinhala does not have half forms.  And most (all?) consonants can be
    base, except when preceded by ZWJ, which would request a subjoined form.
    Hence switch the base algorithm to categorize with Khmer, start search
    at start, and stop at a ZWJ.
    
    Also, mark all pos=base consonants after base to be subjoined.  Mark
    base itself to have pos=base.
    
    Finally, adjust Sinhala's reph position to after-main.
    
    Brings down Sinhala failures from 455 to 328 (0.120656%).
    34c21503
hb-ot-shape-complex-indic.cc 36.5 KB