Set the typeface to the all text views belong to the fragment.
Make sure to call this method after fragment view creation.
And this is a support package fragments only.
@param fragment the fragment.
@param typefaceName typeface name.
553685
public <F extends android.support.v4.app.Fragment> void supportSetTypeface(F fragment, String typefaceName) {
		supportSetTypeface(fragment, typefaceName, 0);
	}
278552
protected function setFragment($fragment)
    {
        if (!$this->isValidFragment($fragment)) {
            throw new \InvalidArgumentException("Invalid fragment '$fragment'");
        }
        
        $this->fragment = (string)$fragment;
    }
257848
void setTextFace(final int face) {
        int style = 0;
        if ((face & QuickDraw.TX_BOLD_MASK) > 0) {
            style |= Font.BOLD;
        }
        if ((face & QuickDraw.TX_ITALIC_MASK) > 0) {
            style |= Font.ITALIC;
        }

        // TODO: Other face options, like underline, shadow, etc...

        graphics.setFont(graphics.getFont().deriveFont(style));
    }
556547
public void setLcdFont(final LcdFont FONT) {
        if (null == lcdFont) {
            _lcdFont = null == FONT ? LcdFont.DIGITAL_BOLD : FONT;
            fireUpdateEvent(RESIZE_EVENT);
        } else {
            lcdFont.set(FONT);
        }
    }
337886
public <D extends Dialog> void setTypeface(D dialog, String typefaceName) {
		setTypeface(dialog, typefaceName, 0);
	}
134740
@SuppressWarnings("WeakerAccess")
	public void registerFont(String fontName, File fontFile) {
		if (!fontFile.exists())
			throw new IllegalArgumentException("Font " + fontFile + " does not exist!");
		FontEntry entry = new FontEntry();
		entry.overrideName = fontName;
		entry.file = fontFile;
		fontFiles.add(entry);
	}
115029
@NonNull
    public IconicsDrawable typeface(@Nullable Typeface typeface) {
        mIconBrush.getPaint().setTypeface(typeface);

        invalidateSelf();
        return this;
    }
73602
public static void apply(TextView textView, Face type){
        // First check for existing typefaces
        Typeface typeface = getTypeface(textView.getContext(), type);
        if (typeface != null)
            textView.setTypeface(typeface);
    }
696987
public void setIconBrand(boolean _iconBrand) {
		if (_iconBrand) {
			AddResourcesListener.setFontAwesomeVersion(5, this);
		}
		getStateHelper().put(PropertyKeys.iconBrand, _iconBrand);
	}
552736
@Override
	public void setStyleName(String styleName) {
		super.setStyleName(styleName);
		for (RibbonGroup group : groups) {
			group.asWidget().setStyleName(getStyleName() + "Group");
		}
	}
775172
@BindingAdapter("bind:tv_typeface")
    public static void setCustomTypeface(TypefaceEditText editText, String type) {
        editText.mCurrentTypeface = TypefaceType.getTypeface(type != null ? type : "");
        Typeface typeface = getFont(editText.getContext(), editText.mCurrentTypeface.getAssetFileName());
        editText.setTypeface(typeface);
    }
51142
public <V extends TextView> void setTypeface(V view, @StringRes int strResId) {
		setTypeface(view, mApplication.getString(strResId));
	}
1128549
public void setTypeface(Paint paint, String typefaceName) {
        Typeface typeface = mCache.get(typefaceName);
        paint.setTypeface(typeface);
    }
1082445
public void setEngineName(final TemplateRendererFactory.TemplateEngine templateEngine) {
		setEngineName(templateEngine == null ? null : templateEngine.getEngineName());
	}
1207148
protected void applyStyle(TextFormatting format)
	{
		if (format == TextFormatting.RESET)
		{
			FontOptions fontOptions = styles.getFirst();
			styles.clear();
			styles.add(fontOptions);
			return;
		}

		FontOptionsBuilder builder = currentStyle().toBuilder();
		builder.styles(format);
		styles.add(builder.build());
	}
447308
private static void applyTypeface(ViewGroup viewGroup, TypefaceCollection typefaceCollection) {

		for (int i = 0; i < viewGroup.getChildCount(); i++) {
			View childView = viewGroup.getChildAt(i);
			if (childView instanceof ViewGroup) {
				applyTypeface((ViewGroup) childView, typefaceCollection);
			} else {
				applyForView(childView, typefaceCollection);
			}
		}
	}
1345572
public static void typeface(Activity activity) {
		if (sDefaultTypefaceCollection == null) {
			throw new IllegalStateException("Default typeface collection not initialized. Forgot to call init()?");
		}
		typeface(activity.findViewById(android.R.id.content), sDefaultTypefaceCollection);
	}