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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13706 invoked from network); 24 Sep 2023 05:53:30 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 24 Sep 2023 05:53:30 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id A07A6483154 for ; Sun, 24 Sep 2023 07:52:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p9GIGaEZMr_Q for ; Sun, 24 Sep 2023 07:52:06 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id A99EA483260 for ; Sun, 24 Sep 2023 07:51:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 79445482E03 for ; Sun, 24 Sep 2023 07:50:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vZNZkttWI87j for ; Sun, 24 Sep 2023 07:50:45 +0200 (CEST) Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 cgl.ntg.nl (Postfix) with ESMTPS id 421D9482DF8 for ; Sun, 24 Sep 2023 07:50:45 +0200 (CEST) Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-9ad810be221so553849766b.2 for ; Sat, 23 Sep 2023 22:50:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695534644; x=1696139444; darn=ntg.nl; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=hpdvSgXLRH9e/3dho+X5DKnrk5irP4vmyO16ZCvImtQ=; b=PqsDwqQWcj55TJvEIdvA6W9oiX34M7sX4g2iZ9ZYQa2oVqXmerzdg1JkRnaBYWzrgX MwhXSv6Y7fNyeM46B6nmDY2FpTT04OX3O9GjiXoLHNmtDtCxKtZjCEs2yRgnQqBAMZyj TeHCgBBmjjrAItdMw5OSWpUGZ12Gt22vfCLrfeL3ZvpAtFdVJemQWxy3erorHqeZ5pdD g7ll0Z4BDTPmVC7QJSx9Bbwjyzy4khsF/2iObtl8fFgspUPWlzXnOfKVtFP4gB3tX2zG 4O9RgvFJsMLBRw8FhBlDONY6pfuNdEXmTOSO6DlsNaOWQGLDWG2K1xL+j6k2x7IavS+T qgqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695534644; x=1696139444; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hpdvSgXLRH9e/3dho+X5DKnrk5irP4vmyO16ZCvImtQ=; b=uHuWolcAk161hrW/uontXCby+Ul+iuzbON3goB/U2DRsafsZ4+AkrvHr1Uekx1mC48 Kl+/Y41PStM89YKLlfsEZW+wVOj66pPQiv97KkI261A73JMcLeHju2vDqVoQt9Q+oQw1 qs+Z/KkIeflqeYxSP9638XaeT/8/zeDZSgAEl2H45pWuwLVjqw8k52vE4fuhp0wBts3k 9zDDbdeYHPqWbVr1wxxesMzROAH+sZHVYEbt3bTz4No8P2tCKlIqw5B4kQMjvABvG4fl tIqwDVJlTYKikElemFhvDmsbGL1KYb6raGCgwcg23bj8cFkmUsNc8djWoRKP8pIRuL+e 9Kfw== X-Gm-Message-State: AOJu0YzRjzayZ7VLpMCfdQPGudng/V7ygjzYMg10O8f6A609ZOKo1b3o nxv8Fq2GnPoaCXEsBTHFQ7PsVXgCOifoMeoyREh8hP389Lw= X-Google-Smtp-Source: AGHT+IHDwavVqrLEpiwgqVO9eBPLVfLcZll+l802uUMS9KU6MGn3Sr5+/iizd/806wdt7etRnUTirOT/j3oHOc/w/vw= X-Received: by 2002:a17:907:78c3:b0:9ae:4ab2:f35c with SMTP id kv3-20020a17090778c300b009ae4ab2f35cmr2631134ejc.77.1695534643857; Sat, 23 Sep 2023 22:50:43 -0700 (PDT) MIME-Version: 1.0 From: Andres Conrado Montoya Date: Sun, 24 Sep 2023 00:50:07 -0500 Message-ID: To: mailing list for ConTeXt users Message-ID-Hash: S5MLUS43M7X2OQFCRWMUZIWJHVVEER7W X-Message-ID-Hash: S5MLUS43M7X2OQFCRWMUZIWJHVVEER7W X-MailFrom: andresconrado@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Install fonts on MS Windows List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============4418428992066763141==" --===============4418428992066763141== Content-Type: multipart/alternative; boundary="00000000000026cb940606146cb9" --00000000000026cb940606146cb9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I did a test with Windows 10. Installed a fresh copy from the garden, Got the GFS Didot font from Google Fonts, and installed it system-wide (C:\Windows\fonts). After that, I ran mtxrun --script fonts --reload Then tried the pattern suggested but did not work. However, then I tried a pattern without asterisks: mtxrun --script fonts --list --pattern=3Ddidot --all This returned the font: C:\griego>mtxrun --script fonts --list --pattern=3Ddidot --all identifier familyname fontname filename subfont instances gfsdidot gfsdidot gfsdidotregular c:/windows/fonts/GFSDidot-Regular.ttf gfsdidotnormal gfsdidot gfsdidotregular c:/windows/fonts/GFSDidot-Regular.ttf gfsdidotregular gfsdidot gfsdidotregular c:/windows/fonts/GFSDidot-Regular.ttf theanodidot theanodidot theanodidotregular c:/windows/fonts/TheanoDidot-Regular.ttf theanodidotnormal theanodidot theanodidotregular c:/windows/fonts/TheanoDidot-Regular.ttf theanodidotregular theanodidot theanodidotregular c:/windows/fonts/TheanoDidot-Regular.ttf trying to render Pablo's example didn't work at first, but after i called the fonts with the name returned by mtxrun: \mainlanguage[agr] \definefontfamily[mainface][rm][gfsdidot] \definefontfamily[mainface][ss][theanodidot] \setupbodyfont[mainface] \starttext GFS Didot: \doloopoverlist{\tf, \it, \bf, \bi} {\recursestring\input aristotle-grc\par} \ss Theano Didot: \input aristotle-grc \stoptext Everything compiles correctly, and the font is used. Since it's only a single font file with no variants, you don=C2=B4t get italics, bold etc. Bu= t the font is being used. --=20 Andr=C3=A9s Conrado Montoya Andi K=C3=BA andresconrado@gmail.com http://sesentaycuatro.com http://messier87.com http://chiquitico.org ---------------------------------------- Los fines no justifican los medios, porque la medida verdadera de nuestro car=C3=A1cter est=C3=A1 dada por los medios que estamos dispuestos a utiliz= ar, no por los fines que proclamamos. ---------------------------------------- =E2=80=9CYou develop an instant global consciousness, a people orientation,= an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international politics look so petty. You want to grab a politician by the scruff of the neck and drag him a quarter of a million miles out and say, =E2=80=98Look at that, you so= n of a bitch.=E2=80=99=E2=80=9D =E2=80=94 Apollo 14 astronaut Edgar Mitchell --00000000000026cb940606146cb9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I did a test with Windows 10.=C2=A0

