Bi-Directional Cross-Browser Text Proof-of-Concept

Testing text rendering and accurate bounds/metrics by using FreeType/Harfbuzz/FriBidi via Emscripten.

Uses FreeType to extract glyphs and font information, Harfbuzz for the shaping and complex layout, and FriBidi for bi-directional text support. Since it displays the actual glyph paths, the only visual difference between browsers should be the Canvas/SVG anti-aliasing.

Visual output
Render with:
Logical order
Visual order and embedding levels
Font

Noto Serif, Noto Naskh Arabic, and Noto Sans Hebrew are currently embedded. To replace or install fonts for certain scripts, upload a file:

Default:
Arabic:
Hebrew: