emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/corfu 23509b6fd3 8/9: Expand comment regarding HDPi sys


From: ELPA Syncer
Subject: [elpa] externals/corfu 23509b6fd3 8/9: Expand comment regarding HDPi systems
Date: Tue, 5 Nov 2024 03:58:06 -0500 (EST)

branch: externals/corfu
commit 23509b6fd3469a2cc38fe432c153cbcab278eb3e
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Expand comment regarding HDPi systems
---
 corfu.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/corfu.el b/corfu.el
index 0786e38885..52fe631845 100644
--- a/corfu.el
+++ b/corfu.el
@@ -1016,8 +1016,11 @@ A scroll bar is displayed from LO to LO+BAR."
     (with-current-buffer (corfu--make-buffer " *corfu*")
       (let* ((ch (default-line-height))
              (cw (default-font-width))
-             ;; Even for larger fringes, fringe bitmaps can only have a width
-             ;; between 1 and 16. Therefore restrict the fringe width to 16.
+             ;; NOTE: Even for larger fringes, fringe bitmaps can only have a
+             ;; width between 1 and 16. Therefore we restrict the fringe width
+             ;; to 16 pixel. This restriction may cause problem on HDPi 
systems.
+             ;; Hopefully Emacs will adopt larger fringe bitmaps in the future
+             ;; and lift the 16 pixel restriction.
              (ml (min 16 (ceiling (* cw corfu-left-margin-width))))
              (mr (min 16 (ceiling (* cw corfu-right-margin-width))))
              (bw (min mr (ceiling (* cw corfu-bar-width))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]