1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 10:47:28 +00:00

Use Arimo for Helvetica Neue

This commit is contained in:
M66B 2022-02-19 10:26:07 +01:00
parent deeb72fcf0
commit 76f468dcb9

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("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") ||