Hey there,
It seems that loading a font through CoronaCards on Android doesn’t work. It works perfectly on the Corona Simulator.
Here’s the log displayed :I/System.out: WARNING: Could not load font assets/fonts/gulkave.ttf. Using default.
Here’s the lua code :
local fontName = "assets/fonts/gulkave.ttf" display.newText( message:upper(), screenW/2, screenH/2 + 20, fontName, defaultSize )
I have tried many fonts format and files : otf, ttf.
The folder is like this :
assets (android folder) -> coronagame -> *.lua (all the lua files, including the one loading the font), assets -> fonts -> gulkave.ttf
Please let me know if there’s any specific behavior to change or if you have any idea on why it doesn’t work.
Thanks!