emacs-devel
[Top][All Lists]
Advanced

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

Re: High-res Customize icons


From: Stefan Kangas
Subject: Re: High-res Customize icons
Date: Thu, 23 Apr 2020 18:34:33 +0200

Clément Pit-Claudel <address@hidden> writes:

> I agree, but we need to solve two concrete issues with SVG scalable images 
> before they are usable:
>
> * Automatic scaling (changing the font size automatically resizes icon fonts, 
> but not images)

I seem to remember we discussed this a while back, but can't find it
now nor remember the conclusion.

> * Adjusting the background color (currently the SVG renderer uses the 
> background color of the default face, while icon fonts use the right 
> background color)
>
> Juri mentioned these issues in 
> https://lists.gnu.org/archive/html/emacs-devel/2019-09/msg00414.html, and 
> until we have a fix SVG isn't really usable as a replacement for icon fonts.

There's also the issue of scaling the svg images using librsvg, which
can only scale using cairo or with a deprecated method.  If I read the
above thread correctly, the suggestions are:

1. Find a way to use librsvg + cairo to scale images in a toolkit
independent way.
2. Lars suggested to modify the XML (the svg file).
3. Change to a different svg library.

I'm not sure which of these would be the most practical.

Here's a relevant Stack Overflow question:
https://stackoverflow.com/questions/7540901/scaling-vector-images-through-librsvg

Best regards,
Stefan Kangas



reply via email to

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