使用lualatex
和fontspec
最新texlive 2017
安装的 Berenis ADF Pro 字体,比例衬线数字特征产生表格衬线数字和反之亦然。
旧式数字不会出现此问题。
以下是 MWE:
\documentclass{article}
\usepackage{fontspec}[Ligatures=TeX]
\setmainfont{Berenis ADF Pro}
\begin{document}
{\fontspec{Berenis ADF Pro}[Numbers={Proportional, OldStyle}]
Proportional oldstyle figures : 115, 456
}
and
{\fontspec{Berenis ADF Pro}[Numbers={Tabular, OldStyle}]
tabular oldstyle figures : 115, 456.
}
\vspace{\baselineskip}
{\fontspec{Berenis ADF Pro}[Numbers={Proportional, Lining}]
Proportional lining figures : 115, 456
}
and
{\fontspec{Berenis ADF Pro}[Numbers={Tabular, Lining}]
tabular lining figures : 115, 456.
}
{\fontspec{Berenis ADF Pro}[RawFeature=+pnum;+lnum]
Proportional lining figures : 115, 456
}
and
{\fontspec{Berenis ADF Pro}[RawFeature=+tnum;+lnum]
tabular lining figures : 115, 456.
}
\end{document}