private Typeface getDefaultTypeface(Context context, @FontRes int fontFamily) {
if (fontFamily == 0) {
fontFamily = CalligraphyConfig.get().getFontFamily();
}
if (fontFamily != 0) {
return ResourcesCompat.getFont(context, fontFamily);
}
return null;
}
CalligraphyFactory.java 文件源码
java
阅读 52
收藏 0
点赞 0
评论 0
项目:DownloadableCalligraphy
作者:
评论列表
文章目录