Package 

Class ReactFontManager


  • 
    public class ReactFontManager
    
                        

    Responsible for loading and caching Typeface objects.

    This will first try to load a typeface from the assets/fonts folder. If one is not found in that folder, this will fallback to the best matching system typeface.

    Custom fonts support the extensions `.ttf` and `.otf` and the variants `bold`, `italic`, and `bold_italic`. For example, given a font named "ExampleFontFamily", the following are supported:

    • ExampleFontFamily.ttf (or .otf)
    • ExampleFontFamily_bold.ttf (or .otf)
    • ExampleFontFamily_italic.ttf (or .otf)
    • ExampleFontFamily_bold_italic.ttf (or .otf)