emacs-devel
[Top][All Lists]
Advanced

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

Re: Add Tango and Adwaita icons for the toolbar


From: Yuan Fu
Subject: Re: Add Tango and Adwaita icons for the toolbar
Date: Tue, 7 May 2024 17:25:01 -0700

> On May 6, 2024, at 4:00 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> 
>> From: Yuan Fu <casouri@gmail.com>
>> Date: Sun, 5 May 2024 19:58:45 -0700
>> Cc: luangruo@yahoo.com,
>> emacs-devel@gnu.org
>> 
>>> My point is that if these icons need the tool bar to resize, that will
>>> have two adverse effects:
>> 
>> The tool bar keeps its size, and resizes the icons to fit in the tool bar, 
>> not the other way around (at least on NS port, on other ports we want to 
>> achieve the same effect)
> 
> How will you do that?  Emacs supports image resizing on (almost?) all
> platforms, but the resize is a relatively expensive and
> resource-wasteful operation, so I'd prefer to avoid that for
> displaying tool-bar icons, something that we do frequently enough to
> wish it to be fast and cheap.
> 
> So I think having two sets of icons would be preferable (assuming that
> sizing down the icons you proposed will not hamper their quality,
> something I do not expect to happen).

Yeah, my plan is to have two sets of icons. On NS, Emacs should use 64x64 
icons. On Linux and other systems, Emacs will use 32x32 by default; if the 
screen scale is x2, then 64x64 icons should be used (this is the part I’m not 
sure how to implement at the moment).

Yuan


reply via email to

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