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;
case "font-family":
String face = value.toLowerCase(Locale.ROOT);
if (BuildConfig.DEBUG && "fantasy".equals(face)) {
if ("fairemail".equals(face)) {
Typeface typeface = ResourcesCompat.getFont(context, R.font.fantasy);
setSpan(ssb, new CustomTypefaceSpan(face, typeface), start, ssb.length());
} else

View File

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