From d82c33d7747d10cd8e7eaba40f9413a5e534502a Mon Sep 17 00:00:00 2001 From: cpsdqs Date: Fri, 8 Sep 2017 22:36:18 +0200 Subject: [PATCH] Fix misaligned characters(?) --- html_orig/jssrc/term_screen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html_orig/jssrc/term_screen.js b/html_orig/jssrc/term_screen.js index 885d720..8c1379c 100644 --- a/html_orig/jssrc/term_screen.js +++ b/html_orig/jssrc/term_screen.js @@ -242,7 +242,7 @@ class TermScreen { this.ctx.font = this.getFont(); return { - width: this.ctx.measureText(' ').width, + width: Math.floor(this.ctx.measureText(' ').width), height: this.window.fontSize } }