all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Mechanism to scale SVG images when default face height changes?
Date: Mon, 18 Sep 2023 20:53:09 +0300	[thread overview]
Message-ID: <83bkdze5bu.fsf@gnu.org> (raw)
In-Reply-To: <CAKDRQS5UEZxqnAu5PiV6mffHuAGe+ko+Gb5LxsuNc=ynw9Tyuw@mail.gmail.com> (message from Jimmy Yuen Ho Wong on Mon, 18 Sep 2023 18:42:33 +0100)

> 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	other threads:[~2023-09-18 17:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-18 17:42 Mechanism to scale SVG images when default face height changes? Jimmy Yuen Ho Wong
2023-09-18 17:53 ` Eli Zaretskii [this message]
2023-09-18 19:16   ` Jimmy Yuen Ho Wong
2023-09-18 18:19 ` Alan Third
2023-09-18 19:10   ` Jimmy Yuen Ho Wong
2023-09-18 19:37     ` Alan Third
2023-09-18 19:55       ` Jimmy Yuen Ho Wong
2023-09-18 20:53         ` Alan Third
2023-09-18 21:04           ` Jimmy Yuen Ho Wong
2023-09-20 19:12             ` Alan Third

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83bkdze5bu.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=wyuenho@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.