Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
SwitWu authored and wspr committed Apr 26, 2024
1 parent f373935 commit f00c287
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fontspec-doc-featset.tex
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,16 @@ \section{Working with the currently selected features}
If you attempt to \emph{change} an already-selected feature, \pkg{fontspec} will try to de-activate any features that clash with the new ones.
\Eg, the following two invocations are mutually exclusive:
\begin{Verbatim}
\addfontfeature{Numbers=OldStyle}...
\addfontfeature{Numbers=Lining}...
\addfontfeatures{Numbers=OldStyle}...
\addfontfeatures{Numbers=Lining}...
123
\end{Verbatim}
Since |Numbers=Lining| comes last, it takes precedence and deactivates the call |Numbers=OldStyle|.

If you wish to apply the change to only one of the fonts of a family (say, italics only)
you can write
\begin{Verbatim}
\addfontfeature{ItalicFeatures={Numbers=Lowercase}}
\addfontfeatures{ItalicFeatures={Numbers=Lowercase}}
\end{Verbatim}


Expand Down Expand Up @@ -240,7 +240,7 @@ \section{Different features for different font sizes}
\null\quad... \\
\char`\}}

The \feat{SizeFeature} feature is a little more complicated
The \feat{SizeFeatures} feature is a little more complicated
than the previous features discussed. It allows different fonts
and different font features to be selected for a given font
family as the point size varies.
Expand Down

0 comments on commit f00c287

Please sign in to comment.