[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How much is one em (image size unit)?
From: |
Manuel Giraud |
Subject: |
Re: How much is one em (image size unit)? |
Date: |
Fri, 31 Mar 2023 16:40:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Akib Azmain Turja <akib@disroot.org> writes:
> I'm trying to show an image such that it has same height as the text and
> resizes relatively with text scale. I've achieved this with the 'em'
> unit as described in (elisp)Image Descriptors. But 1 em seems to be
> pretty smaller than the font size. How to figure out correct value in
> em unit such that image and the text has correct height?
Hi,
FWIW, your example works for me and scales accordingly when I zoom.
--
Manuel Giraud