signed distance field fonts

Started by lawless_c, October 09, 2014, 01:38:25 AM

Previous topic - Next topic

lawless_c

Thought this might be of interest to you guys , ive been working on a simple package for doing signed distance field fonts on Android.

https://github.com/lawlessc/distance-field-glyphs

It's shader based on what Paul Houx did here with Lib Cinder https://forum.libcinder.org/topic/signed-distance-field-font-rendering to implement valves paper.

And i have also written it so it uses SDFFonts in the his generator outputs them.
https://forum.libcinder.org/topic/signed-distance-field-font-rendering

It's incomplete at the moment but i hope to add more to it as i go along, and if other people want to make additions to it or fork it into something better thats even better. I think it may be useful for display some small amounts of text on screen(ideally without distortion at many resolutions) , at the moment the text can look a bit rough.