summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fontspec/fontspec-doc-featset.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/fontspec/fontspec-doc-featset.tex')
-rw-r--r--Master/texmf-dist/source/latex/fontspec/fontspec-doc-featset.tex27
1 files changed, 15 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/latex/fontspec/fontspec-doc-featset.tex b/Master/texmf-dist/source/latex/fontspec/fontspec-doc-featset.tex
index 269a0602b3b..17d4a9da151 100644
--- a/Master/texmf-dist/source/latex/fontspec/fontspec-doc-featset.tex
+++ b/Master/texmf-dist/source/latex/fontspec/fontspec-doc-featset.tex
@@ -462,13 +462,16 @@ use this feature in \cs{addfontfeatures}.
\subsection{The hyphenation character}
The letter used for hyphenation may be chosen with the \feat{HyphenChar}
-feature. This is a \XeTeX-only feature since \LuaTeX\ cannot set the hyphenation character on a per-font basis; see its \cs{prehyphenchar} primitive for further details.
+feature.
+With one exception (\feat{HyphenChar} \texttt{=} \opt{None}),
+this is a \XeTeX-only feature since \LuaTeX\ cannot set the hyphenation character on a per-font basis;
+see its \cs{prehyphenchar} primitive for further details.
-It takes three types of input, which are chosen according to some
+\feat{HyphenChar} takes three types of input, which are chosen according to some
simple rules. If the input is the string \opt{None}, then hyphenation is
suppressed for this font.
-If the input is a single character, then this
-character is used. Finally, if the input is longer than a single character
+If the input is a single character, then this character is used.
+Finally, if the input is longer than a single character
it must be the UTF-8 slot number of the hyphen character you desire.
This package redefines \LaTeX's \cmd\-\ macro such that it adjusts along with the above changes.
@@ -503,9 +506,9 @@ and Lua\TeX\
able to compare the difference for equivalent font sizes.
The
-\opt{OpticalSize} option may be used to specify a different optical
+\feat{OpticalSize} feature may be used to specify a different optical
size.
-With \opt{OpticalSize} set
+With \feat{OpticalSize} set
to zero, no optical size font substitution is performed, as shown in
\exref{optsize0}.
@@ -545,14 +548,14 @@ of font size. For example, something like:
In rare situations users may want to mechanically distort the shapes of the glyphs in the current font such as shown in \exref{fake}. Please don't overuse these features; they are \emph{not} a good alternative to having the real shapes.
\begin{Xexample}{fake}{Articifial font transformations.}
- \fontspec{Charis SIL} \emph{ABCxyz} \quad
- \fontspec{Charis SIL}[FakeSlant=0.2] ABCxyz
+ \fontspec{Quattrocento.otf} \emph{ABCxyz} \quad
+ \fontspec{Quattrocento.otf}[FakeSlant=0.2] ABCxyz
- \fontspec{Charis SIL} ABCxyz \quad
- \fontspec{Charis SIL}[FakeStretch=1.2] ABCxyz
+ \fontspec{Quattrocento.otf} ABCxyz \quad
+ \fontspec{Quattrocento.otf}[FakeStretch=1.2] ABCxyz
- \fontspec{Charis SIL} \textbf{ABCxyz} \quad
- \fontspec{Charis SIL}[FakeBold=1.5] ABCxyz
+ \fontspec{Quattrocento.otf} \textbf{ABCxyz} \quad
+ \fontspec{Quattrocento.otf}[FakeBold=1.5] ABCxyz
\end{Xexample}
If values are omitted, their defaults are as shown above.