From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: "Fix" sag scaling for hidpi Date: Sun, 14 Feb 2021 00:50:26 +0200 Message-ID: References: <9C04F72C-1BB6-4308-AD8E-4A2B471CAC4E@gmail.com> <871rdkte4f.fsf@gnus.org> <87h7mgqj60.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16102"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 To: Alan Third , Lars Ingebrigtsen , Yuan Fu , Robert Pluim , Eli Zaretskii , monnier@iro.umontreal.ca, emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 13 23:52:45 2021 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 1lB3mN-0003xv-Cc for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Feb 2021 23:52:43 +0100 Original-Received: from localhost ([::1]:54422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lB3mM-0000Nx-Cs for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Feb 2021 17:52:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lB3kG-0007Sv-D2 for emacs-devel@gnu.org; Sat, 13 Feb 2021 17:50:32 -0500 Original-Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:38378) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lB3kE-0007pC-MR; Sat, 13 Feb 2021 17:50:32 -0500 Original-Received: by mail-wm1-x336.google.com with SMTP id x4so3630323wmi.3; Sat, 13 Feb 2021 14:50:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=zoko3UVrdddYB9uwz5C+uodhW9lqkHB+pi7mFJsUk9Y=; b=KVlrZGT+uHd+wjMAR1bGV1jsSmAg5NPXvVSkXUsr0vSHsmbmktqOXniKO44+yITU1u 2DYfEX/WwQ/Y3gfNXTNzTiE2kQbQfWcZL+ynIbkh82VKsdFISIrV0CmgkLKQbsmhcyNX fcoAOG+Q+xGxRQsqGJNnXSLS0hlBDiFUh1DX9drJcHOLm6kGyx6ePQ+59tYpPZYa04ub zgyW3DjjGTeb5gHSBoGnDj2S4Hnv8mzdEkrz4iJYEpPhx8qHxWFsECFGQjc0JUeKaZHJ PoIDzQ9wHe3A9BJQFLJRyWNz9mH/cl2jAJ1/cT+0mM6cOe1gRlZ4NpPnWsHaZbyTdtUn PAJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=zoko3UVrdddYB9uwz5C+uodhW9lqkHB+pi7mFJsUk9Y=; b=OnpUXvn8SaepRVNDA6jSCmorM1eqEcQTJA7O/y8rf3jfY+FFRq9o1QAm89YCQ7wdZ7 7S+nS3WHe9zlgWsuPzozIXhWySxXkGUSOdqePZNpuB6NdUWVLvk8qTKlgVU429B2VIfe J0MZC/0Tih7xTdf7ainpxwL7CqmMVfLdmlGzm0iTdvioC/xyY30pw1+GG1oKvQznyG4p AGw92YxFW4zURmwqHfUFPIKvUvxhVe+pmbptrT4owPwEwjnziw5ZrPre/5hIks2RV0fQ DOQzR3/nNqpZ6PwwGuXC2cvRhFBm+wBjCAYM8yfEsZB6Hl+i93gDzDtTWfjVAdU2wdhL qKSw== X-Gm-Message-State: AOAM532CrajHFMmI9au+jOkL6TvK7yO9byMsHRzo4VoL77swzXuQNm3e teXRrLLJMCkbQ0uAs40Vt0mQ+ed4RpY= X-Google-Smtp-Source: ABdhPJxV6Rrhkz3wPRn2DfPctOGIoC6BNINoSmv0e9ZtXqOkSQCcFgFOfJmyQBMWkz8V9Olq/VGv+A== X-Received: by 2002:a05:600c:47c4:: with SMTP id l4mr7966572wmo.83.1613256628732; Sat, 13 Feb 2021 14:50:28 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id f2sm16809756wrt.7.2021.02.13.14.50.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 Feb 2021 14:50:28 -0800 (PST) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=raaahh@gmail.com; helo=mail-wm1-x336.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:264669 Archived-At: On 13.02.2021 15:09, Alan Third wrote: > But I've added code to shrink raster images as on macOS (and PGTK) > they are also displayed at the logical size. This is probably less of > a problem than with SVGs as often you can't really tell, but I'm of > the opinion that if I open an image in an image viewer (I'm > considering image-mode as an image viewer) I'd expect it to be the > physical size. Perhaps this is wrong and most people expect the > logical size. Sorry for probably sidetracking this conversation, but can this at all be relevant to rendering the fringe bitmaps as well? I noticed the pgtk and the GTK3 builds render them in different size at 2x scaling. Basically, pgtk scales (and renders them kind of fuzzily) and GTK3 does not. I wonder if their rendering could be standardized as well, and whether the same approach could be used to avoid fuzziness.