unicode-shaper
Version:
Shape unicode text so that renderers like WebGL and WebGPU can properly display the glyphs.
14 lines • 481 B
TypeScript
/**
* Check if a character is Arabic
* @param unicode - input unicode character
* @returns - True if Arabic
*/
export declare function isArabic(unicode: number): boolean;
/**
* Converts Arabic Unicode buffer into a shaped Arabic Unicode buffer
* @param input - input unicode buffer
* @param options - shaping options
* @returns - shaped unicode buffer
*/
export declare function shapeArabic(input: number[], options: number): number[];
//# sourceMappingURL=arabic.d.ts.map