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

    Function processBidiText

    • Process a string of text and return a new string with the correct bidi ordering. Follows https://www.unicode.org/reports/tr9/#Basic_Display_Algorithm as closely as possible. Some things are not implemented, such as:

      • Explicit embedding levels
      • Explicit bracket control

      Parameters

      • input: number[]

        input unicode buffer

      Returns number[]

      • output unicode buffer that's been reordered