From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, T_SCC_BODY_TEXT_LINE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16456 invoked from network); 25 Apr 2023 05:47:09 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 25 Apr 2023 05:47:09 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 50802E5B; Tue, 25 Apr 2023 07:46:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o2cqRM28as3G; Tue, 25 Apr 2023 07:46:43 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 228BC120B; Tue, 25 Apr 2023 07:46:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5E96F120B for ; Tue, 25 Apr 2023 07:46:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V_dHGxPb5GZ8 for ; Tue, 25 Apr 2023 07:46:40 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.51; helo=mail-ot1-f51.google.com; envelope-from=champignoom@gmail.com; receiver= Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 024E9E5B for ; Tue, 25 Apr 2023 07:46:39 +0200 (CEST) Received: by mail-ot1-f51.google.com with SMTP id 46e09a7af769-6a5d9853d97so2091088a34.2 for ; Mon, 24 Apr 2023 22:46:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682401598; x=1684993598; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=DqOVefDTzc2tyb8a52Spw2lkBeKCikTXhgg0kIx+DXU=; b=Mqj0Klkb6JaBBmfD92eAzyxTZ3Hqi0X8JyfvRWWm+v0XpRzvY1LwkCYYfLbWZrUEve Oa6mypb2X/qgAmXLdFJa823z826Irt0ruk3Xz/lGmWHCnOf9kx8pUusrIwiBPS6pXr7l sLWzjSva7kUrcquQLax2yrylgBx52SfF606mPp3/H7h5r7A1s40udc8dkacA5A+Vkkq6 rvrtJ1RwFnI293XVLWIRCdQfifRJHfVOKMEWLG7ijx4zqDzLVceWdcLm1g7thw1A1gFE 8Vl51TPTvoyqJwqbfjymw17zqVPSijTZQ6+H3JkjDpehTD4+GZImQBx188jnNWHQTI7j J+1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682401598; x=1684993598; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DqOVefDTzc2tyb8a52Spw2lkBeKCikTXhgg0kIx+DXU=; b=B83fSf9nfGDJUIW+5bThAYbHOjY7no4fRxUjQkNyv+KxtJRKfs53KOchkyLSC3zvaB nzISgj87XGmyfx/jURMos0S/xOJB0f6eT5Wke569Mx8c5JQqz8/zZsq6W57Na/uCcGZH BtVaWyulBSvL7NQwdC23VEINRLwTP1MwCyXj8R15EceirGMfOO/BvLXEwPsmqgs9Fwdg 81yO1QUf1iHvsiAc21JxJdXvvoVWJ9QWcx8hXRPWc0/hy+W8hodSjqb06cAE66PaKPxr ioVQGzCari9oAh/9SemDY7tnXkPxgNKAj5/HqU19vPCyUY37Gmfdo76XWLUMCJSkp2Tg VH2g== X-Gm-Message-State: AAQBX9fZS6+iWU1l8xqphCvn9WwGqncLILhrCBegTSOCFDBFIkPf2ItH oT5p9jpDxtkIwsSfS/RV+p3Xro6NdAcxvaM0Xe/Exru8mVE= X-Google-Smtp-Source: AKy350YgT8jVVYk6DvNtx+QGMjy3WipUaawXZ9SIpRiT5uQQqVmgRr+1YoheQl/o+PVsRM9DEJMUNv8cVEYfvqVDrzY= X-Received: by 2002:a05:6830:144d:b0:6a4:2ad5:9aa0 with SMTP id w13-20020a056830144d00b006a42ad59aa0mr8686200otp.20.1682401597923; Mon, 24 Apr 2023 22:46:37 -0700 (PDT) MIME-Version: 1.0 References: <5e3ec3c4-0701-f2b3-b703-ab7f6e3170b6@uni-bonn.de> <144bd13a-b57d-97c7-cf2a-56fa7fe1ae15@gmx.es> <26633b3f-2ed1-4cec-d6f8-58819b2f9031@uni-bonn.de> In-Reply-To: <26633b3f-2ed1-4cec-d6f8-58819b2f9031@uni-bonn.de> Date: Tue, 25 Apr 2023 13:46:26 +0800 Message-ID: To: mailing list for ConTeXt users Subject: Re: [NTG-context] fallbacks X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.38 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sylvain Hubert via ntg-context Reply-To: mailing list for ConTeXt users Cc: Sylvain Hubert Content-Type: multipart/mixed; boundary="===============8680818557874586662==" Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" --===============8680818557874586662== Content-Type: multipart/alternative; boundary="0000000000009d257305fa22a508" --0000000000009d257305fa22a508 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I believe it's a bug. https://github.com/contextgarden/context/blob/d025bcdf995be6951f69fed686904= 8ab22491b9e/tex/context/base/mkxl/font-col.lmt#L278 the newchar[] table, which should contain all chars supported by the fallback termes font if I'm not mistaken, turns out to have only 392 chars within 0x20-0x30C, far away from 0x2329-0x232A. On Sun, 23 Apr 2023 at 03:26, Thomas A. Schmitz via ntg-context < ntg-context@ntg.nl> wrote: > Thank you, Pablo, but that doesn't help. I know how to use fallback > fonts. I was wondering if the check key is working as it should. > > Thomas > > On 4/22/23 20:33, Pablo Rodriguez via ntg-context wrote: > > Hi Thomas, > > > > I don=E2=80=99t know what check does (maybe just check?), but the stand= ard > > behaviour with \definefallbackfamily is only to fall back when the > > character is missing from the main font. > > > > To force all characters from the range in the fallback font, "force=3Dy= es" > > is required. > > > > Here you have a minimal sample (which doesn=E2=80=98t use "preset=3Dran= ge:greek"), > > adding "force=3Dyes" gets all Greek glyphs from GFS Heraklit: > > > > \definefallbackfamily [presentation] [serif] [GFSHeraklit] > > [range=3D{greekandcoptic, greekextended}] > > \definefontfamily [presentation] [serif] [TeXGyrePagella] > > \setupbodyfont [presentation,12pt] > > > > \starttext > > P=CF=80=CE=BC=E1=BE=B7=CF=83=CE=B4 > > \stoptext > > > > Just in case it might help, > > -- > Prof. Dr. Thomas A. Schmitz > Institut f=C3=BCr Klassische und Romanische Philologie > Universit=C3=A4t Bonn > Am Hof 1e > 53113 Bonn > http://www.philologie.uni-bonn.de/de/personal/schmitz > > > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > > _________________________________________________________________________= __________ > --0000000000009d257305fa22a508 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I believe it's a bug.


