[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add a function that returns pixel distance between points?
From: |
Eli Zaretskii |
Subject: |
Re: Add a function that returns pixel distance between points? |
Date: |
Tue, 02 Feb 2021 18:29:15 +0200 |
> From: Yuan Fu <casouri@gmail.com>
> Date: Mon, 1 Feb 2021 18:00:18 -0500
> Cc: emacs-devel <emacs-devel@gnu.org>
>
> This code inserts a mini table
>
> | looooong |
> | world |
>
> And tries to aligns it to
>
> | looooong |
> | world |
>
> You will notice there are extra white space on the right of the cells, and
> the table actually looks like this:
>
> | loooooong |
> | world |
>
> That’s because window-text-pixel-size returned a width that’s larger than the
> true with of the cells. If you enlarge the line-prefix, the extra space grows.
Hmm... this sounds like some bug in window-text-pixel-size. Let me
take a closer look.
- Re: Add a function that returns pixel distance between points?, Yuan Fu, 2021/02/01
- Re: Add a function that returns pixel distance between points?, Eli Zaretskii, 2021/02/01
- Re: Add a function that returns pixel distance between points?, Yuan Fu, 2021/02/01
- Re: Add a function that returns pixel distance between points?,
Eli Zaretskii <=
- Re: Add a function that returns pixel distance between points?, Eli Zaretskii, 2021/02/03
- Re: Add a function that returns pixel distance between points?, Yuan Fu, 2021/02/03
- Re: Add a function that returns pixel distance between points?, Eli Zaretskii, 2021/02/04
- Re: Add a function that returns pixel distance between points?, martin rudalics, 2021/02/05
- Re: Add a function that returns pixel distance between points?, Eli Zaretskii, 2021/02/05
- Re: Add a function that returns pixel distance between points?, martin rudalics, 2021/02/05