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:
parent
508c778fd6
commit
c2d2f5ea68
1 changed files with 3 additions and 2 deletions
|
@ -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") ||
|
||||
|
|
Loading…
Reference in a new issue