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
4.0M ops/s
opentype.js
216.8k ops/s
harfbuzzjs
80.2k ops/s
English shaping (1056 chars)
text-shaper
7.9k ops/s
harfbuzzjs
5.3k ops/s
Myanmar shaping (1916 chars)
text-shaper
4.2k ops/s
harfbuzzjs
399 ops/s
UI Simulation (8 labels)
text-shaper
142.0k ops/s
harfbuzzjs
22.9k ops/s
Rasterization @ 96px
text-shaper
16.8k ops/s
freetype2
2.7k 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 →