code: public void setTypeface(Paint paint, String typefaceName) {
          Typeface typeface = mCache.get(typefaceName);
          paint.setTypeface(typeface);
      }
docs: Set the typeface to the target paint.
  @param paint the set typeface.
  @param typefaceName typeface name.