From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OBPnHXC5u2HzrQAAgWs5BA (envelope-from ) for ; Thu, 16 Dec 2021 23:10:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cIF8GXC5u2HHXAAAB5/wlQ (envelope-from ) for ; Thu, 16 Dec 2021 22:10:56 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1A6A13118D for ; Thu, 16 Dec 2021 23:10:56 +0100 (CET) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id AB8E4297D3; Thu, 16 Dec 2021 17:10:49 -0500 (EST) Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) by mail.notmuchmail.org (Postfix) with ESMTPS id DAD98297CB for ; Thu, 16 Dec 2021 17:10:45 -0500 (EST) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id C89F11B00212; Fri, 17 Dec 2021 00:10:43 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1639692643; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=11Clp4Do03vfOqG4Dniwd1WWmSB4i6KW1UUUoptIAFg=; b=cVyxYokBx3ijNLOm59NuFUBedq1uNvAeyOHNO66pSxQxFkp0aGHyhv1wpkZuO1VTXJCiQP PKtnELXZF4HB4lOfUGIhHDQWoaMaRM7GPLs6Eg9z/vRQTb9xkY2mLb4MoGAZwSzdOUxN7Y d/nrjOl5YClJG8bAPq9whE0BMPG5eFDZh+tEDs64XPjvXtJ6ptGATKWWAS0VhsztBESbZV no2hCSIxjECbSDOHbOp9qPSVKW6zBqUmvVx5oud8C6hpE/gWGuK6T/Gujr6kc8qv7k67jl xPhVHJIeDklZCtQLoQQww2ZMCtSjEfpLA0j/bjk6pfOO5H70M8IDFKbEafghJQ== From: Tomi Ollila To: David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH v2] emacs: add notmuch-logo.svg and use it in emacs mua on graphic displays In-Reply-To: <87y24ko5xi.fsf@tethera.net> References: <20211214221034.20032-1-tomi.ollila@iki.fi> <87y24ko5xi.fsf@tethera.net> User-Agent: Notmuch/0.33+54~gcaf4513 (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1639692643; a=rsa-sha256; cv=none; b=IGCJosEffHGjjYUY5X7tC+ijVYD/Dvu+3bjQIQcsIg/s7HbDxfXRLUM52FgheKjvmA80N/ E3b934o4zbPeFabafrCNj4y1It34W8n+segkCMOfLgVtCaQKrISdLUMs9kCVuVX3n/fBeH P19l4CY0CW0MQBJfEKB2gsc36xWSJ0CMX6L5YMDgXtJNIbF/cHmtNNsM7zmkbQueABb9Yf vUO7PlSO6ZIoWiLLAKz5Ldbig+IKswxRlB2JtiNW5JeV7K1hI2bCJMxyRdusWNYrEI4qbE UOtpdRlY/5vUCIx+50dcaHyXAlEaVhaeQVb/1r6EI5ZfwEmEJIuRzx8FO8Lk6g== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1639692643; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=11Clp4Do03vfOqG4Dniwd1WWmSB4i6KW1UUUoptIAFg=; b=i0dbaex3a6WRaIabVeTZuCJwMUg/QHeFvTEXBg3HilRpxejVmdQX2L81fZOZe4WqyIWnBl H1Iy9+ZqbE9bilyKNpQUDj3AWGNFDgODHPP5vZ87v4zhcDgN4wNLDQ+6CUxr+kzhlnCUzH U34+Zq2Omg+LX1Hj+ztkF7nhNbbzve8VC6NiYHDAkwj1PBEPXNtprEGkYyeCNoMOUdEQtj jqe1VWEXqqkfXN/4SIJZvPdvHlOgYzUjwEJ0aMnr/vdVNDTmk9bGTKkWkfnFeUJ3Ri5b8g P6b//OsF2L3kFO05q8wm8c6KYOuGS04KLvbGwJF93QIpB/pi7GbAvhLP69/7wg== Message-ID-Hash: 6QZWDCE3TWIZEEETAOLMKGDXIKAEX35N X-Message-ID-Hash: 6QZWDCE3TWIZEEETAOLMKGDXIKAEX35N X-MailFrom: tomi.ollila@iki.fi X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: FR ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639692656; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=eoMo5KT8kmdgRkMo93Od0S9wOJr/qXVBwgJ8gGxJIsM=; b=UhcNSbNkZrt9o8cEzTrOhSXbFM76pgHnQLIdiOZyKHz2R8oFLFMocA+xlXJi05El171IOA LRiBgsS2UKyC59S9Nh7iMJyv5UyfhSTDm4Ab5CmElPJc6ChbDW6L2iILwnTJ507sppyFNE Km3m8lf6qJ/l/C63kqwFQ6kogjY/YqgJy1zu/HAhyAadpjUAkChDLXV7D/TiMka3DSqvJA RAeyDWc40O5LGQ5Kvpwy7qr2kn4UvFGK8YBuRLtMsaqvXKyxuiSFcp9lFtrprwfD2/eGid Hdu7iGyMTokoMmUg1XaW6Iw+mdOP8I0hfAj0GAJBZzndVrLtlgL73ckvmK1iGw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1639692656; a=rsa-sha256; cv=fail; b=VsUZcdA2XFlCYzd24Wu/85H2JAwhCk0SY/Ye1husHF3eGEyNS3F2BZXL0MZiaIk8U862/B XVgA3KgedZyomBYkEgditRWJUP6xhJi+NlCuaZLTthqqCqTHDKsS50o06PgTbPGrYFbz0/ L+Ff6jmMfotFIadhvimzTCd1znxVRLySAr7aHtMazm4aAkA1D+hobaIcff3VT4fVGeSlSq Rer10KVhkaWAvfBytG1DLQZT6t99goUX701yRGMuWuuWrSzXugHfX6MFJQXJw48kPVTWVz 9U74tTg+r6j5iWJHY7tmTJg6LIwGvNbMhdr+glDbc06zDdrYwU1F6O7BF4OjuA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=cVyxYokB; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.76 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=cVyxYokB; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 1A6A13118D X-Spam-Score: -0.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: f+XIWySEA/8U On Thu, Dec 16 2021, David Bremner wrote: > Tomi Ollila writes: > >> emacs/notmuch-logo.svg is handcrafted scalable vector graphics version >> of the notmuch logo. >> >> Emacs on graphic displays render this image four times in size compared >> to the emacs/notmuch-logo.png, and the image is much sharper. >> >> The rendered image size, 100x110 pixels, fits reasonably well with >> text shown in various font sizes. >> >> Scaling the image -- if desired -- may come in the future. For now >> this is improvement on how the logo looked in notmuch-hello window. > > I wish it was possible to scale in units relative to text size. For me > with default settings it looks a bit big (see attached). Anyway, I can > live with this (not least since I don't normally display the logo). Nice font, is that 20 pixels in height ? (and what font is it ?) > Anyone else want to chime in before I apply this change? I personally tried with 12x25 sized font (xrandr tells 1920x1200, 294mm x 165mm so what is that in dpi...) -- and it could be that majority of users uses smaller font so it could look a bit tall. Let's wait for a while for more comments. In the meanwhile, after sending the patch email, I noticed that the .png is 50x58 in size and .svg 110x100 (I accidentally swapped dimensions). So now I tried to drop 10 pixels from bottom (making it 100x100) which makes it look a bit more like the original. The modified image is available below; the html "decoration" is for your entertainment: copy the whole content into a file.html, open file://$PWD/file.html in your web browser -- if web browser is firefox, ctrl-+ and ctrl-- scales the image... Tomi --8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<-- --8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--