ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Peter Wüsten" <peter.wuesten@gmx.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: system fonts (was: Fonts disappeared after updating ConTeXt)
Date: Sun, 15 Nov 2009 21:56:10 +0100	[thread overview]
Message-ID: <4B006AEA.7070905@gmx.de> (raw)
In-Reply-To: <4E128D51-3162-4631-9DB5-217307CD0CB8@googlemail.com>

Wolfgang Schuster schrieb:
> ConTeXt looks for system fonts only on Windows and Mac OS X (the paths are set in data-res.lua),
> for others system you need the OSFONTDIR variable. When you want the same feature on Linux Hans
> has to know where system fonts are stored and if these directories are the same on each distribution.
>   
On Ubuntu Intrepid that would be /usr/share/fonts for the fonts shipped 
with the distribution, or installed via the repositories,  and 
$HOME/.fonts for user-installed fonts. Some distributions may use 
/usr/local/share/fonts, but I haven't tried that on Intrepid.

BTW, if you want Context to find _both_ directories make sure you set 
your OSFONTDIR in setuptex like this:

export OSFONTDIR="$HOME/.fonts;/usr/share/fonts"

You have to use the semicolon instead of a colon, and don't forget the 
parentheses (found that in an old post by Khaled Hosny).

Cheers,

Peter Wüsten
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2009-11-15 20:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-15 10:38 Fonts disappeared after updating ConTeXt Mika Ritola
2009-11-15 12:01 ` luigi scarso
2009-11-15 12:09   ` Mika Ritola
2009-11-15 12:38     ` Alan BRASLAU
2009-11-15 13:03       ` system fonts (was: Fonts disappeared after updating ConTeXt) Wolfgang Schuster
2009-11-15 20:56         ` Peter Wüsten [this message]
2009-11-15 21:04           ` Alan BRASLAU
2009-11-15 21:30             ` Alan BRASLAU
2009-11-22 16:22 ` Fonts disappeared after updating ConTeXt Mojca Miklavec
2009-11-22 16:59   ` Bernhard Rosensteiner
2009-11-22 17:03     ` Mojca Miklavec

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=4B006AEA.7070905@gmx.de \
    --to=peter.wuesten@gmx.de \
    --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).