aerys / minko

3D framework for web, desktop and mobile devices.
http://minko.io
Other
904 stars 210 forks source link

What about Font with TTF #233

Closed gerardogc2378 closed 8 years ago

gerardogc2378 commented 8 years ago

Is there example or tutorial for ttf-font and text to show on screen?

JMLX42 commented 8 years ago

If you are trying to build a UI I would recommend you to have a look at the HTML overlay plugin. It makes it easy to build complex cross platform responsive UIs using HTML5 and CSS3, including using TTF fonts and many other things. Here is an example: https://github.com/aerys/minko/tree/dev/example/html-overlay

You should also be able to use TTF fonts through SDL. But we have no example for this and I don't know how portable it is.

gerardogc2378 commented 8 years ago

Thanks, I saw your example by this comment, really NICE HTML overlay :D, thanks again