emacs-devel
[Top][All Lists]
Advanced

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

Re: Mechanism to scale SVG images when default face height changes?


From: Jimmy Yuen Ho Wong
Subject: Re: Mechanism to scale SVG images when default face height changes?
Date: Mon, 18 Sep 2023 20:16:49 +0100

Is there anything where I don't have to specify the position of every icon in every frame?

Jimmy


On Mon, Sep 18, 2023 at 6:53 PM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
> Date: Mon, 18 Sep 2023 18:42:33 +0100
>
> As far as I understand, simply adjusting the scale factor of the image will suffice. The problem is,
> since Emacs doesn't do it by itself, I don't really know how to do it in Elisp and be performant. Are
> there any hooks or internal undocumented functions that I can use to scale all the images in all of the
> frames when the default face size changes?

Are you aware of the function image--change-size?

reply via email to

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