From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Carlos Pita Newsgroups: gmane.emacs.bugs Subject: bug#51361: 28.0.60; NS toolbar icons are too big and low res Date: Sat, 23 Oct 2021 22:35:18 -0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22908"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (darwin) Cc: 51361@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 24 03:36:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1meSQj-0005nQ-Bg for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Oct 2021 03:36:09 +0200 Original-Received: from localhost ([::1]:56706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meSQh-0001ie-GU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Oct 2021 21:36:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meSQc-0001hy-1K for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 21:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54299) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meSQb-0000rt-OJ for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 21:36:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1meSQb-0002D1-Jh for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 21:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Carlos Pita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Oct 2021 01:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51361 X-GNU-PR-Package: emacs Original-Received: via spool by 51361-submit@debbugs.gnu.org id=B51361.16350393338455 (code B ref 51361); Sun, 24 Oct 2021 01:36:01 +0000 Original-Received: (at 51361) by debbugs.gnu.org; 24 Oct 2021 01:35:33 +0000 Original-Received: from localhost ([127.0.0.1]:37612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meSQ8-0002CJ-Ql for submit@debbugs.gnu.org; Sat, 23 Oct 2021 21:35:33 -0400 Original-Received: from mail-qt1-f172.google.com ([209.85.160.172]:44819) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meSQ3-0002C2-Lv for 51361@debbugs.gnu.org; Sat, 23 Oct 2021 21:35:32 -0400 Original-Received: by mail-qt1-f172.google.com with SMTP id c28so7095687qtv.11 for <51361@debbugs.gnu.org>; Sat, 23 Oct 2021 18:35:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=FsoNzbp8OAkzk0rhxR3kd9YvSHA0F7A2NuVf8ipIGFs=; b=L7rMFrglI0BuB5JJ5i/sUOvgUK8ZUxZaBqrZBHDKcOxTbFnyoCCSVuc84/cHIF5Jcy w8Pa5lmi+cHneoorF/1GqYFOKxGTWxFz3CaZHBABBBTBRqjHu+WQ6U4HyOgso/Mwj92b VJl92fZB4z1nb2Nh4SvjK6edS8IoPKc6VsbWDNfr7vHQEWneE+Dfpt0oxEJkSDechtEp RgI3PHdbDTRQQMAP99652nXikKfSy3QR2WD4AbNmQEcpUgmdCcyDAzCq0B5KDgVGGVIV jsCKqdIHve4THvgD+mqnMXYvuZOnY8wyfLsM4xsCjTGpyqokcX/BlelSOyqxrNLuS53T 2SQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=FsoNzbp8OAkzk0rhxR3kd9YvSHA0F7A2NuVf8ipIGFs=; b=OUzIYGF7jGaQfivVziQ/h9MTwW2TFOJE9rzurORPi7eGPMmaYDPmJd7E0eyzj+v2dS H0q8C+MLcl8URVXUCmc6/XOIt+KPVGyospX+1RMaZ5kxUNzjgG64Kpw3TzZkeX+zD2tK Edxp2EVRb1S5kkIqCy+7MmZnH3HMSJtwFx+qrJQ2WqHnniYccZipj+NKQ9gsFW/enWRD wpAryOBddJqxMksrIU5t5jiP1kR5TczNbw9wuBANu5sznImbbEAlkYneiBJG1WYHQ3qy I1pHzJhzKX7mQiVj0NWxeUk2hNJuS6v2g5d1hq+GptrgdtaX8u7QJXVz+oxSpQ9A/aZW RAPA== X-Gm-Message-State: AOAM533L4xtzJErqGTh24+pUMFHTFUEm+H2KCNzT2a/wsPKueWFcLdnq gescEDYSyfdriXyXlfRGM+tfmFx4X17w7w== X-Google-Smtp-Source: ABdhPJz4js3uWLMf9Atc1JzRCIfwV1HWmdz0GKIemtYXlgT/ph9mpAKncTDuv0IqUj+yyKIjAIJRYQ== X-Received: by 2002:ac8:40d3:: with SMTP id f19mr9559369qtm.344.1635039321776; Sat, 23 Oct 2021 18:35:21 -0700 (PDT) Original-Received: from Carloss-MacBook-Pro.local ([186.136.138.53]) by smtp.gmail.com with ESMTPSA id 125sm6603299qkf.95.2021.10.23.18.35.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Oct 2021 18:35:21 -0700 (PDT) In-Reply-To: (Alan Third's message of "Sat, 23 Oct 2021 21:21:00 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:218050 Archived-At: Hi Alan, > I'm not keen to have things show up at different sizes when displayed > on retina vs not on retina. Fair enough. > Unfortunately that means finding icons that are suitable, and I > suspect for the NS port it may not be super-straightforward to > handle them in the toolbar. I'd have to investigate. Now that rsvg support is built by default, svg seems to be the sensible choice. Although maybe the icons in the toolbar are rendered natively and emacs svg support is not even required? Good svg icons are a dime a dozen (but replacing every icon in emacs doesn't strike me as the most exciting task...). Both NS and Wayland still do a raster downscaling at the end for fractional scales, so no solution will be pixel-perfect in such cases, neither svg nor double resolution pixmaps, but with svg you won't be having the same problem in a few years and, for platforms that do support direct rendering at non-integer scales (maybe Windows, I don't know), svg is a natural choice. Best regards, Carlos