ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jörg Hagmann" <joerg.hagmann@unibas.ch>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Avoid system fonts
Date: Fri, 03 Jan 2014 22:37:13 +0100	[thread overview]
Message-ID: <m2bnzshhme.fsf@unibas.ch> (raw)
In-Reply-To: <m2eh4ohkvj.fsf@unibas.ch>

Ok, I replaced line 12213 in "tex/texmf-osx-64/bin/mtxrun" with:

ossetenv("OSFONTDIR","$HOME/context/beta/empty//")

and that works.  But I hope that the mess will be repaired before I have
to update.

Cheers, Jörg

Jörg Hagmann writes:

> Thank you, Mojca, but I am afraid you have to be more specific.
>
> I created a directory ~/context/beta/empty
> I put into .profile OSFONTDIR=Users/bonasa/context/beta/empty
> Starting the shell gives:
> $echo $OSFONTDIR
> Users/bonasa/context/beta/empty
>
> but:
>
> context myfile.tex
> gives
>
> fonts           > names > 'OSFONTDIR' specifies path '/Users/bonasa/Library/Fonts'
> fonts           > names > 'OSFONTDIR' specifies path '/Library/Fonts'
> fonts           > names > 'OSFONTDIR' specifies path '/System/Library/Fonts'
>
> ???
>
> Thanks, Jörg
>
>
> Mojca Miklavec writes:
>
>> On Fri, Jan 3, 2014 at 1:21 PM, Jörg Hagmann wrote:
>>> Loading the fonts (?) takes too much time -- or maybe the programme is
>>> stuck, I don't know because I interrupted after a very long time at:
>>>
>>> fonts           > names > globbing path '/System/Library/Fonts/**.ttf'
>>>
>>> How can I avoid that, I don't use system fonts.
>>>
>>> Sorry, searching the mail archive is not possible at the moment.
>>>
>>> Mac 10.7.5
>>> Context version 2013.11.05 09:50
>>
>> We just discussed that problem off-list. On my system it's the culprit
>> of /System/Library/Fonts/LastResort.ttf (you can check that with
>> "Inspect -> Open files and folders" in Activity Monitor). Taco will
>> probably modify LuaTeX a bit to avoid the problem.
>>
>> I managed to use
>>     export OSFONTDIR=/some/existing/empty/path
>> but someone probably also needs to figure out why ConTeXt is loading
>> that font in the first place.
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      parent reply	other threads:[~2014-01-03 21:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-03 12:21 Jörg Hagmann
2014-01-03 12:40 ` Mojca Miklavec
2014-01-03 20:26   ` Jörg Hagmann
2014-01-03 20:34     ` Peter Münster
2014-01-03 20:57       ` Jörg Hagmann
2014-01-03 21:37     ` Jörg Hagmann [this message]

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=m2bnzshhme.fsf@unibas.ch \
    --to=joerg.hagmann@unibas.ch \
    --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).