<= div>the newchar[] table, which should contain all chars supported by the fa= llback termes font if I'm not mistaken, turns out to have only 392 char= s within 0x20-0x30C, far away from 0x2329-0x232A.

On Sun, 23 Apr 2023 = at 03:26, Thomas A. Schmitz via ntg-context <ntg-context@ntg.nl> wrote:
Thank you, Pablo, but that d= oesn't help. I know how to use fallback
fonts. I was wondering if the check key is working as it should.

Thomas

On 4/22/23 20:33, Pablo Rodriguez via ntg-context wrote:
> Hi Thomas,
>
> I don=E2=80=99t know what check does (maybe just check?), but the stan= dard
> behaviour with \definefallbackfamily is only to fall back when the
> character is missing from the main font.
>
> To force all characters from the range in the fallback font, "for= ce=3Dyes"
> is required.
>
> Here you have a minimal sample (which doesn=E2=80=98t use "preset= =3Drange:greek"),
> adding "force=3Dyes" gets all Greek glyphs from GFS Heraklit= :
>
>=C2=A0 =C2=A0 \definefallbackfamily [presentation] [serif] [GFSHeraklit= ]
>=C2=A0 =C2=A0 [range=3D{greekandcoptic, greekextended}]
>=C2=A0 =C2=A0 \definefontfamily [presentation] [serif] [TeXGyrePagella]=
>=C2=A0 =C2=A0 \setupbodyfont [presentation,12pt]
>
>=C2=A0 =C2=A0 \starttext
>=C2=A0 =C2=A0 P=CF=80=CE=BC=E1=BE=B7=CF=83=CE=B4
>=C2=A0 =C2=A0 \stoptext
>
> Just in case it might help,

--
Prof. Dr. Thomas A. Schmitz
Institut f=C3=BCr Klassische und Romanische Philologie
Universit=C3=A4t Bonn
Am Hof 1e
53113 Bonn
http://www.philologie.uni-bonn.de/de/personal/s= chmitz

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / https://www.ntg.nl/mailman/listinfo/= ntg-context
webpage=C2=A0 : https://www.pragma-ade.nl / http://context.aanhet.net
archive=C2=A0 :
https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: https://contextgarden.net
___________________________________________________________________________= ________
--0000000000009d257305fa22a508-- --===============8680818557874586662== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ --===============8680818557874586662==--