all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: carlosjosepita@gmail.com, 32210@debbugs.gnu.org
Subject: bug#32210: Support medium weighted fonts
Date: Wed, 20 Oct 2021 14:58:12 +0200	[thread overview]
Message-ID: <87lf2nn997.fsf@gnus.org> (raw)
In-Reply-To: <87r224nukh.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 19 Nov 2019 09:23:26 +0100")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I don't have the stamina to do that right now, so if somebody else wants
> to look into it, it's fine by me.  :-)  But if not, I'll try to have a
> whack at it sometime later.

Man, this font stuff is convoluted.  I mean, the programming -- it's all
via indirect methods for no particular reason.

Anyway, I've added all the new weights, and things...  mostly work.  But
I'm having problems actually understanding this table:

/* Table of weight numeric values and their names.  This table must be
   sorted by numeric values in ascending order.  */

 static const struct table_entry weight_table[] =
 {
   { 0, { "thin" }},
-  { 20, { "ultra-light", "ultralight" }},
-  { 40, { "extra-light", "extralight" }},
-  { 50, { "light" }},
-  { 75, { "semi-light", "semilight", "demilight", "book" }},
-  { 100, { "normal", "medium", "regular", "unspecified" }},
-  { 180, { "semi-bold", "semibold", "demibold", "demi" }},
-  { 200, { "bold" }},
-  { 205, { "extra-bold", "extrabold" }},
-  { 210, { "ultra-bold", "ultrabold", "black" }}

What are those numbers?  Is it just an ordering, and it doesn't matter
what the numbers are?  Or are they used when instantiating fonts
somewhere?  I'm just having puzzling issues with some of the new names
but not others, and I just don't understand where certain font weights
are coming from.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-10-20 12:58 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-19 14:06 bug#32210: Support medium weighted fonts Carlos Pita
2019-11-17  8:37 ` Lars Ingebrigtsen
2019-11-17 15:59   ` Eli Zaretskii
2019-11-17 17:06     ` Lars Ingebrigtsen
2019-11-17 17:54       ` Eli Zaretskii
2019-11-18 10:28         ` Lars Ingebrigtsen
2019-11-18 10:41           ` Lars Ingebrigtsen
2019-11-18 15:48             ` Eli Zaretskii
2019-11-18 17:17               ` Lars Ingebrigtsen
2019-11-18 17:26                 ` Eli Zaretskii
2019-11-19  8:23                   ` Lars Ingebrigtsen
2021-10-20 12:58                     ` Lars Ingebrigtsen [this message]
2021-10-20 13:11                       ` Eli Zaretskii
2021-10-20 13:20                         ` Lars Ingebrigtsen
2021-10-20 14:18                           ` Eli Zaretskii
2021-10-20 14:28                             ` Lars Ingebrigtsen
2021-10-20 14:42                               ` Lars Ingebrigtsen
2021-10-20 14:47                                 ` Lars Ingebrigtsen
2021-10-20 16:12                                 ` Eli Zaretskii
2021-10-21  2:33                                   ` Lars Ingebrigtsen
2021-10-21  7:01                                     ` Eli Zaretskii
2021-10-21 12:49                                       ` Lars Ingebrigtsen
2019-11-18 10:55           ` Robert Pluim
2019-11-18 17:32             ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lf2nn997.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=32210@debbugs.gnu.org \
    --cc=carlosjosepita@gmail.com \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.