hironishihara / ofxTrueTypeFontUC

An extension of ofTrueTypeFont class for using UNICODE characters. Tested on OSX, iOS, and Windows.
Other
115 stars 46 forks source link

Changes for Linux, fix for issue #12 #13

Closed ghost closed 9 years ago

ghost commented 9 years ago

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.

synthnassizer commented 9 years ago

hi there! thank you for the fix. good luck with ru fw ! :)

dlespiau commented 9 years ago

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
ghost commented 9 years ago

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!

hironishihara commented 9 years ago

@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...

ghost commented 9 years ago

@hironishihara no problem!