emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix placement of toggle and radio button in Lucid menu.


From: Po Lu
Subject: Re: [PATCH] Fix placement of toggle and radio button in Lucid menu.
Date: Sat, 26 Feb 2022 16:35:51 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> That's not the impression I get when I look at the definition of
> MENU_FONT_HEIGHT in xlwmenu.c: it does use the font attributes used by
> the "usual" font backends, at least in the case of XFT and Cairo.  Am
> I missing something?

They are the same attributes, but I think they're computed differently.

AFAIK the font backends calculate ascent and descent on a per-glyph
basis, while the Lucid menu bar widget uses the maximum ascent and
descent values for the entire font.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]