GNU bug report logs - #67174
30.0.50; [PATCH] What about a vectorized Gnus mode-line logo?

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Tue, 14 Nov 2023 14:02:01 UTC

Severity: normal

Tags: fixed, patch

Found in version 30.0.50

Done: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Bug is archived. No further changes may be made.

Full log


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

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: 67174 <at> debbugs.gnu.org
Subject: Re: bug#67174: 30.0.50; [PATCH] What about a vectorized Gnus
 mode-line logo?
Date: Mon, 20 Nov 2023 10:23:27 +0100
Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:

[...]

> Hmm, I couldn't find an explicit statement of this in the manual, but it
> looks to me that, since we're using the 'display text property, the
> :scale property will already be relative to the text that _would have
> been displayed there_. IOW, we're already scaled to the text. The text
> property is applied to the "^Gnus:" part of a string, so 5 characters,
> and that's our base.

I don't know how it works for you but for me the pixmap version is
always the same size whatever the font size I'm using.

> Anyway, if you're concerned that the icon might bulge out the mode line
> or something, I don't think that will happen.

Yes, I have tested with really tiny font and the icon (pixmap or SVG)
never bulge.  So all in all, I think that this patch could go in as is.
-- 
Manuel Giraud




This bug report was last modified 1 year and 161 days ago.

Previous Next


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