1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-03 21:55:13 +00:00

Added Comic Sans fallback family

This commit is contained in:
M66B 2021-06-01 18:40:58 +02:00
parent 7d31148fe6
commit 9db632d2f5

View file

@ -772,7 +772,7 @@ public class StyleHelper {
return new CustomTypefaceSpan(family, typeface);
} else if (face.contains("comic sans")) {
Typeface typeface = ResourcesCompat.getFont(context, R.font.opendyslexic);
return new CustomTypefaceSpan(family, typeface);
return new CustomTypefaceSpan("comic sans ms, sans-serif", typeface);
} else
return new TypefaceSpan(family);
}