I recently purchased an expert font, Calluna (exljbris). There is only one problem when using the font:
The font is encoded with Old Style numbers by default. I don't know how to access the Lining Numbers.
I've tried using Use Old Style Figures
thinking the font encoding was switched, but alas, it doesn't work; it stays in Old Style. I have also tried \fontspec[Numbers={Lining}]{Calluna}
in the preamble and that hasn't worked.
I use LyX 2.1.0; Windows 8.1; I use XeTeX and \fontspec
package.
The Lining Numbers exist in the encoding; it is on the foundry's website, and I also tested it with Microsoft Office 2013 which has the option available.
My LaTeX preamble looks like:
\widowpenalty=10000
\clubpenalty=10000
%\raggedbottom
%\usepackage{dtklogos}
\usepackage{fontspec}
\setmainfont[Ligatures={Historic,Rare,Discretionary,TeX},Contextuals=Swash]{Calluna}
%\pagenumbering{roman}
\usepackage{microtype}
otfinfo -f
to get a list of the features provided by the font (in case it is using some non-standard name). [Also on GNU/Linux etc. but they don't have Word so I guess you are on Win or Mac.] – cfr Jun 15 '14 at 21:41xetex
andluatex
, I get lining numbers when addingNumbers={Lining}
to\setmainfont[Ligatures={Historic,Rare,Discretionary,TeX},Contextuals=Swash]{Calluna}
. Please add a complete document illustrating the problem, and details about the version of Calluna that you have. – Thérèse Jun 15 '14 at 21:45Numbers={Lining}
into the font specification, and it worked. – Josh N. Jun 15 '14 at 23:16