Typeface function ( String arg0 , int arg1 ) { styleBuffer [ 0 ] = arg1 ; Font loc0 = mFontLoader . getFont ( arg0 , styleBuffer ) ; if ( loc0 != null ) { return new Typeface ( arg0 , styleBuffer [ 0 ] , loc0 ) ; } return null ; }
create a typeface object given a family name , and option style information . if null is passed for the name , then the `` default '' font will be chosen . the resulting typeface object can be queried getstyle to discover what its `` real '' style characteristics are . concode_field_sep FontLoader mFontLoader concode_elem_sep String DEFAULT_FAMILY concode_elem_sep int BOLD_ITALIC concode_elem_sep int[] styleBuffer concode_elem_sep int mStyle concode_elem_sep Typeface SANS_SERIF concode_elem_sep int ITALIC concode_elem_sep Typeface SERIF concode_elem_sep Typeface DEFAULT_BOLD concode_elem_sep String mFamily concode_elem_sep int NORMAL concode_elem_sep int BOLD concode_elem_sep Typeface[] sDefaults concode_elem_sep Typeface MONOSPACE concode_elem_sep Font mFont concode_elem_sep Typeface DEFAULT concode_field_sep boolean isItalic concode_elem_sep void init concode_elem_sep int getStyle concode_elem_sep Typeface createFromAsset concode_elem_sep Font getFont concode_elem_sep Typeface defaultFromStyle concode_elem_sep boolean isBold