GNU bug report logs - #62675
29.0.60; emoji-zoom-increase interacts badly with faces

Previous Next

Package: emacs;

Reported by: Robert Pluim <rpluim <at> gmail.com>

Date: Wed, 5 Apr 2023 07:39:01 UTC

Severity: normal

Tags: fixed

Found in version 29.0.60

Fixed in version 29.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.60; emoji-zoom-increase interacts badly with faces
Date: Wed, 05 Apr 2023 09:38:32 +0200
--begin--
emacs -Q
C-p C-p
C-x 8 e + + + +
C-u C-x =
--end--

Visually, this does the right thing: the ';' has its height increased,
but the text properties look like this:

  face                 ((:height 1.1) font-lock-comment-delimiter-face :height 1.3310000000000004)
  fontified            t
  rear-nonsticky       t

Thatʼs not a valid 'face property, unless Iʼm misreading (info
"(elisp) Special Properties"), plus the ':height 1.331' bit is wrong,
thatʼs (expt 1.1 3), not (expt 1.1 4). Yet it works, the height has
been increased.

Is this a bug in our interpretation of 'face properties?

I can fix the code in `emoji-zoom-increase' to produce something like

((:height 1.4641000000000004) font-lock-comment-delimiter-face)

instead, but first Iʼd like to understand whatʼs going on.

In GNU Emacs 29.0.60 (build 15, x86_64-pc-linux-gnu, GTK+ Version
 3.24.24, cairo version 1.16.0) of 2023-03-14 built on rltb
Repository revision: 4b6f2a7028b91128934a19f83572f24106782225
Repository branch: emacs-29
Windowing system distributor 'The X.Org Foundation', version 11.0.12009000
System Description: Debian GNU/Linux 11 (bullseye)

Robert
-- 




This bug report was last modified 2 years and 46 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.