emacs-devel
[Top][All Lists]
Advanced

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

Re: What is `image-compute-scaling-factor' for?


From: Eli Zaretskii
Subject: Re: What is `image-compute-scaling-factor' for?
Date: Thu, 24 Dec 2020 16:46:21 +0200

> From: Evgeny Zajcev <lg.zevlg@gmail.com>
> Date: Thu, 24 Dec 2020 13:52:21 +0300
> Cc: emacs-devel <emacs-devel@gnu.org>
> 
>  Doesn't the doc string of create-image (which does the scaling) answer your 
> question?
> 
> Sorry, I don't understand it, why 10 pixels? In my case `auto' creates very 
> large images (i.e.
> (frame-char-width) ==> 30), so scaling factor is 3.  This creates very large 
> images by default.
> 
> I know I can set `image-scaling-factor` to whatever I need.  However I want 
> to understand the default
> behaviour decision, why 10 pixels is considered as "typical character" width?
> 
> I think, by default `create-image' should create images that look good when 
> inserted into buffer, that is *not*
> what I get by default.

See bug#22172.  And if that doesn't explain it, I hope Lars (who wrote
that code) could elaborate.



reply via email to

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