From df0b72e178b79f8d67ea3f86bc68846b15cd1c77 Mon Sep 17 00:00:00 2001 From: Jacopo Date: Fri, 24 May 2019 22:13:43 -0700 Subject: [PATCH] Should fix monospace char issues in Android Some bar drawing gliphs are missing in Android. Adobe's Source Code Pro has them all, so it's one option to fix it on all platforms. If you wish you can also host the font locally. https://stackoverflow.com/questions/51892280/how-do-i-fix-monospace-spaces-not-being-correct-width-in-android-chrome-firefox/52712376 --- share/static/style.css | 2 +- share/templates/index.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/share/static/style.css b/share/static/style.css index 49d6abd..7f4b6ab 100644 --- a/share/static/style.css +++ b/share/static/style.css @@ -12,7 +12,7 @@ font-size: 70%; /*font-family: Lucida Console,Lucida Sans Typewriter,monaco,Bitstream Vera Sans Mono,monospace; */ /*Droid Sans Mono*/ -font-family: "DejaVu Sans Mono", Menlo, "Lucida Sans Typewriter", "Lucida Console", monaco, "Bitstream Vera Sans Mono", monospace; +font-family: "Source Code Pro", "DejaVu Sans Mono", Menlo, "Lucida Sans Typewriter", "Lucida Console", monaco, "Bitstream Vera Sans Mono", monospace; /*font-family: bitstream_vera_sans_monoroman;*/ font-size: 75%; } diff --git a/share/templates/index.html b/share/templates/index.html index cf92bb9..261feeb 100644 --- a/share/templates/index.html +++ b/share/templates/index.html @@ -1,5 +1,6 @@ +