ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: \definefontfamily not finding fonts
Date: Wed, 9 Sep 2020 23:16:32 -0400 (EDT)	[thread overview]
Message-ID: <nycvar.YAK.7.78.908.2009092315540.691510@nqv-guvaxcnq> (raw)

Did something change with regard to \definefontfamily recently. 

I have an old document where I use:

\starttypescript[mainface]
  \definefontfamily[mainface][rm][Libertinus Serif][features=default]
  \definefontfamily[mainface][ss] [heros]  [features=default] 
  \definefontfamily[mainface][tt] [dejavu] [features=none, rscale=0.85]
  \definefontfamily[mainface][mm] [LibertinusMath]
\stoptypescript

\setupbodyfont[mainface,12pt]

On the recent LMTX (2020.09.05) I get

selectfont      > the requested font 'Libertinus Serif' has no files for the 'tf' alternative, Latin Modern is used instead.
selectfont      > the requested font 'heros' has no files for the 'tf' alternative, Latin Modern is used instead.
selectfont      > the requested font 'dejavu' has no files for the 'tf' alternative, Latin Modern is used instead.
selectfont      > the requested font 'LibertinusMath' has no files for the 'tf' alternative, Latin Modern is used instead.


I can find the fonts using mtxrun --script fonts. For example:

$mtxrun --script fonts --list --pattern="LibertinusSerif" --all
identifier                       familyname                fontname                  filename                              subfont   instances

libertinusserif                  libertinusserif           libertinusserif           libertinusserif-regular.otf
libertinusserifdisplaynormal     libertinusserifdisplay    libertinusserifdisplay    libertinusserifdisplay-regular.otf
libertinusserifdisplayregular    libertinusserifdisplay    libertinusserifdisplay    libertinusserifdisplay-regular.otf
libertinusserifinitialsnormal    libertinusserifinitials   libertinusserifinitials   libertinusserifinitials-regular.otf
libertinusserifinitialsregular   libertinusserifinitials   libertinusserifinitials   libertinusserifinitials-regular.otf
libertinusserifnormal            libertinusserif           libertinusserifitalic     libertinusserif-italic.otf
libertinusserifregular           libertinusserif           libertinusserif           libertinusserif-regular.otf

and similar for the other fonts. 

Any idea on what is going on and how to debug.

Thanks,
Aditya

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2020-09-10  3:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-10  3:16 Aditya Mahajan [this message]
2020-09-10  7:40 ` Wolfgang Schuster
2020-09-10 15:53   ` Aditya Mahajan
2020-09-10 15:57     ` Wolfgang Schuster
2020-09-10 16:20       ` Aditya Mahajan
2020-09-10 18:40         ` Hans Hagen

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=nycvar.YAK.7.78.908.2009092315540.691510@nqv-guvaxcnq \
    --to=adityam@umich.edu \
    --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).