[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tick Reduction
From: |
Eli Zaretskii |
Subject: |
Re: Tick Reduction |
Date: |
Sun, 21 Nov 2021 23:12:24 +0200 |
> Date: Sun, 21 Nov 2021 22:42:30 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: dgutov@yandex.ru, stefankangas@gmail.com, emacs-devel@gnu.org
>
> > From: Lars Ingebrigtsen <larsi@gnus.org>
> > Cc: emacs-devel@gnu.org, stefankangas@gmail.com, dgutov@yandex.ru
> > Date: Sun, 21 Nov 2021 21:28:27 +0100
> >
> > Eli Zaretskii <eliz@gnu.org> writes:
> >
> > > This is a 'display' text property, right? It is placed on text;
> > > instead of that text Emacs will display a stretch glyph (white space)
> > > whose width is calculated as the pixel width of the first character
> > > "covered" by the property multiplied by FACTOR.
> >
> > (shr-string-pixel-width
> > (propertize "칹a" 'display '(space :relative-width 1)))
> > => 22
> >
> > (shr-string-pixel-width
> > (propertize "a칹" 'display '(space :relative-width 1)))
> > => 22
>
> A bug?
Definitely a bug. I have a provisional fix, and will install
tomorrow, together with a fix for another bug: the current code
doesn't support this property on a string (as opposed to on buffer
text).
- Re: Tick Reduction, (continued)
- Re: Tick Reduction, chad, 2021/11/22
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/21
- Re: Tick Reduction, Eli Zaretskii, 2021/11/21
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/21
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/21
- Re: Tick Reduction, Eli Zaretskii, 2021/11/21
- Re: Tick Reduction, Eli Zaretskii, 2021/11/21
- Re: Tick Reduction,
Eli Zaretskii <=
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/22
- Re: Tick Reduction, Eli Zaretskii, 2021/11/22
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/22
- Re: Tick Reduction, Eli Zaretskii, 2021/11/22
- Re: Tick Reduction, Stefan Kangas, 2021/11/19
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/19
- Re: Tick Reduction, Eli Zaretskii, 2021/11/19
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/19
- Re: Tick Reduction, Stefan Kangas, 2021/11/19
- Re: Tick Reduction, Eli Zaretskii, 2021/11/19