Author Topic: signed distance field fonts  (Read 592 times)

Offline lawless_c

  • int
  • **
  • Posts: 91
    • View Profile
signed distance field fonts
« on: October 09, 2014, 01:38:25 am »
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.