From 31739779f10ab43c38cf8971d3995c6d3e959658 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 12 Feb 2022 11:31:39 +0100 Subject: [PATCH] Legacy fonts --- app/src/main/java/eu/faircode/email/StyleHelper.java | 6 ++++-- 1 file changed, 4 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 216c79ed5d..5254dd6cf3 100644 --- a/app/src/main/java/eu/faircode/email/StyleHelper.java +++ b/app/src/main/java/eu/faircode/email/StyleHelper.java @@ -933,9 +933,9 @@ public class StyleHelper { if (faces.contains("arimo")) return "Arimo, Arial, Verdana, Helvetica, sans-serif"; if (faces.contains("tinos")) - return "Tinos, \"Times New Roman\", serif"; + return "Tinos, \"Times New Roman\", Times, serif"; if (faces.contains("cousine")) - return "Cousine, \"Courier New\", monospace"; + return "Cousine, \"Courier New\", Courier, monospace"; if (faces.contains("lato")) return "Lato, Carlito, Calibri, sans-serif"; if (faces.contains("caladea")) @@ -976,10 +976,12 @@ public class StyleHelper { return ResourcesCompat.getFont(context, R.font.arimo); if (faces.contains("tinos") || + faces.contains("times") || faces.contains("times new roman")) return ResourcesCompat.getFont(context, R.font.tinos); if (faces.contains("cousine") || + faces.contains("courier") || faces.contains("courier new")) return ResourcesCompat.getFont(context, R.font.cousine);