hironishihara / ofxTrueTypeFontUC

An extension of ofTrueTypeFont class for using UNICODE characters. Tested on OSX, iOS, and Windows.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ofRotate doesn't have any effect to the fonts

ludiccc opened this issue · comments

Hi!
I'm trying to add some letters that rotate on screen but even this example doesn't work, the text appears horizontal on screen:

ofPushMatrix();
ofRotate(0.5);
font->drawStringAsShapes("אבגדהוזחטיכלמנסעפצקרשתםןףץ", 0, ofGetHeight()/2);
ofPopMatrix();

I also tried with "drawString" but the same happens.

Ups! My fault... 0.5 is almost nothing. ofRotate takes degrees instead of radians as parameter.