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.bugs Subject: bug#49797: 28.0.50; Setting face to custom fontset doesn't work Date: Tue, 5 Oct 2021 12:15:01 -0700 Message-ID: <5D465C21-019D-4F62-A0CE-ABF41D94CFE0@gmail.com> References: <87y29k2h4z.fsf@gnu.org> <3B853424-9F63-4A6B-B7A9-2E3AB71986AC@gmail.com> <835yub4fj5.fsf@gnu.org> <8FD18262-3F40-4033-A49D-F6CEA89A3A31@gmail.com> <83wnmr2t3w.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) 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="14969"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Kenichi Handa , 49797@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 05 21:16:24 2021 Return-path: Envelope-to: geb-bug-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 1mXpvL-0003bn-26 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Oct 2021 21:16:23 +0200 Original-Received: from localhost ([::1]:48034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXpvJ-0006tj-RP for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Oct 2021 15:16:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXpv0-0006t4-Dq for bug-gnu-emacs@gnu.org; Tue, 05 Oct 2021 15:16:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58610) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXpv0-00050T-5g for bug-gnu-emacs@gnu.org; Tue, 05 Oct 2021 15:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXpuz-0008AW-Qm for bug-gnu-emacs@gnu.org; Tue, 05 Oct 2021 15:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Oct 2021 19:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49797 X-GNU-PR-Package: emacs Original-Received: via spool by 49797-submit@debbugs.gnu.org id=B49797.163346131631347 (code B ref 49797); Tue, 05 Oct 2021 19:16:01 +0000 Original-Received: (at 49797) by debbugs.gnu.org; 5 Oct 2021 19:15:16 +0000 Original-Received: from localhost ([127.0.0.1]:41923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXpuD-00089U-LZ for submit@debbugs.gnu.org; Tue, 05 Oct 2021 15:15:16 -0400 Original-Received: from mail-pg1-f175.google.com ([209.85.215.175]:35329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXpu8-000897-Q3 for 49797@debbugs.gnu.org; Tue, 05 Oct 2021 15:15:12 -0400 Original-Received: by mail-pg1-f175.google.com with SMTP id e7so279941pgk.2 for <49797@debbugs.gnu.org>; Tue, 05 Oct 2021 12:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=0q8jSWi8mscS2VpL7+41GIJXIB3ra1sG3Sz4yXQx7MQ=; b=fYMExVoPCLozOHgq/Iy+h1092fVQH5id0VJxXANUAWnGyV7QcaLylJxyzGlDi9C8/+ RvBkTlsqeRd6iiMGh/C36ZrD9vnj90bsWwLDMrAVSf39Qcx8ZLNm9My0bfvh9Z14eX5W IMMA18CkkXzk/2XVGiOgHHC5NzKbOHvkxOBweadNxPhEBLBBrVdbVdsHM8fCC56ZRjPM 4EMalSdeCiyelf62pFYuVhv/bNzMkj4XUumUOcQhi1FNf//Ds/xu2jyNbliRnpsixSsN BNKPrZssf4dZ619p2sKVMvhAsjXYDEyxkFKEZw0WOzdx1JwR5bbS34osYyMNrbJ1MJdw lJeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=0q8jSWi8mscS2VpL7+41GIJXIB3ra1sG3Sz4yXQx7MQ=; b=zyxUBgHi+K4NVeNwFFh5oipsJwhHArFdUMbix6fh3nLCeSb/HQlK62GhvaZ60Feh6T GEz/CDfWuRaEgUOGAe7uN0Esa/ShwJsUeOCyla3cy8lKZ29DlyA4srfAKbyjKSLR+QFA efaaQo+tvb4BIjrZffUSFJCgPKsXp+Kb7OYKOoSokNrH8x0VD2z91Tyy8+fdYN+t20Gf ZrCChCdQLYf/tY+re4XY3mZxgRUfHumwvHk1/zggzi9uAjRg4VcueyZnHxf49QH1dx0h OmcAPPXszyzeBYVPRcurNuF0ulkc9p6nrDFx5AxjXTHNF9lWdk7K/r5Xy4l2/msyMnrG w4GA== X-Gm-Message-State: AOAM533mhnpAKEFPzN2Fylf2EtKFGnsdspjmwy8h67m0dM6xD05Af+oT Gjbxd34Gddn/fXM5uONQfKBnUXYTKxE= X-Google-Smtp-Source: ABdhPJxr4eeD16+PC0S1kcH9y3ljHc+ApqeLAVVq6WJRbnqF2FDo/kHFvyKrKPW5XOvVmjHrM4vmKg== X-Received: by 2002:aa7:858e:0:b0:44c:5e03:e7f7 with SMTP id w14-20020aa7858e000000b0044c5e03e7f7mr13288106pfn.9.1633461302782; Tue, 05 Oct 2021 12:15:02 -0700 (PDT) Original-Received: from smtpclient.apple ([137.110.69.128]) by smtp.gmail.com with ESMTPSA id r5sm2745248pjd.13.2021.10.05.12.15.01 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Oct 2021 12:15:02 -0700 (PDT) In-Reply-To: <83wnmr2t3w.fsf@gnu.org> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:216494 Archived-At: > On Oct 5, 2021, at 12:01 PM, Eli Zaretskii wrote: >=20 >> From: Yuan Fu >> Date: Tue, 5 Oct 2021 10:31:59 -0700 >> Cc: Kenichi Handa , >> 49797@debbugs.gnu.org >>=20 >> Basically, Emacs doesn=E2=80=99t do what it claims to do in the = manual, see below for more explanation. >=20 > It isn't the first time, and the solution could be to fix the docs. We could, but I think the current behavior is wrong (in the sense that = it is against what the code is supposed to do, from what I can read). It = would be worse to ratify and document the wrong behavior. >=20 >> I just want to use different CJK fonts for different faces. >=20 > Why do you need that? And why specifically for CJK? Because I only know Chinese? For someone else it could be Arabic = characters, Japanese hiragana, etc. If you mean why I need more than one = font for CJK, it=E2=80=99s the same reason for why I need more than one = Latin font=E2=80=94because they look different and has different use. >=20 >> I think you would agree that, for non-Latin speakers, using different = fonts for different faces (for non-Latin) characters is an important = feature. >=20 > No, I don't think I understand why. >=20 > And the usual way to do this is to request a font family or foundry in > the face spec, not via fontsets. Doesn't that work for some reason? Because I want to use different font for different characters for that = face, isn=E2=80=99t that the whole point of fontsets? Maybe it is easier = to understand this way: variable-pitch -> :font "fontset-serif=E2=80=9D -> - Latin: Charter - CJK: Source Han Serif default -> :font "fontset-default" -> - Latin: SF Mono - CJK: Source Han Sans Currently I am unable to use Source Han Serif for CJK characters for = variable-pitch face (without the ugly solution I mentioned previously). Yuan