[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scratch/icons 4de626ea22 08/11: Support using icons.el in toolbar
From: |
Po Lu |
Subject: |
Re: scratch/icons 4de626ea22 08/11: Support using icons.el in toolbar |
Date: |
Wed, 24 Aug 2022 14:50:34 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
Stefan Kangas <stefankangas@gmail.com> writes:
> `(find-image (cond ((not (display-color-p))
> - ',(list pbm-spec xbm-spec xpm-lo-spec xpm-spec))
> + ',(list svg-spec pbm-spec xbm-spec xpm-lo-spec
> xpm-spec))
> ((< (display-color-cells) 256)
> - ',(list xpm-lo-spec xpm-spec pbm-spec xbm-spec))
> + ',(list svg-spec xpm-lo-spec xpm-spec pbm-spec
> xbm-spec))
Non-color displays and displays whose visual class is not TrueColor
cannot display SVG images. The svg code just doesn't work.
So SVG should only be enabled in the case that (display-visual-class) is
true-color.
- Re: scratch/icons 4de626ea22 08/11: Support using icons.el in toolbar,
Po Lu <=