Ins= talled a fresh copy from the garden, Got the GFS Didot font from Google Fon= ts, and installed=C2=A0it system-wide (C:\Windows\fonts). After that, I ran= =C2=A0

mtxrun --script fonts --reload

Then tried the pattern suggested but did not work. However, then I t= ried a pattern without asterisks:

mtxrun --script = fonts --list --pattern=3Ddidot --all

This returned= the font:=C2=A0

C:\griego>mtxrun --script font= s --list --pattern=3Ddidot --all
identifier =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 familyname =C2=A0 =C2=A0fontname =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 filename =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 subfont =C2=A0 = instances

gfsdidot =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 gfsdido= t =C2=A0 =C2=A0 =C2=A0gfsdidotregular =C2=A0 =C2=A0 =C2=A0c:/windows/fonts/= GFSDidot-Regular.ttf
gfsdidotnormal =C2=A0 =C2=A0 =C2=A0 gfsdidot =C2=A0= =C2=A0 =C2=A0gfsdidotregular =C2=A0 =C2=A0 =C2=A0c:/windows/fonts/GFSDidot= -Regular.ttf
gfsdidotregular =C2=A0 =C2=A0 =C2=A0gfsdidot =C2=A0 =C2=A0 = =C2=A0gfsdidotregular =C2=A0 =C2=A0 =C2=A0c:/windows/fonts/GFSDidot-Regular= .ttf
theanodidot =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0theanodidot =C2=A0 th= eanodidotregular =C2=A0 c:/windows/fonts/TheanoDidot-Regular.ttf
theanod= idotnormal =C2=A0 =C2=A0theanodidot =C2=A0 theanodidotregular =C2=A0 c:/win= dows/fonts/TheanoDidot-Regular.ttf
theanodidotregular =C2=A0 theanodidot= =C2=A0 theanodidotregular =C2=A0 c:/windows/fonts/TheanoDidot-Regular.ttf<= br>

trying to render Pablo's example didn'= t work at first, but after=C2=A0i called the fonts with the name returned b= y mtxrun:

\mainlanguage[agr]
\definefontfamily[= mainface][rm][gfsdidot]
\definefontfamily[mainface][ss][theanodidot]
= \setupbodyfont[mainface]
\starttext
GFS Didot:

\doloopoverlist= {\tf, \it, \bf, \bi}
=C2=A0 {\recursestring\input aristotle-grc\par}
=
\ss
Theano Didot:

\input aristotle-grc
\stoptext
=

Everything compiles correctly, and the font is used. Si= nce it's only a single font file with no variants, you don=C2=B4t get i= talics, bold etc. But the font is being used.=C2=A0

--
=
Andr=C3=A9s Conrado Montoya
Andi K=C3=BA
<= a href=3D"mailto:andresconrado@gmail.com" target=3D"_blank">andresconrado@g= mail.com
htt= p://sesentaycuatro.com
--------------= --------------------------
Los fines no justifican los medios, porque la= medida verdadera de nuestro car=C3=A1cter est=C3=A1 dada por los medios qu= e estamos dispuestos a utilizar, no por los fines que proclamamos.
-----= -----------------------------------

=E2=80=9CYou develop an instant g= lobal consciousness, a people orientation,=20 an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international=20 politics look so petty. You want to grab a politician by the scruff of=20 the neck and drag him a quarter of a million miles out and say, =E2=80=98Lo= ok at that, you son of a bitch.=E2=80=99=E2=80=9D =E2=80=94 Apollo 14 astronaut = Edgar Mitchell

--00000000000026cb940606146cb9-- --===============4418428992066763141== 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 ___________________________________________________________________________________ --===============4418428992066763141==--