diff --git a/src/static/js/pad_editor.js b/src/static/js/pad_editor.js index 690dde377..75d409590 100644 --- a/src/static/js/pad_editor.js +++ b/src/static/js/pad_editor.js @@ -109,7 +109,9 @@ var padeditor = (function() self.ace.setProperty("showsauthorcolors", !settings.noColors); v = getOption('useMonospaceFont', false); - self.ace.setProperty("textface", (v ? "monospace" : "Arial, sans-serif")); + // use Ayuthaya font on MacOS Family, Consolas on Windows Family and Monospace on Linux Family + // for better readability of font + self.ace.setProperty("textface", (v ? "Ayuthaya, Consolas, monospace" : "Arial, sans-serif")); $("#viewfontmenu").val(v ? "monospace" : "normal"); }, dispose: function()