unicode-shaper - v0.6.2
    Preparing search index...

    Function shapeKhmer

    • Shape/Reordering characters The shaping engine inserts a placeholder glyph (U+25CC) wherever combining marks occur without a valid base. The character U+25CC belongs to the class of generic bases (GB). Well-formed Khmer character clusters are defined as follows:

      Cases:

      1. Consonant based syllables: Cons + {COENG + (Cons | IndV)} + [PreV | BlwV] + [RegShift] + [AbvV] + {AbvS} + [PstV] + [PstS]

      Ex. រាជធានីភ្នំពេញ

      Parameters

      • input: number[]

        input unicode buffer to shape in place

      Returns void