|
From: | Anand Tamariya |
Subject: | Re: Pixel padding with variable pitch font |
Date: | Tue, 8 Jun 2021 10:34:03 +0530 |
One can still measure the actual character width using
window-text-pixel-size and take it into account.
width
is pixel width returned by (posn-at-point)
and w
is (font-get (font-at (point)) :size).
This assumes that, e.g., #x2001 takes the same horizontal space as the
SPC character (or the same as a column)?
[Prev in Thread] | Current Thread | [Next in Thread] |