ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mica Semrick <mica@silentumbrella.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: System fonts not loading
Date: Sun, 26 Apr 2015 14:57:30 -0700	[thread overview]
Message-ID: <20150426215730.GA23801@trystero> (raw)

Hello,

I seem to be having some trouble getting the system fonts to load from my Debian Jessie system.

I'm using:

mica@box:~/Working$ context -version

mtx-context     | ConTeXt Process Management 0.61
mtx-context     |
mtx-context     | main context file: /home/mica/.context/tex/texmf-context/tex/context/base/context.mkiv
mtx-context     | current version: 2015.04.18 14:41

and OSFONTDIR is set and all the fonts I want to use are in ~/.fonts:

mica@box:~/Working$ echo $OSFONTDIR
/home/mica/.fonts/

Usually when I run into font problems or add a new font, I run:

fc-cache -fv
mtxrun --generate
context --make

This has worked for some time, however now it will not. Consider the following:

\definefontfamily [junction] [rm] [Junction Regular]
\definefontfamily [junction] [mm] [Latin Modern Math]

\setupbodyfont[junction]

\starttext

\input ward \bf \input ward
\tf \input ward \bf \input ward
\stoptext

which results in a pdf with Latin Modern.

mtxrun --script fonts --list --all doesn't seem to be seeing the OS fonts, but sees all of ConTeXt's fonts. However, fc-list : family (which will list all the system fonts known by fc-cache) shows all the fonts as available.

Thank you for any help.

Best,
Mica
___________________________________________________________________________________
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:[~2015-04-26 21:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-26 21:57 Mica Semrick [this message]
2015-04-27  7:38 ` Hans Hagen
2015-04-28  5:31   ` Mica Semrick

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=20150426215730.GA23801@trystero \
    --to=mica@silentumbrella.com \
    --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).