Commits

Philipp Gesang  committed 2728b2e

add example for lacking smcp features

  • Participants
  • Parent commits 8b46706

Comments (0)

Files changed (1)

File ltx-fontspec-feature-9.tex

+\documentclass{scrartcl}
+\ifdefined\directlua
+  \directlua{config={luaotfload={resolver="normal"}}}
+\fi
+\usepackage{fontspec}
+\setmainfont{Adobe Garamond Pro}
+
+\font\agarmitlcsmcp="file:agaramondpro_italic.otf:+smcp"
+
+\begin{document}
+                    foo       \fontname\font \par
+ {\bfseries         bar       \fontname\font}\par
+ {\itshape          baz       \fontname\font}\par
+ {\bfseries\itshape baz       \fontname\font}\par
+ {\scshape          xyzzy     \fontname\font}\par
+ {\scshape\bfseries whatever  \fontname\font}\par
+
+ \hrule
+
+ {\scshape\itshape  foobar    \fontname\font}\par
+ {\agarmitlcsmcp    foobar    \fontname\font}\par
+
+\end{document}