O'Reilly logo

Corona SDK HOTSHOT by Nevin Flanagan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding polish with custom fonts

Throughout the projects in this book up to this point, we've avoided using any fonts other than the default system font, whatever that might be, because the fonts that come installed on Android and iOS platforms are not consistent. However, fonts are a powerful element of a game or app's visual style and aesthetics; we can expand the options available to us by shipping our own fonts with our app. Corona makes this very simple. We'll review including the font data in your app, making it available to devices, and including it in your app.

Getting ready

Copy the file Berenika-Bold.ttf from the directory original artwork/OFL 1.1/wmk69 in the project pack folder into the top level of your project directory.

Getting on with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required