From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: xits font in ~/.fonts
Date: Sun, 15 Aug 2010 12:44:40 -0400 (EDT) [thread overview]
Message-ID: <alpine.LNX.2.00.1008151231100.19511@ybpnyubfg.ybpnyqbznva> (raw)
Hi,
I cannot use xits fonts if they are placed in $HOME/.fonts.
For example, if I use
\setupbodyfont[xits]
I get a series of messages
define fonts > forced type otf of xits-regular not found
define fonts > font with name xits-regular is not found
define fonts > unknown font xits-regular, loading aborted
define fonts > unable to define xits-regular.otf as \*xits11ptrmtfc*
I also tried to use the fonts with simplefonts.
\usemodule[simplefonts]
\setmainfont[XITS]
\setmathfont[XITS Math]
falls back to LM math while
\usemodule[simplefonts]
\setmainfont[XITS]
\setmathfont[XITS]
gives XITS-Regular as the math font (and not XITS-Math).
Other fonts in $HOME/.fonts, in particular cambria, work with both
methods.
\setupbodyfont[cambria]
and
\usemodule[simplefonts]
\setmainfont[Cambria]
\setmathfont[Cambria]
both work.
Here is the output of
mtxrun --script font --list "cambria*" --all
cambria cambriabold
/home/adityam/.fonts/microsoft/cambriab.ttf
cambriabold cambriabold
/home/adityam/.fonts/microsoft/cambriab.ttf
cambriabolditalic cambriabolditalic
/home/adityam/.fonts/microsoft/cambriaz.ttf
cambriaitalic cambriaitalic
/home/adityam/.fonts/microsoft/cambriai.ttf
cambriamath cambriamath
/home/adityam/.fonts/microsoft/cambria.ttc index: 0
cambriamathnormal cambriamath
/home/adityam/.fonts/microsoft/cambria.ttc index: 0
cambrianormal cambriaitalic
/home/adityam/.fonts/microsoft/cambriai.ttf
and
mtxrun --script font --list "xits*" --all
brushscriptxitalic brushscriptxitalic
BrushScriptX-Italic.afm
venturissansadfexitalic venturissansadfexitalic
VenturisSansADFEx-Italic.otf
venturissansadfno2exitalic venturissansadfno2exitalic
VenturisSansADFNo2Ex-Italic.otf
xits xits
/home/adityam/.fonts/xits-math/xits-regular.otf
xitsbold xitsbold
/home/adityam/.fonts/xits-math/xits-bold.otf
xitsbolditalic xitsbolditalic
/home/adityam/.fonts/xits-math/xits-bolditalic.otf
xitsitalic xitsitalic
/home/adityam/.fonts/xits-math/xits-italic.otf
xitsmath xitsmath
/home/adityam/.fonts/xits-math/xits-math.otf
xitsmathnormal xitsmath
/home/adityam/.fonts/xits-math/xits-math.otf
xitsmathregular xitsmath
/home/adityam/.fonts/xits-math/xits-math.otf
xitsnormal xitsitalic
/home/adityam/.fonts/xits-math/xits-italic.otf
xitsregular xits
/home/adityam/.fonts/xits-math/xits-regular.otf
Any idea what is going on. If I move the fonts inside $TEXMF everything
works.
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2010-08-15 16:44 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-15 16:44 Aditya Mahajan [this message]
2010-08-17 13:00 ` Khaled Hosny
2010-08-17 13:08 ` Hans Hagen
2010-08-17 14:53 ` Khaled Hosny
2010-08-17 15:26 ` Hans Hagen
2010-08-17 16:01 ` Khaled Hosny
2010-08-17 16:04 ` Hans Hagen
2010-08-17 16:27 ` Michael Murphy
2010-08-18 10:57 ` Khaled Hosny
2010-08-18 11:01 ` Taco Hoekwater
2010-08-18 11:06 ` Khaled Hosny
2010-08-18 19:03 ` Thomas A. Schmitz
2010-08-18 20:07 ` Aditya Mahajan
2010-08-18 22:30 ` Hans Hagen
2010-08-18 22:35 ` Hans Hagen
2010-08-18 22:36 ` Hans Hagen
2010-08-18 22:48 ` Aditya Mahajan
2010-08-18 22:50 ` Hans Hagen
2010-08-18 22:57 ` Khaled Hosny
2010-08-18 11:04 ` Martin Althoff
2010-08-17 23:51 ` Aditya Mahajan
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=alpine.LNX.2.00.1008151231100.19511@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--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).