UNPKG

unicode-shaper

Version:

Shape unicode text so that renderers like WebGL and WebGPU can properly display the glyphs.

12 lines 525 B
export * from './internal.js'; /** * 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 * @param input - input unicode buffer * @returns - output unicode buffer that's been reordered */ export declare function processBidiText(input: number[]): number[]; //# sourceMappingURL=index.d.ts.map