latex3 / fontspec

Font selection in LaTeX for XeTeX and LuaTeX
http://latex3.github.io/fontspec/
LaTeX Project Public License v1.3c
275 stars 33 forks source link

Letters=UppercaseSmallCaps no longer works as expected #175

Closed mewtant closed 10 years ago

mewtant commented 10 years ago

Since I updated my system to TeX Live 2014, \addfontfeatures{Letters=UppercaseSmallCaps} no longer works with many (but not all) fonts, although \addfontfeatures{RawFeature=+c2sc} does work. This is LuaTeX, Version beta-0.79.1 (TeX Live 2014) (rev 4971), on GNU/Linux (xetex also gives unexpected results, though not the same results).

Here is an example:

\documentclass{article}
\usepackage{fontspec}
%%% these work as expected
% \setmainfont{Brill}
% \setmainfont{Cyklop}
% \setmainfont{GaramondNo8}
% \setmainfont{Heuristica}
% \setmainfont{Junicode}

%%% \addfontfeatures{Letters=UppercaseSmallCaps} doesn’t work
% \setmainfont{Charis SIL}
% \setmainfont{Doulos SIL}
% \setmainfont{EB Garamond}
% \setmainfont{Fanwood Text}
% \setmainfont {Fira Sans OT}
% \setmainfont{Gentium Plus}
% \setmainfont{GFS Artemisia}
% \setmainfont{GFS Elpis}
% \setmainfont{GFS Neohellenic}
% \setmainfont{Linden Hill}
% \setmainfont{Minion Pro}
% \setmainfont{OFL Sorts Mill Goudy}
% \setmainfont{Source Sans Pro}
\setmainfont{TeX Gyre Pagella}
\begin{document}
{\addfontfeatures{Letters=UppercaseSmallCaps}CAPITALS} \textsc{capitals}

{\addfontfeatures{RawFeature=+c2sc}CAPITALS} \textsc{capitals}
\end{document}
mewtant commented 10 years ago

Thanks for fixing the problem so quickly!