From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.help Subject: Re: Font weight: light as regular, regular as bold Date: Mon, 20 Jun 2022 00:13:42 -0700 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12092"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 20 09:14:57 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3Bcf-00032I-6g for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 20 Jun 2022 09:14:57 +0200 Original-Received: from localhost ([::1]:55956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3Bce-0000NH-4H for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 20 Jun 2022 03:14:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3BbX-0000Aw-7H for help-gnu-emacs@gnu.org; Mon, 20 Jun 2022 03:13:47 -0400 Original-Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:45896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3BbV-0007yb-BD for help-gnu-emacs@gnu.org; Mon, 20 Jun 2022 03:13:46 -0400 Original-Received: by mail-pl1-x632.google.com with SMTP id d5so8935003plo.12 for ; Mon, 20 Jun 2022 00:13:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=epDYvmmJbMdALbfLXPi1r9CwRS5NaSgdq7sRAZzd/U0=; b=JJVsPKpM13tzFEJfgCpPOganPf2o9KlVcKz9/p+Eg6ruXlZ/yXCX6jaOP+wCoLR7Iz ibdm/kNjqVM8/+tqQphiiTd/TgOUCS8hyDZO2u2PhpQ69yOMW8CPoNWP6H6+Txh9mRFV Rq1EzTJl0NH6bs8NVXY2jJTqLRax7cxxCjVV1sXPDSuiZaVhieJJ4ljOY8fFKahoe9FG OD4CbG05iHKePI3Kp+ipLFZfXAvCuycydpwo2wZIc7m2i0i6JQqfkRqcwCYOcB7SWin7 pB0vzRABGGNiz1IM3hmPoKY2RdOYV9GkbbCI/Z9Hr4CdfC6OwHH06ARgq57pGOgMhm4v vGBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=epDYvmmJbMdALbfLXPi1r9CwRS5NaSgdq7sRAZzd/U0=; b=ad/GOsWwgLxKktJtQxH6pKbmdj7Nk3sBS235RmLk5Xl6pz5AqlhiUuJPXzmq/M1pnj fgJBOT0iU2r72aJZ1tbbR4XKiqzSIUlpBVRVNmzNeSjV+W8H2c/ORsmXqOIPAK4EANmO 0rhGTnGz5dkQnpPTSdarrqhCjzfSVhCiQLIG8wLoVgBPscUV49rMLfNrtvPcTD+lMEDl 0Es5WB68xNUZ7JnDzHWXkW5UNJlQlulkrc9PxITJWU2TT7D+/KotA/NqZHP2h29/YP+S jgLutCaD2KXNaVJKWRowsBDHTU9D3lfMqp96B2cGgg5eNeqDZmJK7ETpfKvNBfT17vIz c83g== X-Gm-Message-State: AJIora/ewMnlvPwnD+GIuyoIkvAJ3o9feyQeRC0sMUMksypJIJRzefG9 G3s7UgOUyYrBSIlLvYOeYuq0YhxEyjI= X-Google-Smtp-Source: AGRyM1vzhWhhQ952lQGOShLYIxPIqCxUJqj317Abmf6slrFFdGsB3v8dodRqTl9JxB7L+9VeMY8Dvw== X-Received: by 2002:a17:90b:33cd:b0:1e6:8a38:f0b9 with SMTP id lk13-20020a17090b33cd00b001e68a38f0b9mr25433926pjb.64.1655709223366; Mon, 20 Jun 2022 00:13:43 -0700 (PDT) Original-Received: from smtpclient.apple ([2600:1700:2ec7:8c90:99d9:ea9d:a995:fcb4]) by smtp.gmail.com with ESMTPSA id s16-20020a170902a51000b00163f6428657sm7150102plq.6.2022.06.20.00.13.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jun 2022 00:13:43 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3696.100.31) Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=casouri@gmail.com; helo=mail-pl1-x632.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137934 Archived-At: > On Jun 19, 2022, at 10:54 PM, Yuan Fu wrote: >=20 > Hi, >=20 > I have a font that I want to use its light weight as regular, and = regular as bold in Emacs. Basically I want that when I set >=20 > (set-face-attribute =E2=80=98face :weight =E2=80=98regular) >=20 > Emacs actually uses the light weight of that font. Is that possible? >=20 > Thanks, > Yuan In the same spirit, is it possible to use a font A=E2=80=99s italic as = font B=E2=80=99s italic? Eg, when I use (set-face-attribute =E2=80=98face :family =E2=80=9CB=E2=80=9D :style = =E2=80=98italic) Could Emacs actually use A=E2=80=99s italic? Yuan=