From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problems with old style figures and particular font
Date: Fri, 12 Aug 2016 12:08:32 +0200 [thread overview]
Message-ID: <57ADA020.7070905@gmail.com> (raw)
In-Reply-To: <57acd518.944f190a.fafd8.1ee1@mx.google.com>
[-- Attachment #1.1: Type: text/plain, Size: 1790 bytes --]
> Martin Oppegaard <mailto:martin.oppegaard@gmail.com>
> 11. August 2016 um 21:42
> Hi Wolfgang, thank you for the quick reply.
>
> Moving \definefontfeature before \setupbodyfont doesn't change anything
> for me. Here is the output of running context:
You need also "script=latn" when you enable oldstyle numerals.
You can use the mtxrun script to list the available features of a font
where you also see the necessary script:
$ mtxrun --script font --list --info fbbregular
resolvers | trees | analyzing 'home:texmf'
mtx-fonts |
mtx-fonts | mapping : fbbregular
mtx-fonts | fontname : fbbregular
mtx-fonts | fullname : fbbregular
mtx-fonts | filename : fbb-Regular.otf
mtx-fonts | family : fbb
mtx-fonts | weight : normal
mtx-fonts | style : normal
mtx-fonts | width : normal
mtx-fonts | variant : normal
mtx-fonts | fweight : conflict: regular
mtx-fonts |
...
mtx-fonts |
mtx-fonts | gsub features:
mtx-fonts |
mtx-fonts | feature script languages
mtx-fonts |
...
mtx-fonts | onum grek dflt
mtx-fonts | latn dflt
%%%% begin example
\starttypescript [serif] [fbb]
\setups[font:fallback:serif]
\definefontsynonym [Serif] [file:fbbregular]
\definefontsynonym [SerifItalic] [file:fbbitalic]
\definefontsynonym [SerifBold] [file:fbbbold]
\definefontsynonym [SerifBoldItalic] [file:fbbbolditalic]
\stoptypescript
\definefontfeature[default][default][script=latn,onum=yes]
\definetypeface [fbb] [rm] [serif] [fbb] [default] [features=default]
\definetypeface [fbb] [mm] [math] [modern] [default]
\setupbodyfont[fbb]
\starttext
ABC abc 1234
\stoptext
%%%% end example
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 3441 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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 prev parent reply other threads:[~2016-08-12 10:08 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-11 19:42 Martin Oppegaard
2016-08-12 10:08 ` Wolfgang Schuster [this message]
2016-08-12 13:50 ` Interlining in a TwoColumns set Jean-Pierre Delange
2016-08-12 15:21 ` Pablo Rodriguez
2016-08-13 6:52 ` Wolfgang Schuster
2016-08-13 10:45 ` Jean-Pierre Delange
2016-08-14 11:47 ` Pablo Rodriguez
2016-08-14 14:06 ` Jean-Pierre Delange
2016-08-14 15:42 ` Pablo Rodriguez
2016-08-14 15:50 ` Wolfgang Schuster
2016-08-14 14:13 ` Jean-Pierre Delange
2016-08-14 15:55 ` Wolfgang Schuster
2016-08-15 8:39 ` Jean-Pierre Delange
2016-08-15 10:16 ` Pablo Rodriguez
2016-08-13 9:32 ` Jean-Pierre Delange
-- strict thread matches above, loose matches on Subject: below --
2016-08-12 13:20 Problems with old style figures and particular font Martin Oppegaard
2016-08-10 20:27 Martin Oppegaard
2016-08-11 6:43 ` Wolfgang Schuster
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=57ADA020.7070905@gmail.com \
--to=schuster.wolfgang@gmail.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).