Well, I looked at answers given before, read about 20 different tutorials, but nothing seems to work.
I’ve created, for this test, since nothing worked, 3 text fields with text in them, with 3 different version of font name, and non of them work, not in simulator (same font could not be loaded error message) and not on my device (galaxy sIII), and since this should work also on ios, i had this is the settings as well:
UIAppFonts = { "MuseoSans\_500.ttf", "MuseoSans\_700.ttf", "MuseoSans\_900.ttf" }
and in my application:
local fg\_TEXTBARTEXT = display.newText("AAAAA", 0, 0, "Museo Sans 700", 16); fg\_TEXTBARTEXT:setTextColor(210,210,210); local fg\_TEXTBARTEXT2 = display.newText("AAAAA", 0, 0, "Museosans\_700", 16); fg\_TEXTBARTEXT2:setTextColor(210,210,210); local fg\_TEXTBARTEXT3 = display.newText("AAAAA", 0, 0, "MuseoSans\_700.ttf", 16); fg\_TEXTBARTEXT3:setTextColor(210,210,210);
these three diffent pieces of code give me the same error 3 times, and shows up the same, as I’ve said, in the simulator and on my mobile device.
What am I doing wrong??
