Hi there. I’m new to Corona SDK, and I need help making the text italic.
I used a font “Times New Roman Italic.” In the build.settings file, it’s timesi.ttf.
Here’s the code i have:
local lotsOfText27 = “Do you believe the children will discover all of this?”
local lotsOfText27Object = util.wrappedText( lotsOfText27, 45.5, 14, “Times New Roman Italic”, {115,70,30} )
scrollView:insert(lotsOfText27Object)
lotsOfText27Object.x = 24
lotsOfText27Object.y = math.floor(lotsOfText26Object.y + lotsOfText26Object.height)
What I also need to know is how do I align the text to the center, and how to set the text to “justify?” [import]uid: 162639 topic_id: 29173 reply_id: 329173[/import]
[import]uid: 52491 topic_id: 29173 reply_id: 117532[/import]