hironishihara / ofxTrueTypeFontUC

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

ofRotate doesn't have any effect to the fonts #27

Closed ludiccc closed 6 years ago

ludiccc commented 6 years ago

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.

ludiccc commented 6 years ago

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