emacs-devel
[Top][All Lists]
Advanced

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

Re: Using more and/or better icons in Emacs


From: Stefan Kangas
Subject: Re: Using more and/or better icons in Emacs
Date: Mon, 12 Apr 2021 20:25:44 -0500

Alan Third <alan@idiocy.org> writes:

>> I don't see any reason why we couldn't support CSS style units. At the
>> point that we're creating the image we have access to the complete
>> face information so it would be fairly simple to convert things like
>> '1em' to a number of pixels.
>>
>> Although maybe we'd like to make it a bit more lispy and do something
>> like ":height '(1 . em)". It's easier to parse in C. ;)
>
> See attached.

Wow, this is very useful.  It works great.  Thanks!

The only issue I see is that, unless the original SVG also has height
and width 1em, it doesn't seem to automatically resize images on
`text-scale-adjust'.



reply via email to

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