|
|
@ -2032,7 +2032,7 @@ public class HtmlHelper {
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case "font-family":
|
|
|
|
case "font-family":
|
|
|
|
String face = value.toLowerCase(Locale.ROOT);
|
|
|
|
String face = value.toLowerCase(Locale.ROOT);
|
|
|
|
if (BuildConfig.DEBUG && "fantasy".equals(face)) {
|
|
|
|
if ("fairemail".equals(face)) {
|
|
|
|
Typeface typeface = ResourcesCompat.getFont(context, R.font.fantasy);
|
|
|
|
Typeface typeface = ResourcesCompat.getFont(context, R.font.fantasy);
|
|
|
|
setSpan(ssb, new CustomTypefaceSpan(face, typeface), start, ssb.length());
|
|
|
|
setSpan(ssb, new CustomTypefaceSpan(face, typeface), start, ssb.length());
|
|
|
|
} else
|
|
|
|
} else
|
|
|
|