ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Martin Oppegaard <martin.oppegaard@gmail.com>
To: ntg-context@ntg.nl
Subject: Problems with old style figures and particular font
Date: Wed, 10 Aug 2016 20:27:15 +0000	[thread overview]
Message-ID: <57ab8e29.cfd2190a.a72a2.39f8@mx.google.com> (raw)

Dear list,

I'm having problems getting old style figures and ligatures with the fbb
font. I'm using Tex live 2014 on OpenBSD 5.9 and context version
2014.05.21 22:04. otfinfo -f fbb-Regular.otf reports that it has onum
and liga, and it works fine with lualatex. I have tried with a
typescript and simplefont (the fbb font is being used in all three
cases); see attached examples. Do you have any suggestions?

% type-fbb.mkiv
\starttypescript [serif] [fbb] [name]
    \definefontsynonym [Serif]       [file:fbb-Regular.otf] [features=default]
    \definefontsynonym [SerifItalic] [file:fbb-Italic.otf] [features=default]
\stoptypescript

\starttypescript [fbb]
  \definetypeface [fbb] [rm] [serif] [fbb] [default]
\stoptypescript


% contex-test1.tex
\usetypescriptfile[type-fbb]
\usetypescript[fbb]
\setupbodyfont[fbb,11pt]
\definefontfeature[default][default][liga=yes,onum=yes]

\starttext
1234567890 ff
\stoptext

% context-test2.tex
\usemodule[simplefonts][size=11pt]
\setmainfont[fbb Regular]
\definefontfeature[default][default][liga=yes,onum=yes]

\starttext
1234567890 ff
\stoptext

% lualatex-test.tex
\documentclass[11pt]{article}
\usepackage{fontspec}

\setmainfont[Numbers=OldStyle,Ligatures=Historic]{fbb Regular}

\begin{document}
1234567890 ff
\end{document}




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-10 20:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-10 20:27 Martin Oppegaard [this message]
2016-08-11  6:43 ` Wolfgang Schuster
2016-08-11 19:42 Martin Oppegaard
2016-08-12 10:08 ` Wolfgang Schuster
2016-08-12 13:20 Martin Oppegaard

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=57ab8e29.cfd2190a.a72a2.39f8@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).