From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Evgeny Zajcev Newsgroups: gmane.emacs.devel Subject: Re: What is `image-compute-scaling-factor' for? Date: Fri, 25 Dec 2020 09:36:13 +0300 Message-ID: References: <63B86086-94CB-4E10-9F62-E3F0C563FFB5@gnu.org> <83wnx7ntxe.fsf@gnu.org> <87o8iiihvf.fsf@gnus.org> <87czyyh0nl.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b3656905b7442485" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21239"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 25 07:37:38 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 1ksgjK-0005QP-KW for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Dec 2020 07:37:38 +0100 Original-Received: from localhost ([::1]:49874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ksgjJ-0003tl-Hy for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Dec 2020 01:37:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksgiF-0003SS-AG for emacs-devel@gnu.org; Fri, 25 Dec 2020 01:36:31 -0500 Original-Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:45796) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ksgiB-0007Pc-QV; Fri, 25 Dec 2020 01:36:31 -0500 Original-Received: by mail-lf1-x134.google.com with SMTP id x20so8578497lfe.12; Thu, 24 Dec 2020 22:36:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RC8ZD2iDPouTNnsxYNLpx7zz4L0974W7W+q4wSnzHow=; b=pyJ3pCoEnYOChFz6YJ6vMgd5EAv3pM9WoniN3CEjYMk1KgwLCu8QmbuR1cvVC+BVMG Xv90kYgi7vUr7FzXikaReFKxYhY+OhVhdQ1KUt9KZTDaCUMhg649JzI7d/NaFI1ZAg3P mFsFpbdGTQK0wRAIWjubdGMdc2kjSynwpOdamdhehE9R4huBAfD6Jz4Cnj/d+5ZPYC0T S4YtTF+7T+GlxMMEwCvKxANLTQ7QY8IRpGsGAlHyLajCKsBt3aenXRii/AxqsaB60Bm9 UXgBDKqPfwgqrMLgn1nZ2hOmwfg5/DZDxNfBN7Kf7tSilIlL6+hHI4WXK88/CxP59rO1 DTPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RC8ZD2iDPouTNnsxYNLpx7zz4L0974W7W+q4wSnzHow=; b=UjidBlgKPHPG7iYyi5yAapu+q/vpApGzKykpKYpUSOqBtrNvZzy/O773uFgMyfe1gH TINiBJCWyHciu8obMXlx2mwGlI6az3pgIDV7x7vMLRTpS2O94MsJ1DOvGLUGLzYKyBFk hwOGINB26FqqXwePXoS7c0O17VPsJNh28VVZOKxVG2rX5+2VjukDOygTkLKUrJfuqGXr 9F8RPrvor7bzNGdAYngpQ4AjVoxG2XZ4hhPwjc2zERCmZgxzWpRzeFc9pMSNrLbvLsJP ojgxdS7wnRtTk0pQdUD+tqUXZbvnTuN/GvIaoFnHE2LMDXdE8y7/nlLHmwG6bNWccQuR lGGw== X-Gm-Message-State: AOAM531H+cPGozlct07PfkiGBzk0M9lEYfc/ddtz2lgxOlIsPVu+HlLI irQ7JCvBt+BXtA6t9gyjBL3TBEFjw2SRA6URpKc= X-Google-Smtp-Source: ABdhPJxra61sEXNNgU5fDnoXzHmt8GPMkoi+ISeOmYY1xCjRY7rV+ts1v7WK66uGY6sHLbTkWSUoqOVvTPrqYXvnBwI= X-Received: by 2002:a2e:89d9:: with SMTP id c25mr16886288ljk.410.1608878184946; Thu, 24 Dec 2020 22:36:24 -0800 (PST) In-Reply-To: <87czyyh0nl.fsf@gnus.org> Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=lg.zevlg@gmail.com; helo=mail-lf1-x134.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:261718 Archived-At: --000000000000b3656905b7442485 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =D0=BF=D1=82, 25 =D0=B4=D0=B5=D0=BA. 2020 =D0=B3. =D0=B2 09:15, Lars Ingebr= igtsen : > Evgeny Zajcev writes: > > > I really can't get how this default behaviour could be ok, see > screenshots: > > http://lgarc.narod.ru/pics/screenshot-scale.png > > Looks OK to me -- you have huge characters, so you get huge images, > which is a good default, since people presumably have huge characters > because they need to. > > If you don't like the heuristics, you know what to do. If you've chosen > to have huge characters for whimsical reasons, you have a very unusual > setup: People normally choose a font size based on what's comfortable > for them to read. > Normally people expect that everything scales if you are zooming in or out. For example M-x text-scale-increase RET should scale images as well for sure. However, having font setup affecting the way images are displayed is something new. None of the software I've been using does so. You can set any default font size in Mozilla/Chrome/Opera without affecting image sizes, but if you do "zoom-in", then everything zooms in, text and images. Same for UI elements in Ubuntu for example, you can set font size to whatever you want value without affecting image sizes, on the other hand you have a "scaling" parameter, which affects everything - font size and images. Anyway, thanks for the clarification! I will just set `image-scaling-factor` to the value I'm ok with --=20 lg --000000000000b3656905b7442485 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


--
lg
--000000000000b3656905b7442485--