[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SVG displayed image size
From: |
Jean Louis |
Subject: |
Re: SVG displayed image size |
Date: |
Sat, 13 Mar 2021 11:07:13 +0300 |
User-agent: |
Mutt/2.0 (3d08634) (2020-11-07) |
* Matt Huszagh <huszaghmatt@gmail.com> [2021-03-13 00:16]:
> Hello,
>
> SVG images are displayed smaller than I would expect in Emacs. How is
> this controlled? I spent a while looking through image display functions
> in elisp, but was not able to figure out how Emacs determines the actual
> size of the image display in, e.g., image-mode. I've compiled Emacs with
> SVG support, of course.
>
> For instance, I have an SVG image with the width attribute specified as
> about 20mm, but it displays as well below 2cm on my screen. I have an
> HiDPI display and I expect these things are related.
As side notes, what I remember is that X display has its DPI settings,
so the scaling and ratio of display could depend of settings outside
of Emacs.
Please see here various references that could help in tweaking it:
https://wiki.archlinux.org/index.php/HiDPI
Jean