I tried in vain to list the MacOSX fonts in mtxrun. In my .bashrc set: OSFONTDIR=$HOME/Library/Fonts:/Library/Fonts:/System/Library/Fonts export OSFONTDIR Then issuing the following commands: source ~/.bashrc echo $OSFONTDIR /Users/hansm/Library/Fonts:/Library/Fonts:/System/Library/Fonts mtxrun --script fonts --list pattern="Comic*" --all resolvers | trees | analyzing '/Users/hansm/Documents/TeX/texmf' identifier familyname fontname filename subfont instances Allthough there are definitely Comic fonts (such as Comic Sans MS.ttf) in directory /Library/Fonts these are not listed by mtxrun. What is happening, or better, not happening here? Hans van der Meer
Am 2017-04-14 um 11:38 schrieb Meer, Hans van der
mtxrun --script fonts --list pattern="Comic*" --all
it’s --pattern Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD
OK, --pattern instead of pattern. But then still nothing:
122 texmf: mtxrun --script fonts --list --pattern="Comic*" --all
resolvers | trees | analyzing '/Users/hansm/Documents/TeX/texmf'
identifier familyname fontname filename subfont instances
Hans van der Meer
On 14 Apr 2017, at 12:31, Henning Hraban Ramm
Am 2017-04-14 um 14:43 schrieb Meer, Hans van der
OK, --pattern instead of pattern. But then still nothing:
122 texmf: mtxrun --script fonts --list --pattern="Comic*" --all
For me it worked (also on OSX), so it’s not the command that’s wrong. --script font or fonts seems not the matter. Did you refresh the database? i.e. mtxrun --script font --reload additionally try --force Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD
On 14 Apr 2017, at 20:04, Henning Hraban Ramm
wrote: Am 2017-04-14 um 14:43 schrieb Meer, Hans van der
: OK, --pattern instead of pattern. But then still nothing:
122 texmf: mtxrun --script fonts --list --pattern="Comic*" --all
For me it worked (also on OSX), so it’s not the command that’s wrong. --script font or fonts seems not the matter.
Did you refresh the database? i.e. mtxrun --script font --reload additionally try --force
The reload was necessary, indeed. Do I then correctly understand that the mtxrun --list call is searching the ConTeXt internal fontbase and not the macOS system directly, as I had (innocently) expected it was doing? Hans van der Meer
Am 2017-04-14 um 20:58 schrieb Meer, Hans van der
Did you refresh the database? i.e. mtxrun --script font --reload additionally try --force
The reload was necessary, indeed. Do I then correctly understand that the mtxrun --list call is searching the ConTeXt internal fontbase and not the macOS system directly, as I had (innocently) expected it was doing?
Exactly. If ConTeXt can’t find a font, it sometimes tries to refresh the database on its own (I don’t know under which circumstances), and that can take a while. The database access is much faster. For my huge font collection, refreshing can take several minutes... Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD
On 4/14/2017 8:58 PM, Meer, Hans van der wrote:
On 14 Apr 2017, at 20:04, Henning Hraban Ramm
wrote: Am 2017-04-14 um 14:43 schrieb Meer, Hans van der
: OK, --pattern instead of pattern. But then still nothing:
122 texmf: mtxrun --script fonts --list --pattern="Comic*" --all
For me it worked (also on OSX), so it’s not the command that’s wrong. --script font or fonts seems not the matter.
Did you refresh the database? i.e. mtxrun --script font --reload additionally try --force
The reload was necessary, indeed. Do I then correctly understand that the mtxrun --list call is searching the ConTeXt internal fontbase and not the macOS system directly, as I had (innocently) expected it was doing?
indeed Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
Hans Åberg
-
Henning Hraban Ramm
-
Meer, Hans van der