unital / tempe

Beautiful Micropython Graphics
MIT License
2 stars 0 forks source link

Support alright fonts #4

Open corranwebster opened 2 weeks ago

corranwebster commented 2 weeks ago

The minified vector fonts from https://github.com/lowfatcode/alright-fonts may be better than bitmap fonts.

corranwebster commented 2 weeks ago

Experimentation shows that they rely on being able to render multi-polygons with winding number in/out rules, which is beyond the capabilities of FrameBuffer. Might be able to fake it by testing the initial point of a contour to see if it is set.

corranwebster commented 2 weeks ago

Putting this on the back burner - this is effectively needing either a custom renderer or on-the-fly rendering into a bit buffer for every character write. Both are likely to be too slow.