Commits

Philipp Gesang  committed f1986d0

add test for fontspec charactervariant bug

  • Participants
  • Parent commits d514b75

Comments (0)

Files changed (2)

File ltx-fontspec-character-variants-1.tex

+%% https://github.com/wspr/fontspec/issues/115
+\documentclass{minimal}
+\usepackage{fontspec}
+\setmainfont{EB Garamond}
+\begin{document}
+
+\textit{\addfontfeature{CharacterVariant=5:0}very}\\
+\textit{\addfontfeature{CharacterVariant=5:1}very}\\
+\textit{\addfontfeature{CharacterVariant=5:2}very}\\ \textit{\addfontfeature{CharacterVariant=5:3}very}\\
+\textit{\addfontfeature{CharacterVariant={4,5:3}}\& very}\\
+
+\fontspec{EB Garamond 12 Italic} very\\
+\fontspec[CharacterVariant=5]{EB Garamond 12 Italic}very\\
+\fontspec[CharacterVariant=5:0]{EB Garamond 12 Italic}very\\
+\fontspec[CharacterVariant=5:1]{EB Garamond 12 Italic}very\\
+\fontspec[CharacterVariant=5:2]{EB Garamond 12 Italic}very\\
+\fontspec[CharacterVariant=5:3]{EB Garamond 12 Italic}very\\
+\fontspec[CharacterVariant={4,5:3}]{EB Garamond 12 Italic}\& very
+
+\end{document}

File pln-mono-1.tex

 \ifdefined\directlua\input luaotfload.sty\fi
-%% this should be mono bold
+%% this should be mono
 \font\libertinemono="Linux Libertine Mono O" at 42pt
 foo {\libertinemono bar} baz\endgraf
 %% this should be bold, but isn’t