You are browsing as a guest. Sign up (or log in) to start making projects!

8h 48m 10s logged

Drawing text to an svg path. Also set up a debug ui to make sure the text shaping (glyph layout, ligatures, etc) is being done properly. For that, I ended up using a recent HarfBuzz port with basically no docs, which was really fun and not at all hard to understand. I also spent a lot of time searching up browser apis on MDN, and figuring out how to work with async.

Next up:

  • keep the parsed font loaded on the Rust side
  • detect and decompress .woff files
  • actually convert it to polygon
  • allow specifying fallback fonts
  • find out how to allow more formatted text (italic/bold, line breaks, centering, etc)
0
6

Comments 0

No comments yet. Be the first!