all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Evgeny Zajcev <lg.zevlg@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: What is `image-compute-scaling-factor' for?
Date: Thu, 24 Dec 2020 16:46:21 +0200	[thread overview]
Message-ID: <83wnx7ntxe.fsf@gnu.org> (raw)
In-Reply-To: <CAO=W_ZpH29A0iqU1UKBdft6jvmOnHp73iEv4nP3oThBmj0mQuA@mail.gmail.com> (message from Evgeny Zajcev on Thu, 24 Dec 2020 13:52:21 +0300)

> 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.



  parent reply	other threads:[~2020-12-24 14:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-24  9:30 What is `image-compute-scaling-factor' for? Evgeny Zajcev
2020-12-24 10:36 ` Eli Zaretskii
2020-12-24 10:52   ` Evgeny Zajcev
2020-12-24 11:07     ` tomas
2020-12-24 14:46     ` Eli Zaretskii [this message]
2020-12-24 17:12       ` Evgeny Zajcev
2020-12-25  5:17         ` Lars Ingebrigtsen
2020-12-25  6:10           ` Evgeny Zajcev
2020-12-25  6:15             ` Lars Ingebrigtsen
2020-12-25  6:36               ` Evgeny Zajcev
2020-12-25 17:12                 ` Stefan Monnier

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=83wnx7ntxe.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lg.zevlg@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.