ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Finding OSX fonts
@ 2017-04-14  9:38 Meer, Hans van der
  2017-04-14 10:31 ` Henning Hraban Ramm
  2017-04-14 10:32 ` Hans Åberg
  0 siblings, 2 replies; 8+ messages in thread
From: Meer, Hans van der @ 2017-04-14  9:38 UTC (permalink / raw)
  To: NTG ConTeXt


[-- Attachment #1.1: Type: text/plain, Size: 711 bytes --]

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





[-- Attachment #1.2: Type: text/html, Size: 2497 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Finding OSX fonts
  2017-04-14  9:38 Finding OSX fonts Meer, Hans van der
@ 2017-04-14 10:31 ` Henning Hraban Ramm
  2017-04-14 12:43   ` Meer, Hans van der
  2017-04-14 10:32 ` Hans Åberg
  1 sibling, 1 reply; 8+ messages in thread
From: Henning Hraban Ramm @ 2017-04-14 10:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2017-04-14 um 11:38 schrieb Meer, Hans van der <H.vanderMeer@uva.nl>:

> mtxrun --script fonts --list pattern="Comic*" --all

it’s --pattern


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Finding OSX fonts
  2017-04-14  9:38 Finding OSX fonts Meer, Hans van der
  2017-04-14 10:31 ` Henning Hraban Ramm
@ 2017-04-14 10:32 ` Hans Åberg
  1 sibling, 0 replies; 8+ messages in thread
From: Hans Åberg @ 2017-04-14 10:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> On 14 Apr 2017, at 11:38, Meer, Hans van der <H.vanderMeer@uva.nl> wrote:
> 
> I tried in vain to list the MacOSX fonts in mtxrun.
> 
> In my .bashrc set:

On MacOS, Terminal reads .profile. XQuartz xterm, though, reads .bashrc. In my .bashrc file, I have
  source ~/.profile


___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Finding OSX fonts
  2017-04-14 10:31 ` Henning Hraban Ramm
@ 2017-04-14 12:43   ` Meer, Hans van der
  2017-04-14 18:04     ` Henning Hraban Ramm
  0 siblings, 1 reply; 8+ messages in thread
From: Meer, Hans van der @ 2017-04-14 12:43 UTC (permalink / raw)
  To: NTG ConTeXt


[-- Attachment #1.1: Type: text/plain, Size: 1181 bytes --]

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 <texml@fiee.net<mailto:texml@fiee.net>> wrote:

Am 2017-04-14 um 11:38 schrieb Meer, Hans van der <H.vanderMeer@uva.nl<mailto:H.vanderMeer@uva.nl>>:

mtxrun --script fonts --list pattern="Comic*" --all

it’s --pattern


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___________________________________________________________________________________
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
___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 3373 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Finding OSX fonts
  2017-04-14 12:43   ` Meer, Hans van der
@ 2017-04-14 18:04     ` Henning Hraban Ramm
  2017-04-14 18:58       ` Meer, Hans van der
  0 siblings, 1 reply; 8+ messages in thread
From: Henning Hraban Ramm @ 2017-04-14 18:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2017-04-14 um 14:43 schrieb Meer, Hans van der <H.vanderMeer@uva.nl>:

> 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

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Finding OSX fonts
  2017-04-14 18:04     ` Henning Hraban Ramm
@ 2017-04-14 18:58       ` Meer, Hans van der
  2017-04-14 19:33         ` Henning Hraban Ramm
  2017-04-14 22:15         ` Hans Hagen
  0 siblings, 2 replies; 8+ messages in thread
From: Meer, Hans van der @ 2017-04-14 18:58 UTC (permalink / raw)
  To: NTG ConTeXt



> On 14 Apr 2017, at 20:04, Henning Hraban Ramm <texml@fiee.net> wrote:
> 
> Am 2017-04-14 um 14:43 schrieb Meer, Hans van der <H.vanderMeer@uva.nl>:
> 
>> 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

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Finding OSX fonts
  2017-04-14 18:58       ` Meer, Hans van der
@ 2017-04-14 19:33         ` Henning Hraban Ramm
  2017-04-14 22:15         ` Hans Hagen
  1 sibling, 0 replies; 8+ messages in thread
From: Henning Hraban Ramm @ 2017-04-14 19:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2017-04-14 um 20:58 schrieb Meer, Hans van der <H.vanderMeer@uva.nl>:

>> 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

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Finding OSX fonts
  2017-04-14 18:58       ` Meer, Hans van der
  2017-04-14 19:33         ` Henning Hraban Ramm
@ 2017-04-14 22:15         ` Hans Hagen
  1 sibling, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2017-04-14 22:15 UTC (permalink / raw)
  To: ntg-context

On 4/14/2017 8:58 PM, Meer, Hans van der wrote:
>
>
>> On 14 Apr 2017, at 20:04, Henning Hraban Ramm <texml@fiee.net> wrote:
>>
>> Am 2017-04-14 um 14:43 schrieb Meer, Hans van der <H.vanderMeer@uva.nl>:
>>
>>> 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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-04-14 22:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-14  9:38 Finding OSX fonts Meer, Hans van der
2017-04-14 10:31 ` Henning Hraban Ramm
2017-04-14 12:43   ` Meer, Hans van der
2017-04-14 18:04     ` Henning Hraban Ramm
2017-04-14 18:58       ` Meer, Hans van der
2017-04-14 19:33         ` Henning Hraban Ramm
2017-04-14 22:15         ` Hans Hagen
2017-04-14 10:32 ` Hans Åberg

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).