unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org, Anand Tamariya <atamariya@gmail.com>
Subject: Re: Pixel padding with variable pitch font
Date: Tue, 08 Jun 2021 10:59:31 +0800	[thread overview]
Message-ID: <87sg1tm57w.fsf@localhost> (raw)
In-Reply-To: <831r9dhk6s.fsf@gnu.org>

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.



  reply	other threads:[~2021-06-08  2:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-07 13:19 Pixel padding with variable pitch font Anand Tamariya
2021-06-07 13:35 ` Eli Zaretskii
2021-06-08  2:59   ` Ihor Radchenko [this message]
2021-06-08  5:04     ` Anand Tamariya

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sg1tm57w.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=atamariya@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).