[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#32210: Support medium weighted fonts
From: |
Lars Ingebrigtsen |
Subject: |
bug#32210: Support medium weighted fonts |
Date: |
Wed, 20 Oct 2021 16:28:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> Not sure what exactly you are asking, but does font_style_to_value
> answer that?
No, that function is fine.
I'm asking: What are the semantics of the integers in weight_table? Do
they have to match up with numbers somewhere else? The comment just
says that they have to be monotonically increasing, but not what their
meaning is.
If I change
{ 210, { "black", "heavy" }},
to
{ 212, { "black", "heavy" }},
changing to the "black" weight still works. If I change it to
{ 215, { "black", "heavy" }},
it no longer works, and the font machinery chooses the "normal" font
instead... which is at 100.
So I'm guessing the numbers are used in font_score somehow, but the
logic is oblique.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#32210: Support medium weighted fonts, Lars Ingebrigtsen, 2021/10/20
- bug#32210: Support medium weighted fonts, Eli Zaretskii, 2021/10/20
- bug#32210: Support medium weighted fonts, Lars Ingebrigtsen, 2021/10/20
- bug#32210: Support medium weighted fonts, Eli Zaretskii, 2021/10/20
- bug#32210: Support medium weighted fonts,
Lars Ingebrigtsen <=
- bug#32210: Support medium weighted fonts, Lars Ingebrigtsen, 2021/10/20
- bug#32210: Support medium weighted fonts, Lars Ingebrigtsen, 2021/10/20
- bug#32210: Support medium weighted fonts, Eli Zaretskii, 2021/10/20
- bug#32210: Support medium weighted fonts, Lars Ingebrigtsen, 2021/10/20
- bug#32210: Support medium weighted fonts, Eli Zaretskii, 2021/10/21
- bug#32210: Support medium weighted fonts, Lars Ingebrigtsen, 2021/10/21