Hacker News new | past | comments | ask | show | jobs | submit login

Fonts are defined as filled curves, not stroked curves, so this approach is not directly applicable to most text.



The technique works for both fills and strokes, and is used by Vello for both, including for the text rendering. One of the nice things we found is that lowering Euler spirals to arcs works particularly well, and you need many fewer arc segments than line segments to accurately approximate a smooth curve. We haven't plumbed arcs all the way through the rendering pipeline yet, but it's planned; the math for rendering arcs is not that much more complicated than lines.


I believe metafont, created by Knuth for Tex, is an exception here in that it does use strokes.


Yes, so long as one wants pixels.

I'd give my interest in Hell for a graphical interface for METAFONT which would take a series of pen strokes and provide the outline --- which reminds me that I never heard back from the METAFOG author on a license....




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: