The function TTFont.new() helps load up a custom font from TTF rather than having to create a bitmap font. However do we have to include it in the project?
1. Can it load up the fonts that already exist on the system? without having to include them into the project?
2. How to get the variations on the font, like the FontBold, FontItalic from the font? A separate ttf file?
Comments
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
There is some info about why we cannot use system fonts here: http://www.giderosmobile.com/forum/discussion/711/using-system-fonts
And @chipster123 is right about item 2.
In that scenario, can you bundle a slightly larger open font that can be used on both the platforms? The current default font is a wee bit too small, like the windows 3.1 smallFonts
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Likes: gorkem, avo, OZApps, hgvyas123
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps