1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-30 11:45:36 +00:00

Montserrat is similar to Gotham

This commit is contained in:
M66B 2022-03-03 20:54:40 +01:00
parent 508c778fd6
commit c2d2f5ea68

View file

@ -932,7 +932,7 @@ public class StyleHelper {
// TODO: Microsoft: Georgia (Serif), Tahoma (Sans-serif), Trebuchet MS (Sans-serif)
String faces = family.toLowerCase(Locale.ROOT);
if (faces.contains("montserrat"))
return "Montserrat, sans-serif";
return "Montserrat, Gotham, sans-serif";
if (faces.contains("arimo"))
return "Arimo, Arial, Verdana, Helvetica, Helvetica Neue, sans-serif";
if (faces.contains("tinos"))
@ -972,7 +972,8 @@ public class StyleHelper {
return ResourcesCompat.getFont(context, R.font.fantasy);
if (bundled_fonts) {
if (faces.contains("montserrat"))
if (faces.contains("montserrat") ||
faces.contains("gotham"))
return ResourcesCompat.getFont(context, R.font.montserrat);
if (faces.contains("arimo") ||