Re: [PATCH v2] emacs: add notmuch-logo.svg and use it in emacs mua on graphic displays

2021-12-21 Thread Alexander Adolf
Hello David, 

Looks good to me. The old logo always felt a bit small to me anyway. 類

Cheers,

  --alex

-- 
www.condition-alpha.com / @c_alpha
Sent from my iPhone; apologies for brevity and autocorrect weirdness. 

> On 21. Dec 2021, at 12:05, David Bremner  wrote:
> 
> Tomi Ollila  writes:
>> 
>> Nice font, is that 20 pixels in height ? (and what font is it ?)
> 
> I use "DejaVu Sans Mono-normal-normal-normal-*-17-*-*-*-m-0-iso10646-1",
> but I'm not sure what that is in pixels. Some random web types claim
> that it is more like 23px @ 96 dpi.
> 
>> 
>>> 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.
>> 
> 
> Agreed, it's not too urgent. Although apparently the cool kids are
> annoyed the old logo does not work with their themes.
> 
> d
> ___
> notmuch mailing list -- notmuch@notmuchmail.org
> To unsubscribe send an email to notmuch-le...@notmuchmail.org


smime.p7s
Description: S/MIME cryptographic signature
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: [PATCH v2] emacs: add notmuch-logo.svg and use it in emacs mua on graphic displays

2021-12-21 Thread David Bremner
Tomi Ollila  writes:
>
> Nice font, is that 20 pixels in height ? (and what font is it ?)

I use "DejaVu Sans Mono-normal-normal-normal-*-17-*-*-*-m-0-iso10646-1",
but I'm not sure what that is in pixels. Some random web types claim
that it is more like 23px @ 96 dpi.

>
>> 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.
>

Agreed, it's not too urgent. Although apparently the cool kids are
annoyed the old logo does not work with their themes.

d
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: [PATCH v2] emacs: add notmuch-logo.svg and use it in emacs mua on graphic displays

2021-12-16 Thread Tomi Ollila
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<--




body {
background-color: #777;
}






http://www.w3.org/2000/svg;
 height="100" width="100" fill="#000" stroke-width="1">
  
  



  
  
  




  
  
  
  


  





--8<8<8<8<8<8<8<8<8<8<8<--
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: [PATCH v2] emacs: add notmuch-logo.svg and use it in emacs mua on graphic displays

2021-12-16 Thread David Bremner
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).

Anyone else want to chime in before I apply this change?

___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org