We've implemented True Type Font support already. You cannot use system fonts but can easily add your .ttf file to your project and directly use it. You just need to wait a little bit
You add any .ttf file to your project and load with local font = TTFont.new("arial.ttf") then use this font with text field: local textField = TextField.new(font, "hello world")
Comments
(application:getContentWidth()/2) - (textfield:getWidth()/2)
Do you also know how can I wrap long body of text?
local font = TTFont.new("arial.ttf")
then use this font with text field:
local textField = TextField.new(font, "hello world")
I get "attempt to index global 'TTFont' (a nil value)"
Can i also set the font-size?
like beta7... ^:)^
With 'TTFont', can i also set the font-size?
local font = TTFont.new("arial.ttf", 20)
With TTFont, could we use italic, or bold ?
I cann't find document about class TTFont
Edit: If I you font tool to export font as normal, could I export bold or italic font. I can not found those option in font tool (I prefer this way)
http://appcodingeasy.com/Gideros-Mobile/Creating-multi-line-text-fields-in-Gideros-Mobile