Testing for possible Wingdings support

This commit is contained in:
M66B 2020-10-29 18:03:07 +01:00
parent 0d23e64edc
commit 009efec7f5
2 changed files with 3 additions and 4 deletions

View File

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

View File

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