From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: What is `image-compute-scaling-factor' for? Date: Thu, 24 Dec 2020 12:36:59 +0200 Message-ID: <63B86086-94CB-4E10-9F62-E3F0C563FFB5@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17593"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android To: emacs-devel@gnu.org, Evgeny Zajcev , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 24 11:37:45 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ksO09-0004Tj-Bq for ged-emacs-devel@m.gmane-mx.org; Thu, 24 Dec 2020 11:37:45 +0100 Original-Received: from localhost ([::1]:60578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ksO08-0006Ob-CM for ged-emacs-devel@m.gmane-mx.org; Thu, 24 Dec 2020 05:37:44 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksNzd-0005qR-P3 for emacs-devel@gnu.org; Thu, 24 Dec 2020 05:37:13 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39367) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ksNzd-0003f6-IC; Thu, 24 Dec 2020 05:37:13 -0500 Original-Received: from [2001:4df7:0:1e90::1] (port=35914) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ksNzR-00051A-LD; Thu, 24 Dec 2020 05:37:13 -0500 In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:261672 Archived-At: On December 24, 2020 11:30:57 AM GMT+02:00, Evgeny Zajcev wrote: > What is this `image-compute-scaling-factor' function for? >=20 > It operates with some insane "typical character" definition=2E In old > times > this "typical character" thing might had some common sense, but > nowadays > with huge monitors and dense DPI, this "typical character" thing is > insane >=20 > What should `auto' image-scaling-factor *really* do? >=20 > Thanks Doesn't the doc string of create-image (which does the scaling) answer you= r question?