I’ll follow up on the font comment that even in Android the fonts are going to vary. What you may find on the Kindle Fire won’t be the same as you will find on a Nook. There is probably also some variance between OS versions too.
You can get a list of fonts using this little block of code. I wrote a “GetInfo” app to dump this info on the device:
local v = {}
v[1] = display.newText(system.getInfo("name"),0,0, "Helvetica", 18)
v[2] = display.newText(system.getInfo("model"),0,0, "Helvetica", 18)
v[3] = display.newText(system.getInfo("platformName"),0,0, "Helvetica", 18)
v[4] = display.newText(system.getInfo("platformVersion"),0,0, "Helvetica", 18)
v[5] = display.newText(system.getInfo("build"),0,0, "Helvetica", 18)
for i = 1, #v do
v[i]:setReferencePoint(display.TopLeftReferencePoint)
v[i].y = i \* 20
v[i].x = 10
end
local fonts = native.getFontNames()
local fontStr = {}
local i = 1
local col = 1
local row = 1
for k, v in pairs(fonts) do
-- print(k,v)
fontStr[i] = display.newText(v,0,0,v,14)
fontStr[i]:setReferencePoint(display.TopLeftReferencePoint)
fontStr[i].y = row \* 18 + 128
fontStr[i].x = 10 + (col - 1) \* 290
col = col + 1
if col \> 2 then
col = 1
row = row + 1
end
i = i + 1
end
drop that in a main.lua, and build it for the device you are interested in.
WARNING… It will be really slow to load in the Corona simulator because it picks up all of your computer’s fonts and that’s a VERY VERY long list.
Now if want fancier fonts, go to a free font site, find a font you like that is free to use for commercial products and use it. [import]uid: 19626 topic_id: 29296 reply_id: 117878[/import]