memononen / fontstash

Light-weight online font texture atlas builder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

questions about sdf and outlines

r-lyeh-archived opened this issue · comments

hey mikko,

Are you aware of this extension for fontstash? It uses your sdf lib and adds outlines too, via shader.
https://github.com/tangrams/ofxVectorTile/tree/master/libs/glmFontstash/fontstash

I would like to know if you plan to add these features on the main branch eventually?
If so, are you going to use this code (which license is unclear) or will you rather code your own solution?

Keep up the good work :)

  • rlyeh

I have not seen those, but they did pretty much what I was hoping to do :) Thanks for bringing those up! That's more or less why I wrote sdf.h, but never quite got into integrating it into fontstash.

aha nice :D 👍

Hey, glad you referenced the work! If you plan to add this to master let us know but this version is up to some changes! We're actually planning to use it in our native map renderer https://github.com/tangrams/tangram-es