Skip to content

TextShaperPure TypeScript Text Shaping Engine

OpenType layout, variable fonts, complex scripts, TrueType hinting, and FreeType-style rasterization

Glyph path extraction
text-shaper
831.3k ops/s
opentype.js
86.8k ops/s
harfbuzzjs
52.4k ops/s
English shaping (1056 chars)
text-shaper
7.9k ops/s
harfbuzzjs
5.3k ops/s
Myanmar shaping (1916 chars)
text-shaper
4.0k ops/s
harfbuzzjs
380 ops/s
UI Simulation (8 labels)
text-shaper
95.5k ops/s
harfbuzzjs
20.0k ops/s
Rasterization @ 96px
text-shaper
13.3k ops/s
freetype2
2.0k ops/s

High performance

By using lazy table parsing, pure TypeScript optimization, and efficient data structures, TextShaper delivers exceptional performance for font loading, text shaping, and glyph rasterization.

View all benchmarks →