Closed ghost closed 9 years ago
hi there! thank you for the fix. good luck with ru fw ! :)
I just tested this fix and it does indeed fix the build issues I was having with ofxTrueTypeFontUC on linux.
I digged a bit more and it's not OF that changed, linuxFontPathByName() has always been static there, but the copy of this function in ofxTrueTypeFontUC was removed (probably by mistake) in commit:
commit cc4c928ac64085621b204950e2b802f7aab46fd8 Author: hiro nishihara hiro.nishihara@gmail.com Date: Sun Nov 2 21:02:39 2014 +0900
Merge branch 'pr/10' into merge-pr/10
I digged a bit more and it's not OF that changed, linuxFontPathByName() has always been static there, but the copy of this function in ofxTrueTypeFontUC was removed (probably by mistake) in commit
Oh, yea, and I noticed I've placed the function in the wrong place, should be back where it was now!
@synthnassizer Thank you for letting me know.
@procedural Thank you for your contribution. Since I don't have a PC with linux, I've not tested this addon on linux system...
@hironishihara no problem!
Some changes for Linux: more correct FreeType includes (like in OF) and local linuxFontPathByName() function which is static now and can't be used outside of openFrameworks.