5 ms·
I find it interesting how much effort was put into getting high quality scalable vector fonts and how useless these techniques were once we got our accelerated
by somat 2y ago
I find it interesting how much effort was put into getting high quality scalable vector fonts and how useless these techniques were once we got our accelerated vector graphics co-processors.
I mean, there are some very interesting projects to try and do font rendering on the graphics card, but by and large I find it funny how in general they are terrible at it.
What would a native gfx-card friendly scalable font format look like? would it just be a triangle mesh?
- immibis 2y agoIIRC every possible quadratic bezier curve (the kind used in truetype) can be rendered as one triangle and the equation in barycentric coordinates is identical for all possible curves, so you can just evaluate it in the shader with no extra vertex data.