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

ofTrueTypeFont parity methods #12

Closed prisonerjohn closed 10 years ago

prisonerjohn commented 10 years ago

I added some methods to make ofxFontStash hot-swappable with ofTrueTypeFont. I also added Xcode project files for the example.

armadillu commented 10 years ago

Hey Ellie, just a couple of things:

the Xcode project expects ofxUnicode to be sitting in example/src, instead of ../../addons which makes more sense to me. I don't know what the standard it for this, but somehow it never works and that's what I avoid having Xcode proj files in Github

the src has MEASURE_PERFORMANCE defined by default, adding more dependencies... I would comment that line out.

Also, the merge itself doesn't compile but its and easy fix;

armadillu commented 10 years ago

Also, as you already started ofTrueTypeFont parity, maybe it makes sense to subclass it. Ill look into it

prisonerjohn commented 10 years ago

Good catches, I forgot to double-check the example after making my changes. It should be fine now.

armadillu commented 10 years ago

sweet thank you very much!