From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: High-res Customize icons Date: Wed, 22 Apr 2020 18:20:41 -0400 Message-ID: References: <6AEA7E43-DB35-458F-AFF2-B45DCBDC136F@gmail.com> <83a734fecm.fsf@gnu.org> <9713d235-11d4-b593-210a-e389c265e8ad@gmail.com> <944136A7-3220-44DE-942A-032E7F13BA2C@gmail.com> <87k127fd03.fsf@mail.linkov.net> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_32CF0576-47F9-4F00-9291-494B45E9A61C" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="102911"; mail-complaints-to="usenet@ciao.gmane.io" Cc: chad , EMACS development team , =?utf-8?Q?Cl=C3=A9ment_Pit-Claudel?= , Yuri Khan To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 23 00:21:24 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 1jRNkC-000Qec-3k for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Apr 2020 00:21:24 +0200 Original-Received: from localhost ([::1]:58850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRNkB-0004no-7d for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Apr 2020 18:21:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35916) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRNja-0004Ij-K7 for emacs-devel@gnu.org; Wed, 22 Apr 2020 18:20:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRNja-0006Vd-0q for emacs-devel@gnu.org; Wed, 22 Apr 2020 18:20:46 -0400 Original-Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]:38659) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRNjZ-0006Ur-Ja for emacs-devel@gnu.org; Wed, 22 Apr 2020 18:20:45 -0400 Original-Received: by mail-qk1-x72f.google.com with SMTP id o19so4304359qkk.5 for ; Wed, 22 Apr 2020 15:20:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=hpj6hp9D6VOezvRCx6e9pzzK8VojwxZh1jKR/k9yY+s=; b=twyGV7Y3ibU8NXf+UNz8bpw3hN03ogsAlqn6TieyI8/a8m3TDcyihcy5qKe3dS2Ezm cOZ0fLjHU49X4ZOaoFQvpuAx0u3yltqTSNdcI9ce13yU/9Onxnee41VcFIfNQydDLh0A s+oXWwVkhXGTF5YqkPyCHRBNCZ2pgyZYEUMxG6Adnt7oJQaKXO2Yp0BUt8hBXA6a/h+q lL2X0A96tWmODtoMoyYfXvAN69kLqZm0Iab/ZWBYfZ16Ie8EB/aXRX3D+OLjKI3ZAWaK AQon3Jt8hNd0x52v0aJk2gdEzQ1uwgSesViLI/KXEPEhYJP/SxQRbrlGBK4ka0J9PHRY NkJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=hpj6hp9D6VOezvRCx6e9pzzK8VojwxZh1jKR/k9yY+s=; b=oUup+Wk9PnD4Bpe4We3Xlp+QWyIuV+JGSMgTNVYnoZeO0knHKknAV+aPComQX5NtXx zXSCbX7V3RlZYZuwUVXKA8GbxLNlzNsg6++BPu9AxOWPQPWzi02LFEBOmiLc82OMdkjn H0IPbPVd6oCM2uxu8DiT2mkXrAaTgkyak5Ao2uAHdYienL1emJx/SWEugmQNkCSV43Vw 8baH03mT1Un8h5MMQDSi+oZ/3uy4FzND6DPe92v7lCuQEDURPyYr68lyxRuMhJ2s15F0 TJDf5nulZ0P6dBDoe2p1GexSRJkIVh30k5Kv+xzvuF+20YdD9Ori27lszOFbPVnvDWzr wIcg== X-Gm-Message-State: AGi0PuY7jdJlotLFVnxWhBGvoUtHinF4BIZbZJ4CXhF2mForeJb2duAh V2+GDjKFn2PO8+mtDLOFXws= X-Google-Smtp-Source: APiQypK/AzgjXf3ep+MmHUv6GsD+Bm5axEO9c056YU4HwJtg3rLWjuBTX6+hywNb+1jB3BtSZP4HBA== X-Received: by 2002:a37:e54:: with SMTP id 81mr500554qko.284.1587594044230; Wed, 22 Apr 2020 15:20:44 -0700 (PDT) Original-Received: from [192.168.1.5] (c-174-60-229-153.hsd1.pa.comcast.net. [174.60.229.153]) by smtp.gmail.com with ESMTPSA id o68sm316140qka.110.2020.04.22.15.20.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Apr 2020 15:20:43 -0700 (PDT) In-Reply-To: <87k127fd03.fsf@mail.linkov.net> X-Mailer: Apple Mail (2.3608.80.23.2.2) Received-SPF: pass client-ip=2607:f8b0:4864:20::72f; envelope-from=casouri@gmail.com; helo=mail-qk1-x72f.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2607:f8b0:4864:20::72f 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:247553 Archived-At: --Apple-Mail=_32CF0576-47F9-4F00-9291-494B45E9A61C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 >=20 > I see no alternative to current icons because ASCII art > characters have own problems explained by Eli in > https://lists.gnu.org/archive/html/emacs-devel/2019-09/msg00268.html >=20 > This is why the tab-bar moved from Unicode characters to images, > but another attempt to use SVG failed as was demonstrated in > https://lists.gnu.org/archive/html/emacs-devel/2019-09/msg00414.html >=20 > But in any case feel free to try other options. >=20 > BTW, if you want to see a funny effect, try typing 'r' when point > is on the arrow in the customize buffer - it will rotate the image :-) >=20 > There are other image keys used in the customize buffer, > e.g. '+' will zoom the image (function 'image-increase-size'), > so maybe you could just increase image size instead of using > 2x image files. Aha, that=E2=80=99s pretty cool :-)=20 To be clear, I=E2=80=99m not looking for a larger icon, but one with = higher resolution. =E2=80=9C2x=E2=80=9D basically means I make a 18x18 = px image and render it in =E2=80=9C9x9 size=E2=80=9D, which looks better = than a 9x9 image on a HiDPI screen. Maybe Apple can explain it better = than I do: = https://developer.apple.com/design/human-interface-guidelines/ios/icons-an= d-images/image-size-and-resolution/ = . You can have a look at the images = my previous message, the 9x9 one looks a bit fuzzy and the high-res one = looks sharp. Yuan= --Apple-Mail=_32CF0576-47F9-4F00-9291-494B45E9A61C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

I see no alternative to current icons because = ASCII art
characters have own problems explained by Eli = in
https://lists.gnu.org/archive/html/emacs-devel/2019-09/msg00268= .html

This is why the tab-bar moved = from Unicode characters to images,
but another attempt to = use SVG failed as was demonstrated in
https://lists.gnu.org/archive/html/emacs-devel/2019-09/msg00414= .html

But in any case feel free to try = other options.

BTW, if you = want to see a funny effect, try typing 'r' when point
is = on the arrow in the customize buffer - it will rotate the image :-)

There are other = image keys used in the customize buffer,
e.g. '+' will = zoom the image (function 'image-increase-size'),
so maybe = you could just increase image size instead of using
2x = image files.

Aha, that=E2=80=99s pretty cool = :-) 

To = be clear, I=E2=80=99m not looking for a larger icon, but one with higher = resolution. =E2=80=9C2x=E2=80=9D basically means I make a 18x18 px image = and render it in =E2=80=9C9x9 size=E2=80=9D, which looks better than a = 9x9 image on a HiDPI screen. Maybe Apple can explain it better than I = do: https://developer.apple.com/design/human-interface-guidelines/i= os/icons-and-images/image-size-and-resolution/. You can have a look = at the images my previous message, the 9x9 one looks a bit fuzzy and the = high-res one looks sharp.

Yuan
= --Apple-Mail=_32CF0576-47F9-4F00-9291-494B45E9A61C--