Problems with old style figures and particular font
![](https://secure.gravatar.com/avatar/e6c4b19f572282f6aad18c7982b6a9a3.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Martin Oppegaard mailto:martin.oppegaard@gmail.com 10. August 2016 um 22:27 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] Move the \definefontfeature setting before \setupbodyfont because changes to the feature set after the font is loaded are ignored.
\definefontfeature[default][default][liga=yes,onum=yes] \setupbodyfont[fbb,11pt] Wolfgang
participants (2)
-
Martin Oppegaard
-
Wolfgang Schuster