[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pixel padding with variable pitch font
From: |
Ihor Radchenko |
Subject: |
Re: Pixel padding with variable pitch font |
Date: |
Tue, 08 Jun 2021 10:59:31 +0800 |
Eli Zaretskii <eliz@gnu.org> writes:
> This assumes that, e.g., #x2001 takes the same horizontal space as the
> SPC character (or the same as a column)? That's only so in
> fixed-pitch fonts; in variable-pitch fonts the SPC could be much more
> narrow, and columns are all but meaningless. Caveat emptor!
One can still measure the actual character width using
window-text-pixel-size and take it into account.