From 0d84aca436674ab71014e9ef930ef9c323b83d66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Fabian=20Kr=C3=BCger?= Date: Thu, 28 Apr 2022 23:28:22 +0200 Subject: [PATCH] Document Letters=Uppercase/Lowercase --- fontspec-doc-opentype.tex | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/fontspec-doc-opentype.tex b/fontspec-doc-opentype.tex index 6e6eb32..cedea8f 100644 --- a/fontspec-doc-opentype.tex +++ b/fontspec-doc-opentype.tex @@ -1036,6 +1036,15 @@ \subsubsection{Letters} \label{sec:letters} \opt{SmallCaps}, \opt{PetiteCaps}, \opt{UppercaseSmallCaps}, \opt{UppercasePetiteCaps}, and \opt{Unicase}. +Additionally \opt{Uppercase} and \opt{Lowercase} are supported for all fonts +in \LuaTeX. +In contrast to earlier version, the \opt{Uppercase} and \opt{Lowercase} options +turn the text into uppercase or lowercase and do not require the text to already +have the right casing. The old behavior of \opt{Uppercase} is available with +\verb|Style=Uppercase|. When the \opt{Uppercase} option is selected, +\verb|Style=Uppercase| and \verb|Kerning=Uppercase| are automatically applied if +supported by the font. + \begin{features}{Letters} \otf*{SmallCaps}{smcp} @@ -1043,6 +1052,8 @@ \subsubsection{Letters} \label{sec:letters} \otf*{UppercaseSmallCaps}{c2sc} \otf*{UppercasePetiteCaps}{c2pc} \otf*{Unicase}{unic} +\otf*{Uppercase}{} +\otf*{Lowercase}{} \cmidrule{2-4} \otf{ResetAll}{} \end{features} @@ -1208,7 +1219,7 @@ \subsubsection{Style} to better match the surrounding letters. It will (probably) not actually map letters to uppercase. \note{If you want automatic uppercase letters, look to \LaTeX's - \cmd\MakeUppercase\ command.} + \cmd\MakeUppercase\ command or, when using \LuaTeX, to the \feat{Letters} feature.} This option used to be selected under the \feat{Letters} feature, but moved here as it generally does not actually affect the letters themselves. The \feat{Kerning} feature also contains an \opt{Uppercase} option,