[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: |
Fri, 9 Apr 2021 20:40:53 +0100 |
On Fri, Apr 09, 2021 at 08:30:14PM +0100, Alan Third wrote:
> Something like
>
> (insert-image (create-image "my/svg/file.svg" 'svg nil
> :height (line-pixel-height)
> :ascent 'center))
>
> Although it won't tie in quite as neatly as having the actual SVG
> height set to 1em or whatever.
... and if you want the actual text height instead of line height it's
more complex, have a look at scale and height in this:
https://gist.github.com/alanthird/7b86dc66df1ed3b9006bcd3fddd7350f
although there's probably a better way of doing it.
--
Alan Third
- Re: Using more and/or better icons in Emacs, (continued)
- 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, 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, 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 <=
- 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, 2021/04/12
- 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