Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM
41–50 of 60 posts
Re: Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM
#42Re: Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM
#43I wonder what makes SIMD an improvement here - in the end it all boils down to TTF bytecode and I don't think this comes with SIMD instructions, right?
Re: Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM
#44The llama.ttf video does a pretty good job explaining what the heck is going on
Re: Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM
#45Earlier quoted context omitted.
You can't test it in a browser, since no browser at present is linked against libharfbuzz with WASM shaper. Instead, one can test it with a modified local program such as gedit in the demo. As convenience, I built a Docker image that packs both the ttf file and the modified gedit together. You can try it out via `make run` as stated in the instructions.
Harfbuzz can be built easily to Wasm using Emscripten.
Re: Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM
#46So you trained a THAT small RNN to make this good handwriting? I'm actually even more impressed at that than at the crazy pipeline turning it into a font in realtime.
[0]: https://github.com/X-rayLaser/pytorch-handwriting-synthesis-...
Re: Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM
#47Wtf is happening here what are the inputs and outputs? Hard to tell what this program does for me
Re: Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM
#48Re: Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM
#49Damn, this is impressive! We built a WebGL text renderer with full CJK support using Harfbuzz for our production whiteboard web app. I thought that was complicated until now.
Re: Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM
#50This is so cursed, there is so much that begs the question - "why?"... I love it. I can't wait for the next beautiful nightmare. Maybe someone should mix font rendering with PDF rendering. Of course, with a LLM doing something in the middle.
The answer is "no why", just for fun :) Though I learned a lot about how to stuff an NN model in a WASM binary and some tricks to optimize performance.