public static Typeface createFromAsset ( AssetManager mgr , String path ) { Typeface typeface = TYPEFACES . get ( path ) ; if ( typeface != null ) { return typeface ; } else { typeface = Typeface . createFromAsset ( mgr , path ) ; TYPEFACES . put ( path , typeface ) ; return typeface ; } }
Create a new typeface from the specified font data .