ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: Re: LMTX mtxrun --script fonts --reload --force isn't finding fonts in tex/texmf-fonts
Date: Wed, 28 Jul 2021 10:31:50 +0200	[thread overview]
Message-ID: <5E8F2AFA-8321-4D65-B889-DD172A1FF4E8@fiee.net> (raw)
In-Reply-To: <c26117e8-97d1-e675-04f0-447b4bbb7722@xs4all.nl>


> Am 28.07.2021 um 08:50 schrieb Hans Hagen via ntg-context <ntg-context@ntg.nl>:
> 
> On 7/27/2021 11:44 PM, T. Kurt Bond via ntg-context wrote:
>> Hello.
>> I'm trying to get LMTX to use my fonts on Fedora 33 Linux.  I've got LMTX installed in the directory /sw/versions/context/lmtx and I've put copies of the fonts I'd like to use in /sw/versions/context/lmtx/tex/texmf-fonts.  Some of them are truetype and some of them are opentype.  When I run
>>    mtxrun --script fonts --reload --force
>> it says
>>    fonts           | names | scanning path
>>    '/sw/versions/context/lmtx/tex/texmf-fonts' for otf files
>>    fonts           | names | 0 otf files checked,  okay
>> and later
>>    fonts           | names | scanning path
>>    '/sw/versions/context/lmtx/tex/texmf-fonts' for ttf files
>>    fonts           | names | 0 ttf files checked,  okay
>> Any ideas of what I'm doing wrong?
> 
> did you add the /fonts subpath?
> 
>  /sw/versions/context/lmtx/tex/texmf-fonts/fonts/data
> 
> i normally put them in
> 
>   data/whatever/whataverer*.otf
> 
> (data is kind of generic, there is no need to distinguish between various font types)

When I added your “Lost in fonts” article to the CGJ, I did exactly that with the included TYFA* fonts.
They were not recognized in the same folder as the article or in texmf-fonts/fonts/data/tyfa, even after several force reloads; they were only found when I added them to the system font directory (~/Library/Fonts on MacOS).

Hraban
___________________________________________________________________________________
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:[~2021-07-28  8:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-27 21:44 T. Kurt Bond via ntg-context
2021-07-28  6:50 ` Hans Hagen via ntg-context
2021-07-28  8:31   ` Henning Hraban Ramm via ntg-context [this message]
2021-07-28  9:46     ` Hans Hagen via ntg-context
2021-07-28 11:45       ` Henning Hraban Ramm via ntg-context
2021-07-28 12:56         ` Hans Hagen via ntg-context

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=5E8F2AFA-8321-4D65-B889-DD172A1FF4E8@fiee.net \
    --to=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /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).