How are custom fonts loaded?

I would like to check if my observation is true about Corona behaviour with custom fonts.

On Android native.getFontNames() do not give names of custom fonts from bundle. On iOS I can see them listed (function used in main.lua).

So my question: are fonts on Android loaded dynamically or even each time they are used for creation of text and on iOS they are loaded together with the app?

The custom fonts that you include with your app on Android are not installed.  They’re loaded dynamically by file name, minus the extension.  On iOS, they have to be installed by the app via the “build.settings” plist and loaded by font family name.

Have a look at the following blog post on how to load fonts on different platforms.  It does a good job explaining the different platform behaviors.

   http://www.coronalabs.com/blog/2013/01/16/faq-wednesday-custom-fonts/

The custom fonts that you include with your app on Android are not installed.  They’re loaded dynamically by file name, minus the extension.  On iOS, they have to be installed by the app via the “build.settings” plist and loaded by font family name.

Have a look at the following blog post on how to load fonts on different platforms.  It does a good job explaining the different platform behaviors.

   http://www.coronalabs.com/blog/2013/01/16/faq-wednesday-custom-fonts/