Added alt Proxima Nova

This commit is contained in:
M66B 2022-03-05 21:17:46 +01:00
parent 67b573d1eb
commit 9b85d88447
1 changed files with 3 additions and 2 deletions

View File

@ -932,7 +932,7 @@ public class StyleHelper {
// TODO: Microsoft: Georgia (Serif), Tahoma (Sans-serif), Trebuchet MS (Sans-serif) // TODO: Microsoft: Georgia (Serif), Tahoma (Sans-serif), Trebuchet MS (Sans-serif)
String faces = family.toLowerCase(Locale.ROOT); String faces = family.toLowerCase(Locale.ROOT);
if (faces.contains("montserrat")) if (faces.contains("montserrat"))
return "Montserrat, Gotham, sans-serif"; return "Montserrat, Gotham, \"Proxima Nova\", sans-serif";
if (faces.contains("arimo")) if (faces.contains("arimo"))
return "Arimo, Arial, Verdana, Helvetica, \"Helvetica Neue\", sans-serif"; return "Arimo, Arial, Verdana, Helvetica, \"Helvetica Neue\", sans-serif";
if (faces.contains("tinos")) if (faces.contains("tinos"))
@ -973,7 +973,8 @@ public class StyleHelper {
if (bundled_fonts) { if (bundled_fonts) {
if (faces.contains("montserrat") || if (faces.contains("montserrat") ||
faces.contains("gotham")) faces.contains("gotham") ||
faces.contains("proxima nova"))
return ResourcesCompat.getFont(context, R.font.montserrat); return ResourcesCompat.getFont(context, R.font.montserrat);
if (faces.contains("arimo") || if (faces.contains("arimo") ||