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

    Class WasmTextShaper

    WASM based text shaper

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Check if a character is CJK (Chinese, Japanese, or Korean)

      Parameters

      • unicode: number

        input unicode character

      Returns boolean

      • True if CJK
    • Check if a character is a "right-to-left" unicode character

      Parameters

      • unicode: number

        input unicode character

      Returns boolean

      • True if right-to-left
    • Converts a string into a shaped string

      Parameters

      • str: string

        input string

      • options: number = DEFAULT_OPTIONS

        shaping options

      Returns string

      • shaped string