hironishihara / ofxTrueTypeFontUC

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

Not working in OpenGL 4.0 #26

Open Wenzy-- opened 6 years ago

Wenzy-- commented 6 years ago

Hi,hironishihara. I found when i set the GLVersion in 4.0.

int main() { ofGLWindowSettings settings; settings.setGLVersion(4, 0);

settings.width = 1920;
settings.height = 1080;

ofCreateWindow(settings);
ofRunApp(new ofApp());

}

The font can't show correct.It became many pieces of rectangle. And when i use " ofTrueTypeFont " instead "ofxTrueTypeFontUC" to show the English font.It can work in OpenGL 4.0 ~ Is there any suggestion make ofxTrueTypeFontUC working in OpenGL 4.0?