armadillu / ofxFontStash

Easy (and fast) unicode string rendering addon for OpenFrameworks. FontStash is made by Andreas Krinke and Mikko Mononen
http://uri.cat/
91 stars 42 forks source link

Plans to support of 0.8.4...? #14

Closed JoshuaBatty closed 9 years ago

JoshuaBatty commented 9 years ago

Hi, I am unable to use ofxFontStash with of 0.8.4. I am creating an empty project and declaring a single ofxFontStash object and when I try to load a font I get the following error

[ error ] ofxFontStash: don't call setup() more than once!

The same goes with trying to compile the example. Any idea why this addon is broken with the current version of oF? would really like to have this addon working in my project wo any advice would be greatly appreciated.

Thanks, Josh

armadillu commented 9 years ago

mm does the supplied example work? Are you sure you are not setting it up twice? I'll have a look

armadillu commented 9 years ago

hey it seems to work fine! mipmaps were not working bc an ifdef issue, but font load fine. have a look at how things are done in the example.

JoshuaBatty commented 9 years ago

Hmmm ok i created a new example from scratch again and got it working facepalm. My bad, thanks for looking into for me.