From 67032f72ac9468b04a0876590efb6cd06baa44e7 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Fri, 10 Sep 2021 22:54:05 -0400 Subject: [PATCH] Removed subpixel mentions. --- data/plugins/lineguide.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/data/plugins/lineguide.lua b/data/plugins/lineguide.lua index 61debbff..5a17c8ca 100644 --- a/data/plugins/lineguide.lua +++ b/data/plugins/lineguide.lua @@ -7,8 +7,7 @@ local draw_overlay = DocView.draw_overlay function DocView:draw_overlay(...) local ns = ("n"):rep(config.line_limit) - local ss = self:get_font():subpixel_scale() - local offset = self:get_font():get_width_subpixel(ns) / ss + local offset = self:get_font():get_width(ns) local x = self:get_line_screen_position(1) + offset local y = self.position.y local w = math.ceil(SCALE * 1)