emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incorrect font weight selected


From: Yuri D'Elia
Subject: Re: Incorrect font weight selected
Date: Sun, 19 Dec 2021 13:57:06 +0100
User-agent: mu4e 1.7.5; emacs 29.0.50

On Sun, Dec 19 2021, Eli Zaretskii wrote:
> I asked about the weight, not the style.

Good point, got confused :/

> Emacs 29 distinguishes between 'medium' and 'regular'/'normal' weight,
> and I don't think I see 'medium' in the above output (or maybe I
> misunderstand it).
>
> Can you show the numerical value of the weight for each one of the
> above font varieties?  (Sorry, I don't know how to ask fc to report
> that.)

$ fc-list Iosevka -f '%{weight} %{style}\n' | egrep -i 'Medium|Regular' | sort 
-n
0 Thin Extended Oblique,Regular
0 Thin Extended,Regular
0 Thin Oblique,Regular
0 Thin,Regular
40 Extralight Extended Oblique,Regular
40 Extralight Extended,Regular
40 Extralight Oblique,Regular
40 Extralight,Regular
50 Light Extended Oblique,Regular
50 Light Extended,Regular
50 Light Oblique,Regular
50 Light,Regular
80 Extended Oblique,Regular
80 Extended,Regular
80 Oblique,Regular
80 Regular
100 Medium Extended Italic,Italic
100 Medium Extended Oblique,Regular
100 Medium Extended,Regular
100 Medium Italic,Italic
100 Medium Oblique,Regular
100 Medium,Regular
180 Semibold Extended Oblique,Regular
180 Semibold Extended,Regular
180 Semibold Oblique,Regular
180 Semibold,Regular
205 Extrabold Extended Oblique,Regular
205 Extrabold Extended,Regular
205 Extrabold Oblique,Regular
205 Extrabold,Regular
210 Heavy Extended Oblique,Regular
210 Heavy Extended,Regular
210 Heavy Oblique,Regular
210 Heavy,Regular

Keep in mind I'm also not a font guru.

$ fc-list Inconsolata -f '%{weight} %{style}\n'
100 Medium

So Inconsolata _only_ has Medium on my system (this is Inconsolata
001.010-6 from the debian unstable package). I assume the other weights
are synthesized via freetype in this case.

For comparison:

$ fc-list 'Noto Sans' -f '%{weight} %{style}\n' | sort -n
80 Italic
80 Regular
200 Bold
200 Bold Italic

So the weight mapping in Iosevka seems at least superficially correct.
Note that Iosevka is a open font, just in case you want to test this:

https://github.com/be5invis/Iosevka/

The version I've been using for these tests:

https://github.com/be5invis/Iosevka/releases/download/v11.2.0/super-ttc-iosevka-11.2.0.zip

it's a massive font due to all the style/weight combinations.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]