public static void registerVariant ( String name , Style style , String variantName ) { Map < String , String > styleVariants = _variants . get ( style ) ; if ( styleVariants == null ) { _variants . put ( style , styleVariants = new HashMap < String , String > ( ) ) ; } styleVariants . put ( name , variantName ) ; }
Registers a font for use when a bold italic or bold italic variant is requested . iOS does not programmatically generate bold italic and bold italic variants of fonts . Instead it uses the actual bold italic or bold italic variant of the font provided by the original designer .