ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Martin Oppegaard <martin.oppegaard@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 13:20:50 +0000	[thread overview]
Message-ID: <57adcd33.9d202e0a.982eb.675d@mx.google.com> (raw)

On Fri, Aug 12 2016, Wolfgang Schuster wrote:
>     
>     
>     Martin Oppegaard
>     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

Ah that solved it, thank you very much!

Best regards,
Martin Oppegaard
___________________________________________________________________________________
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:[~2016-08-12 13:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-12 13:20 Martin Oppegaard [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-08-11 19:42 Martin Oppegaard
2016-08-12 10:08 ` Wolfgang Schuster
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=57adcd33.9d202e0a.982eb.675d@mx.google.com \
    --to=martin.oppegaard@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).