Comment

Comment by spuzvabob

> So you use a library that takes in text and vectorizes it to canvas shapes? That could work in theory, do you have a demo of this?

Yea, it's harfbuzz compiled to WASM: https://harfbuzz.github.io/harfbuzzjs/ Then all text layout features must be implemented on top of it, like linebreaking, text align, line spacing, kerning, text direction, decoration etc.

parent spuzvabob 8 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton