Remix.run Logo
hyperbrainer 5 days ago

I have been experimenting with rendering fonts in Rust lately. I was pleasantly surprised by how simple reading the ttf file format is. The hard part, of course, is actually doing everything with the bezier curves and contours and filling the insides etc. But if I were to just be working with straight lines, I already have everything I need. Indeed, I used MATLAB's `patch` to quickly check my progress and see the major bugs in my rendering implementations, and got there within a couple hours.