I've read the tutorials and related questions here but still no luck using a custom font.
I'm on a Windows 7 machine and I've performed the following steps:
- Installed the Font (Print Clearly OT.otf)
- Copied the otf file to the project directory (same directory as the main.lua)
- Restarted the Corona simulator
- Used this code to find the font name (Print Clearly OT) and add the build settings: http://coronalabs.com/blog/2013/01/16/faq-wednesday-custom-fonts/
Trying to use the font like:
lettertext = display.newText( "a", 40, 20, "Print Clearly OT", 24 )
Start up the simulator for ipad and I get "could not load font" message.
There was a comment on the link tutorial above, about otf files not working on windows but i assumed that was on a windows mobile device not in the ipad simulator on a windows system.