From: Andres Conrado Montoya <andresconrado@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Install fonts on MS Windows
Date: Sun, 24 Sep 2023 00:50:07 -0500 [thread overview]
Message-ID: <CAGhDZhC3K6vNZ0FOSzGrWbCW3MXfg6Ur9me+bchwYwt5nU1qnw@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 2586 bytes --]
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=didot --all
This returned the font:
C:\griego>mtxrun --script fonts --list --pattern=didot --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´t get italics, bold etc. But the
font is being used.
--
Andrés Conrado Montoya
Andi Kú
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ácter está dada por los medios que estamos dispuestos a utilizar, no por
los fines que proclamamos.
----------------------------------------
“You 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, ‘Look at that, you son of a
bitch.’” — Apollo 14 astronaut Edgar Mitchell
[-- Attachment #1.2: Type: text/html, Size: 3451 bytes --]
[-- Attachment #2: Type: text/plain, Size: 495 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2023-09-24 5:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-24 5:50 Andres Conrado Montoya [this message]
2023-09-24 8:04 ` Jean-Pierre Delange
2023-09-24 10:26 ` Pablo Rodriguez
-- strict thread matches above, loose matches on Subject: below --
2023-09-21 13:31 [NTG-context] Toggling the symbol for the zero-width joiner and related Unicode control characters Hamid,Idris
2023-09-21 14:52 ` [NTG-context] " Hans Hagen
2023-09-21 20:53 ` Hamid,Idris
2023-09-21 21:29 ` Hans Hagen
2023-09-22 4:16 ` Hamid,Idris
2023-09-22 9:53 ` Hans Hagen via ntg-context
2023-09-22 12:39 ` Hamid,Idris
2023-09-22 13:15 ` Hans Hagen
2023-09-22 13:51 ` Hamid,Idris
2023-09-22 16:44 ` Hans Hagen via ntg-context
2023-09-23 12:40 ` [NTG-context] Install fonts on MS Windows Jean-Pierre Delange
2023-09-23 17:15 ` [NTG-context] " Pablo Rodriguez
2023-09-23 18:05 ` Henning Hraban Ramm
2023-09-23 18:15 ` Wolfgang Schuster
2023-09-23 18:37 ` Jean-Pierre Delange
2023-09-23 18:56 ` Wolfgang Schuster
2023-09-23 18:30 ` Jean-Pierre Delange
2023-09-23 18:42 ` Henning Hraban Ramm
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=CAGhDZhC3K6vNZ0FOSzGrWbCW3MXfg6Ur9me+bchwYwt5nU1qnw@mail.gmail.com \
--to=andresconrado@gmail.com \
--cc=ntg-context@ntg.nl \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).