From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Add Tango and Adwaita icons for the toolbar Date: Sun, 5 May 2024 19:58:45 -0700 Message-ID: <8FCC59C0-99BC-4F3F-8D2C-A604D994899A@gmail.com> References: <86plu1g3tu.fsf@gnu.org> <4D93EB52-CBAE-4065-85B8-35590A58D60E@gmail.com> <86v83sesb1.fsf@gnu.org> <87jzk87obv.fsf@yahoo.com> <91EE12D7-F7E4-4C0E-8C60-0118D3ABEBB8@gmail.com> <86edagei8u.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) 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="17346"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 06 04:59:43 2024 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 1s3oZr-0004IJ-HI for ged-emacs-devel@m.gmane-mx.org; Mon, 06 May 2024 04:59:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3oZD-0004yB-D8; Sun, 05 May 2024 22:59:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3oZB-0004sc-Vg for emacs-devel@gnu.org; Sun, 05 May 2024 22:59:02 -0400 Original-Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3oZA-0007XU-6u; Sun, 05 May 2024 22:59:01 -0400 Original-Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1ec4dd8525cso9782555ad.3; Sun, 05 May 2024 19:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714964338; x=1715569138; darn=gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wqIbkvXMRjfBpwwlP/AglvBA4/ym/qo9L2nX5+HSnwM=; b=LeEWGDcd1ZJ8jn8RBCOFitldXz0mJAnFrJvNUXMJFRl1hnzVEVh+y+qr/EShtwW9yh qutstqgbkyg4ciKNd8P5j8a2HGjSqs9ZQrerj38cXk3EpMBfBokzbmGmi1DJbjF9yUUA BcRFzTC9+6LAEI8uGHzl4lU41k8Iexv4dYaAgv4EFjXpcC/q6n6n+gDXEwbBgJ7so+8k mDf33vaDrr3uQ9vRCaP8wrHp4vh4bUQqBxpapmQG+zpYJ1zAQyKmDkMEUiiqoNT09buV v8FWzaIU7rX/GAt06b/Zjqs/r4YXtagiViMhhvZoUK7KLLH+ADI6rZls05nHtPe7vRsc Mvrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714964338; x=1715569138; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wqIbkvXMRjfBpwwlP/AglvBA4/ym/qo9L2nX5+HSnwM=; b=IgPL1dqp7LB0JVBAqGqn/D4cia900l8FizfaWUhHuCwKP8c3hrXOL0sZDZMS2o4Nvo HrPZV5ns/NFYzTywfwZsVtUZUMJiDCgoD6N+JXpejuUz0AbesQC8R+wUmnxrc5ex90Ot y6te6i4ow8/ktQ0T2BCNXCuqVOVIdZB1agjfwlptNPPU3bzsO1bt7to4HzUdgUCA1fSw O82gsvqHSVVPrUL6NDxj0UXRF2i8n2oKOS0x4l+xHZNxSqKd2Y38Yxqmc628J1a7VVn0 O0Gap5anveI3rcii5YjsAaKkiawPZEVglRi7P+N/3GZLa1XwTzdhwYgrfqEykm0B3hKd AaIg== X-Forwarded-Encrypted: i=1; AJvYcCW0BOOlbOtZYL+4b1/v8lco2kEDN/5mAo4r/Z1NQhe+9XCojJFhVXHyeAPDIyagdzZcw/OG2huu6vphja8/TZyEgxKd X-Gm-Message-State: AOJu0Yz+elguwHVUQqC7Q8JhwqyEirHHy0xgaWvRiD0xBkF3EVJN9FvM k4C8OemKg9kgynU4QsnchsL9rarzJRLde18C7g+9h0kitoTYRN0FOVC6ag== X-Google-Smtp-Source: AGHT+IFOWuFod/phjBDMx3NH2aRFpaHU7uhc3A8M3xUYasZgd3yydJRB352oh6fMxHzcNkxnrVSifA== X-Received: by 2002:a17:902:dac1:b0:1e7:8d21:7fd7 with SMTP id q1-20020a170902dac100b001e78d217fd7mr10658426plx.28.1714964337577; Sun, 05 May 2024 19:58:57 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:641:300:4910:8c94:1882:61e7:40ed]) by smtp.gmail.com with ESMTPSA id t14-20020a170902e84e00b001ead2c5ef12sm7140504plg.210.2024.05.05.19.58.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 May 2024 19:58:56 -0700 (PDT) In-Reply-To: <86edagei8u.fsf@gnu.org> X-Mailer: Apple Mail (2.3731.700.6.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=casouri@gmail.com; helo=mail-pl1-x633.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, 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.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:318872 Archived-At: > On May 5, 2024, at 2:10 AM, Eli Zaretskii wrote: >=20 >> From: Yuan Fu >> Date: Sun, 5 May 2024 00:03:05 -0700 >> Cc: Eli Zaretskii , >> emacs-devel@gnu.org >>=20 >>=20 >>=20 >>> On May 4, 2024, at 11:41 PM, Po Lu wrote: >>>=20 >>> Eli Zaretskii writes: >>>=20 >>>> What do you mean by "works fine"? Does the tool bar resize to >>>> accommodate the larger icons? If not, what happens? >>>=20 >>> The NS and GTK toolbars resize icons to fit in themselves, and as = such >>> their users are not in a position to notice problems arising from >>> inconsistently proportioned (or oversized) tool-bar icons. >>=20 >> And we actually want the icons to be =E2=80=9Coversized=E2=80=9D so = they still look crisp on high-res displays. >=20 > I don't understand what that means in practice, sorry. How do I tell > whether my display is high-res (it probably isn't), and what will > happen if it isn't, when using these icons? That=E2=80=99s what we need to figure out. Ideally we want to use 64x64 = images for high-res displays, and 32x32 for normal displays, and on both = displays the icons should have the same physical size on the glass. On = NS port this seems to work automatically: you give it 64x64 images and = the system scales them to fit the toolbar. We need to figure out what = needs to be done for GTK and other term for the icons to look good and = have the right size. > My point is that if these icons need the tool bar to resize, that will > have two adverse effects: The tool bar keeps its size, and resizes the icons to fit in the tool = bar, not the other way around (at least on NS port, on other ports we = want to achieve the same effect) Yuan