I’m currently using Learning Corona SDK video series and I’m running Corona on my macbook.
The custom font KOMIKAX is what I’m trying to display for the word “bar.” But what I get in the screen simulation is a tiny text.
I have all the necessary files in the project folder. I followed exactly as what the tutorial says. I scrutinized all the details again and again, read other forums, and developer’s guide to no avail.
Here are the code snippets in main.lua:
local platform = system.getInfo("platformVersion") local font = (platform ~= "Android") and "Komika Axis" or system.nativeFont; local bar = display.newText("Bar", 0, 0, "KOMiKAX", 36) bar:setTextColor(0, 0, 0) bar:setReferencePoint(display.CenterReferencePoint); bar.x = \_W \* 0.5 bar.y = (\_H \* 0.5) + 50
Build settings:
plist = { UIAppFonts = { "KOMIKAX\_.ttf" },
Thank you.