mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 18:27:43 +00:00
Use Arimo for Helvetica Neue
This commit is contained in:
parent
deeb72fcf0
commit
76f468dcb9
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("arimo"))
|
||||
return "Arimo, Arial, Verdana, Helvetica, sans-serif";
|
||||
return "Arimo, Arial, Verdana, Helvetica, Helvetica Neue, sans-serif";
|
||||
if (faces.contains("tinos"))
|
||||
return "Tinos, \"Times New Roman\", Times, serif";
|
||||
if (faces.contains("cousine"))
|
||||
|
@ -973,7 +973,8 @@ public class StyleHelper {
|
|||
if (faces.contains("arimo") ||
|
||||
faces.contains("arial") ||
|
||||
faces.contains("verdana") ||
|
||||
faces.contains("helvetica"))
|
||||
faces.contains("helvetica") ||
|
||||
faces.contains("helvetica neue"))
|
||||
return ResourcesCompat.getFont(context, R.font.arimo);
|
||||
|
||||
if (faces.contains("tinos") ||
|
||||
|
|
Loading…
Reference in a new issue