How can I change size of ofDrawBitmapString()?

ofDrawBitmapString() is lighter and faster than drawString in ofTrueTypeFont right?

What kind of font does ofDrawBitmapString use?

How can I change font size of ofDrawBitmapString()?

1 Like

hey! did you was able to change the size?

Hi cuinijune,

I thing the ofDrawBitmapString() can’t change font size.
Because it used the default bitmap to create the character by ofMesh.
You can check the “ofBitmapFont.cpp” that show you how it works.
BTW, the default font width is 8.0f and line height is 13.6f. (ofGLRenderer.cpp line:919)

*My OF version is 0.8.1

1 Like