armadillu / ofxFontStash

Easy (and fast) unicode string rendering addon for OpenFrameworks. FontStash is made by Andreas Krinke and Mikko Mononen
http://uri.cat/
91 stars 42 forks source link

added ability to draw text in selected font #30

Closed teganscott closed 4 years ago

teganscott commented 4 years ago

Hey, great addon thanks!

Added a defualt parameter of fontID to the following functions: draw() drawMultiLine() drawString()

It uses the passed fontID to select what font to use from the list of fontIds

armadillu commented 4 years ago

Nice addition, thanks!