[NTG-context] distro info

Mojca Miklavec mojca.miklavec.lists at gmail.com
Thu Jun 12 10:58:04 CEST 2008


On Thu, Jun 12, 2008 at 9:51 AM, Olivier Guéry <nemolivier at gmail.com> wrote:
> On Thu, Jun 12, 2008 at 3:22 AM, David <davidandrewrogers at gmail.com> wrote:
>> On Tue, 10 Jun 2008 19:37:11 +0200, Hans Hagen wrote:
>>> David wrote:
>>>> On Tue, 10 Jun 2008 17:34:15 +0200, Hans Hagen wrote:
>>>>
>>>>> Andrea Valle wrote:
>>>>>> Hmm, with Luatex I can use system fonts like in XeTeX. Am I right?
>>>>> yes, if you set up OSFONTDIR
>>>>
>>>>
>>>>
>>>> I would like to set up OSFONTDIR, but I don't know how or where or when
>>>> to do so. I've tried setting it in my bash profile, and that seems to
>>>> have no effect. What is the correct procedure? (I'm on a Mac, if it
>>>> matters.)
>>>
>>> we can consider setting it up automatically but that can only be done
>>> when it's a stable location
>>
>>
>> Well, that would be excellent from my point of view, of course. But my
>> question is much more simple: I only want to know, where and when do I
>> type "OSFONTDIR=..."?
>>
>> I've read many times that in order to use it I need to "set it up", but
>> I actually don't know what "set it up" means in this situation.
>>
>
> It's a system variable.
> Under Linux you can set it up in your /home/YOUR_NICKNAME/.bashrc file, adding :
> export OSFONTDIR=THE_PATH_TO_YOUR_FONT_DIR
> At the end of the file.
> There's certainly the same under Mac.

On Mac that would mean putting
   export OSFONTDIR=$HOME/Library/Fonts:/Library/Fonts:/System/Library/Fonts
to ~/.bash_profile, but since yesterday that is not needed any more
unless you keep your fonts at some exotic locations.

Mojca


More information about the ntg-context mailing list