Testing for possible Wingdings support

pull/187/head
M66B 5 years ago
parent 0d23e64edc
commit 009efec7f5

@ -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

@ -4,7 +4,6 @@
<font <font
app:font="@font/endor" app:font="@font/endor"
app:fontStyle="normal" app:fontStyle="normal"
app:fontWeight="400"> app:fontWeight="400" />
<!-- https://www.1001freefonts.com/endor.font --> <!-- https://www.1001freefonts.com/endor.font -->
</font>
</font-family> </font-family>
Loading…
Cancel
Save