Legacy fonts

pull/194/merge
M66B 3 years ago
parent d3e6494e0b
commit 31739779f1

@ -933,9 +933,9 @@ public class StyleHelper {
if (faces.contains("arimo")) if (faces.contains("arimo"))
return "Arimo, Arial, Verdana, Helvetica, sans-serif"; return "Arimo, Arial, Verdana, Helvetica, sans-serif";
if (faces.contains("tinos")) if (faces.contains("tinos"))
return "Tinos, \"Times New Roman\", serif"; return "Tinos, \"Times New Roman\", Times, serif";
if (faces.contains("cousine")) if (faces.contains("cousine"))
return "Cousine, \"Courier New\", monospace"; return "Cousine, \"Courier New\", Courier, monospace";
if (faces.contains("lato")) if (faces.contains("lato"))
return "Lato, Carlito, Calibri, sans-serif"; return "Lato, Carlito, Calibri, sans-serif";
if (faces.contains("caladea")) if (faces.contains("caladea"))
@ -976,10 +976,12 @@ public class StyleHelper {
return ResourcesCompat.getFont(context, R.font.arimo); return ResourcesCompat.getFont(context, R.font.arimo);
if (faces.contains("tinos") || if (faces.contains("tinos") ||
faces.contains("times") ||
faces.contains("times new roman")) faces.contains("times new roman"))
return ResourcesCompat.getFont(context, R.font.tinos); return ResourcesCompat.getFont(context, R.font.tinos);
if (faces.contains("cousine") || if (faces.contains("cousine") ||
faces.contains("courier") ||
faces.contains("courier new")) faces.contains("courier new"))
return ResourcesCompat.getFont(context, R.font.cousine); return ResourcesCompat.getFont(context, R.font.cousine);

Loading…
Cancel
Save