code: public static Typeface getTypeface(Context ctx, String fontName){
          Typeface existing = mLoadedTypefaces.get(fontName);
          if(existing == null){
              existing = Typeface.createFromAsset(ctx.getAssets(), fontName);
              mLoadedTypefaces.put(fontName, existing);
          }
          return existing;
      }
docs: Get a typeface for a given the font name/path
  
  @param ctx           the context to load the typeface from assets
  @param fontName      the name/path of of the typeface to load
  @return              the loaded typeface, or null