[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'.
- Re: Using more and/or better icons in Emacs, (continued)
- Re: Using more and/or better icons in Emacs, Eli Zaretskii, 2021/04/09
- Re: Using more and/or better icons in Emacs, Alan Third, 2021/04/09
- Re: Using more and/or better icons in Emacs, Alan Third, 2021/04/09
- Re: Using more and/or better icons in Emacs, Dmitry Gutov, 2021/04/09
- Re: Using more and/or better icons in Emacs, Stefan Kangas, 2021/04/09
- Re: Using more and/or better icons in Emacs, Stefan Kangas, 2021/04/09
- Re: Using more and/or better icons in Emacs, Alan Third, 2021/04/10
- Re: Using more and/or better icons in Emacs, Stefan Kangas, 2021/04/10
- Re: Using more and/or better icons in Emacs, Alan Third, 2021/04/10
- Re: Using more and/or better icons in Emacs, Alan Third, 2021/04/12
- Re: Using more and/or better icons in Emacs,
Stefan Kangas <=
- Re: Using more and/or better icons in Emacs, Alan Third, 2021/04/13
- Re: Using more and/or better icons in Emacs, Stefan Kangas, 2021/04/13
- Re: Using more and/or better icons in Emacs, Alan Third, 2021/04/13
- Re: Using more and/or better icons in Emacs, Stefan Kangas, 2021/04/13
- Re: Using more and/or better icons in Emacs, Eli Zaretskii, 2021/04/14
- Re: Using more and/or better icons in Emacs, Alan Third, 2021/04/15
- Re: Using more and/or better icons in Emacs, Eli Zaretskii, 2021/04/15
- Re: Using more and/or better icons in Emacs, Alan Third, 2021/04/15
- Re: Using more and/or better icons in Emacs, Dmitry Gutov, 2021/04/11
- Re: Using more and/or better icons in Emacs, Alan Third, 2021/04/09