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

different fonstash? #9

Open liquidzym opened 10 years ago

liquidzym commented 10 years ago

sorry to post here,just wondering what's different between those two https://github.com/akrinke/Font-Stash https://github.com/memononen/fontstash

armadillu commented 10 years ago

not really sure myself

danoli3 commented 9 years ago

So the https://github.com/memononen/fontstash is the most up to date version.

@trentbrooks @davetowey have been working on a fork of ofxFontStash with this up to date. https://github.com/davetowey/ofxFontStash/tree/develop

Might be a good idea to switch to latest.

New features:

armadillu commented 9 years ago

yeah I had a look, but I added a couple of things to the version of fontstash i started off that I don't want to lose (kerning support, mipmap creation). Right now those features seem more important to me than blur and drop shadow, which you can easily re-create using shaders and fbo's, and don't seem essential to a font system to me.

The newer versions of fontstash seemed to change a lot from what I have right now, so the merge is not trivial and I think the payoff is not worth it.

danomatika commented 9 years ago

Actually it wouldn't be that bad as you can make your own renderer with memononen/fontstash, like the included glfontstash renderer, that adds the extra functionality you need. It's just a layer on top and is used here, for example, to add SDF rendering on top of font stash.

EDIT: The functional architecture is mostly the same form what I can tell with the functions largely renamed.