emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add support for `ch' and `cw' dimension specifiers for the i


From: Alan Third
Subject: Re: [PATCH] Add support for `ch' and `cw' dimension specifiers for the image
Date: Fri, 29 Mar 2024 09:50:06 +0000

On Thu, Mar 28, 2024 at 10:34:32PM +0300, Evgeny Zajcev wrote:
> чт, 28 мар. 2024 г. в 14:41, Alan Third <alan@idiocy.org>:
> 
> > On Thu, Mar 28, 2024 at 01:50:37PM +0300, Evgeny Zajcev wrote:
> > > Yes, this is intentional, because saying "height of the font" in docs,
> > when
> > > font's pixel size is used in code, is misleading and it took me some time
> > > to understand why image renders smaller then font height if '(1 . em) is
> > > specified as dimension modifier.  That's why I started using coefficient
> > > (calculated with `my-em-height-ratio') to `em' specifier
> >
> > Does this mean we have em wrong? It should ideally, IMO, be equivalent
> > to em in a web browser because that seems the most common use Emacs
> > users will be aware of. If we're using the wrong value then we should
> > change it.
> >
> 
> Not wrong, but different.

OK, I understand, thanks. Em should be equivalent to the font's size
(i.e. 12 points for a 12 point font) so it's good. This is different.

I'm happy with it if you are, Eli.
-- 
Alan Third



reply via email to

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