oakes/play-cljc

Text

kovasap opened this issue · 3 comments

Is there a way currently to render text? If not, what would need to be done to make it possible? I could try to look into it if it's not currently possible!

oakes commented

That's definitely what I will be working on next. I'm going to use the STB library to do it (in particular, STBEasyFont and STBTrueType), and I'll have to figure out a way to get the equivalent behavior on the webgl side. I will most likely make a wrapper library so you don't need to use these things directly.

oakes commented

It took me a while, but I finally made the text-rendering library: play-cljc.text. I made an example project showing how to use it.

Awesome! Thanks!