diff options
Diffstat (limited to 'fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx')
-rw-r--r-- | fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx index 896999c02a..08e3d13136 100644 --- a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx +++ b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx @@ -6,15 +6,10 @@ \usepackage[svgnames]{xcolor} \usepackage[hypcap=false]{caption} \usepackage{shortvrb} -\usepackage[veryoldstyle]{kpfonts-otf} -\defaultfontfeatures+[\ttfamily]{RawFeature={-hist;-calt;-swsh;-onum}} -\defaultfontfeatures+[KpRoman,KpLight,\sffamily]{% - RawFeature={-hist;-hlig;-calt;-swsh;-rlig;-onum},% -} -\setmainfont{KpRoman} -\setsansfont{KpSans} -\setmonofont{KpMono}[Color=DarkBlue] -%Math demos +% Option "longs" for local exemples of the long s +\usepackage[longs]{kpfonts-otf} + +% Math demos \setmathfont{KpMath-Regular.otf}[version=full, CharacterVariant=3, StylisticSet={1,2,3,4,5,6,7}] \setmathfont{KpMath-Regular.otf}[version=base, CharacterVariant=3] @@ -47,8 +42,8 @@ \title{Kp-fonts: OpenType version} \author{\href{mailto:daniel.flipo@free.fr}{Daniel \textsc{Flipo}}} -\newcommand*{\version}{0.38} -\date{12th September, 2021} +\newcommand*{\version}{0.39} +\date{28th September, 2021} \begin{document} \selectlanguage{british} @@ -213,7 +208,7 @@ and a bunch of Kp-fonts specifics symbols. \item \textsc{\textbf{\test}} \end{itemize} -\item[veryoldstyle:] \hlabel{veryoldstyle} same as option \opt{oldstyle} but +\item[veryoldstyle:] same as option \opt{oldstyle} but the round `s’ is replaced by the long one {\addfontfeatures{RawFeature=+hist;+hlig}`s\hspace{1sp}’}, unless it ends a word (then it remains `s’)% @@ -228,7 +223,17 @@ and a bunch of Kp-fonts specifics symbols. {\addfontfeatures{RawFeature=+hist;+hlig;+calt}% \textit{some of Highlands’ mysterious castles…}} which is correct; with XeTeX an \texttt{=} sign must be added at the end of - \texttt{mysterious=} to get a round `s’ there. + \texttt{mysterious=} to get a round `s’ there : + final `s’ followed by a punctuation sign is never turned into + {\addfontfeatures{RawFeature=+hist;+hlig}`s\hspace{1sp}’}, when followed by + a space it is a trickier, see option \opt{longs} below. + +\item[longs] \hlabel{longs} + inhibits the transformation of an `s’ followed by a space into + {\addfontfeatures{RawFeature=+hist;+hlig}`s\hspace{1sp}’}. This option, + available only with LuaTeX, is silently switched on by \opt{veryoldstyle}; + it is used explicitly in the present document to deal with the examples of + long `s’ shown in the preceeding item. \item[largesmallcaps:] prints larger \textlsc{Small Caps} than the default ones (\textsc{Petite Caps}). @@ -369,9 +374,8 @@ Here are the options available for Text Kp-fonts: \item[Style=Historic] replaces any instance of `s’ by the long variant {\addfontfeature{Style=Historic}s}. It is still possible to get a round - `s’ coding it as `|s=|’. As the long variant is never used at words’ ends - the feature \opt{calc} is also activated: it tries to catch end of words, - see \opt{veryoldstyle} p.~\pageref{veryoldstyle} for more details. + `s’ coding it as `|s=|’ specially at end of words; see options + \opt{veryoldstyle} and \opt{longs} p.~\pageref{longs} for more details. \item[Ligatures=Historic] switches specific ligatures for the long {\addfontfeature{Style=Historic}s}: |