From 76f468dcb955f00f903022fe98c302531981e62f Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 19 Feb 2022 10:26:07 +0100 Subject: [PATCH] Use Arimo for Helvetica Neue --- app/src/main/java/eu/faircode/email/StyleHelper.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/StyleHelper.java b/app/src/main/java/eu/faircode/email/StyleHelper.java index 8ca5f49e21..511f2f7d69 100644 --- a/app/src/main/java/eu/faircode/email/StyleHelper.java +++ b/app/src/main/java/eu/faircode/email/StyleHelper.java @@ -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") ||