|
|
|
|
|
by spuzvabob
110 days ago
|
|
> 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. |
|