[Top][All Lists]

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

Re: Using more and/or better icons in Emacs

From: Alan Third
Subject: Re: Using more and/or better icons in Emacs
Date: Tue, 13 Apr 2021 08:35:00 +0100

On Mon, Apr 12, 2021 at 08:25:44PM -0500, Stefan Kangas wrote:
> 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'.

Hmm, it works fine here... Even with XPMs...

Can you show me what exactly you're doing?
Alan Third

reply via email to

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