From: Pavneet Arora <pavneet_arora@waroc.com>
To: ConTeXt Mailing list <ntg-context@ntg.nl>
Subject: Finding the correct name of font to use with \definefontamily
Date: Sat, 8 Aug 2015 08:17:18 -0400 [thread overview]
Message-ID: <20150808121718.GD23211@darjiling> (raw)
I am trying to use the font family Novecento Wide, but cannot seem to
get it to work. I suspect that it is in the name that I am attempting,
although I have tried all the names that I can come up with: Novecento,
Novecento Wide, Novecentowide Light, etc.
>>>> MWE
\definefontfamily[mainface][rm][TeX Gyre Pagella]
\definefontfamily[mainface][ss][Novecentowide]
\definefontfamily[mainface][mm][TeX Gyre Pagella Math]
\setupbodyfont[mainface,9pt]
\setupwhitespace[medium]
\starttext
\input lorem
\ss\input lorem
\stoptext
<<<<
Here is the relevant line from the output showing that Novecento is
*not* loaded;
mkiv lua stats > loaded fonts: 2 files: texgyrepagella-math.otf, texgyrepagella-regular.otf
Firstly, is the font name really the problem, or is it something else?
Secondly, is there a way to pull the name of any font so that
\definefontamily can retrieve it.
Thanks.
A number of the weights are freely available at:
http://www.fontspring.com/fonts/synthview/novecento-sans
Output from mtxrun --list --all and --info commands follow.
$ mtxrun --script fonts --list --all --pattern=Novecento*
resolvers | trees | analyzing 'home:texmf'
resolvers | caching | skipping 'files' for 'home:texmf' from
'/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/trees/54be04d87dd160089f572b19cb5c97e9'
(version mismatch)
novecentowide novecentowidenormal /home/pavneet/.fonts/opentype/Novacento/Novecentowide-Normal.otf
novecentowidebold novecentowidebold /home/pavneet/.fonts/opentype/Novacento/Novecentowide-Bold.otf
novecentowidebook novecentowidebook /home/pavneet/.fonts/opentype/Novacento/Novecentowide-Book.otf
novecentowidedemibold novecentowidedemibold /home/pavneet/.fonts/opentype/Novacento/Novecentowide-DemiBold.otf
novecentowidelight novecentowidelight /home/pavneet/.fonts/opentype/Novacento/Novecentowide-Light.otf
novecentowidemedium novecentowidemedium /home/pavneet/.fonts/opentype/Novacento/Novecentowide-Medium.otf
novecentowidenormal novecentowidenormal /home/pavneet/.fonts/opentype/Novacento/Novecentowide-Normal.otf
novecentowideregular novecentowidenormal /home/pavneet/.fonts/opentype/Novacento/Novecentowide-Normal.otf
$ mtxrun --script fonts --list --info --pattern=novecentowidelight
resolvers | trees | analyzing 'home:texmf'
resolvers | caching | skipping 'files' for 'home:texmf' from '/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/trees/54be04d87dd160089f572b19cb5c97e9' (version mismatch)
mtx-fonts |
mtx-fonts | mapping : novecentowidelight
mtx-fonts | fontname: novecentowidelight
mtx-fonts | fullname: novecentowidelight
mtx-fonts | filename: /home/pavneet/.fonts/opentype/Novacento/Novecentowide-Light.otf
mtx-fonts | family : novecentowide
mtx-fonts | weight : light
mtx-fonts | style : normal
mtx-fonts | width : normal
mtx-fonts | variant : normal
mtx-fonts | subfont :
mtx-fonts | fweight :
mtx-fonts |
mtx-fonts | gpos features:
mtx-fonts |
mtx-fonts | feature script languages
mtx-fonts |
mtx-fonts | kern dflt dflt
mtx-fonts | latn dflt plk rom
mtx-fonts |
mtx-fonts | gsub features:
mtx-fonts |
mtx-fonts | feature script languages
mtx-fonts |
mtx-fonts | aalt dflt dflt
mtx-fonts | latn dflt plk rom
mtx-fonts | case dflt dflt
mtx-fonts | latn dflt plk rom
mtx-fonts | dnom dflt dflt
mtx-fonts | latn dflt plk rom
mtx-fonts | frac dflt dflt
mtx-fonts | latn dflt plk rom
mtx-fonts | locl latn plk rom
mtx-fonts | numr dflt dflt
mtx-fonts | latn dflt plk rom
mtx-fonts | pnum dflt dflt
mtx-fonts | latn dflt plk rom
mtx-fonts | salt dflt dflt
mtx-fonts | latn dflt plk rom
mtx-fonts | ss01 dflt dflt
mtx-fonts | latn dflt plk rom
mtx-fonts | ss02 dflt dflt
mtx-fonts | latn dflt plk rom
mtx-fonts | ss03 dflt dflt
mtx-fonts | latn dflt plk rom
mtx-fonts | ss04 dflt dflt
mtx-fonts | latn dflt plk rom
mtx-fonts | ss05 dflt dflt
mtx-fonts | latn dflt plk rom
mtx-fonts | sups dflt dflt
mtx-fonts | latn dflt plk rom
mtx-fonts | tnum dflt dflt
mtx-fonts | latn dflt plk rom
mtx-fonts | zero dflt dflt
mtx-fonts | latn dflt plk rom
mtx-fonts |
--
----
Pavneet Arora m: 647.406.6843
Waroc Informatik t: 416.937.9276
___________________________________________________________________________________
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-08-08 12:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20150808121718.GD23211@darjiling \
--to=pavneet_arora@waroc.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).