Hi, I have a warning in corona simulator when I insert a newTextField, this is the message: Warning: could not load font font. Using default font
Now, I write a newText and no problem with font, if I insert newTextField I receive the warning, why this?
This is the main.lua code:
local opensans = native.newFont( “opensans.ttf” , 18 )
local text = display.newText( “Hello” , 100, 0, opensans, 40 )
local input_text = native.newTextField( 120, 20, 200, 30 )
input_text.Font = opensans
I also receive warning if I put this : input_text.Font = native.newFont( native.systemFont , 18 )
I install Corona SDK on Windows 7. opensans.ttf placed in root directory with main.lua
Please help me thanks