summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-09-30 03:01:06 +0000
committerNorbert Preining <norbert@preining.info>2021-09-30 03:01:06 +0000
commitc0e66330261a0098e8041d4cc1428666ef598c30 (patch)
tree6048e9d4cf052ff3dc32b3ffd1081ef3c95bc42c /fonts
parent0396814223158484c2f424d382bcd670de158d82 (diff)
CTAN sync 202109300301
Diffstat (limited to 'fonts')
-rw-r--r--fonts/kpfonts-otf/README.md5
-rw-r--r--fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx36
-rw-r--r--fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdfbin191952 -> 191682 bytes
-rw-r--r--fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx41
-rw-r--r--fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdfbin194713 -> 194576 bytes
-rw-r--r--fonts/kpfonts-otf/doc/unimath-kpfonts.pdfbin1814383 -> 1814310 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMath-Bold.otfbin196892 -> 196892 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMath-Light.otfbin458264 -> 458264 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMath-Regular.otfbin431712 -> 431712 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMath-Sans.otfbin278724 -> 278724 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMath-Semibold.otfbin198620 -> 198620 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMono-Bold.otfbin57916 -> 57916 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otfbin65136 -> 65136 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMono-Italic.otfbin66440 -> 66440 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMono-Regular.otfbin59052 -> 59052 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-Bold.otfbin132232 -> 132232 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otfbin142764 -> 142856 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-Italic.otfbin132992 -> 132992 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-Light.otfbin130476 -> 130476 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otfbin135332 -> 135332 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-Regular.otfbin131128 -> 131128 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-Semibold.otfbin129480 -> 129480 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otfbin140444 -> 140444 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpSans-Bold.otfbin103124 -> 103124 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otfbin111128 -> 111128 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpSans-Italic.otfbin111088 -> 111088 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpSans-Regular.otfbin102540 -> 102540 bytes
-rw-r--r--fonts/kpfonts-otf/tex/kpfonts-otf.sty16
28 files changed, 56 insertions, 42 deletions
diff --git a/fonts/kpfonts-otf/README.md b/fonts/kpfonts-otf/README.md
index b936a57357..479e8b1981 100644
--- a/fonts/kpfonts-otf/README.md
+++ b/fonts/kpfonts-otf/README.md
@@ -152,6 +152,11 @@ Either version 1.3 or, at your option, any later version.
- Added bold versions to \dotlessi, \dotlessj, named \mbfdotlessi,
\mbfdotlessj (\mbfimath and \mbfjmath were already available).
+* v. 0.39:
+
+ New option "longs". Documentation corrected, thanks to Frank Mittelbach for
+ pointing out the glitch in v0.38.
+
---
Copyright 2020-2021 Daniel Flipo
E-mail: daniel (dot) flipo (at) free (dot) fr
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}:
diff --git a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdf b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdf
index da945629e5..a3a2bf6109 100644
--- a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdf
+++ b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdf
Binary files differ
diff --git a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx
index 175f2b775d..d4bacc199b 100644
--- a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx
+++ b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx
@@ -6,19 +6,13 @@
\usepackage[svgnames]{xcolor}
\usepackage[hypcap=false]{caption}
\usepackage{shortvrb}
-\usepackage[veryoldstyle]{kpfonts-otf} % active la fonction "add_EoW"
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% On annule l’effet de l’option "veryoldstyle" tout en gardant "add_EoW"
-\defaultfontfeatures+[\ttfamily]{RawFeature={-hist;-calt;-swsh;-onum}}
-\defaultfontfeatures+[KpRoman,KpLight,\sffamily]{%
- RawFeature={-hist;-hlig;-calt;-swsh;-rlig;-onum},%
+\usepackage{babel}
+\frenchsetup{og=«, fg=»,%ListItemsAsPar
}
-% Recharger les fontes avec les nouvelles "features" :
-\setmainfont{KpRoman}
-\setsansfont{KpSans}
-\setmonofont{KpMono}[Color=DarkBlue]
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%Pour les démos :
+
+\usepackage[longs]{kpfonts-otf}
+
+% Pour les démos :
\setmathfont{KpMath-Regular.otf}[version=full,
CharacterVariant=3,
StylisticSet={1,2,3,4,5,6,7}]
@@ -27,10 +21,6 @@
\setmathfont{KpMath-Bold.otf}[version=bold, Style=leqslant, CharacterVariant=3]
\setmathfont{KpMath-Sans.otf}[version=sans, Style=leqslant, CharacterVariant=3]
-\usepackage{babel}
-\frenchsetup{og=«, fg=»,%ListItemsAsPar
-}
-
\usepackage{realscripts}
\usepackage{microtype}
\usepackage{hyperref}
@@ -53,8 +43,8 @@
\title{Kp-fonts version OpenType}
\author{\href{mailto:daniel.flipo@free.fr}{Daniel \textsc{Flipo}}}
-\newcommand*{\version}{0.38}
-\date{12 septembre 2021}
+\newcommand*{\version}{0.39}
+\date{28 septembre 2021}
\begin{document}
\maketitle
@@ -247,7 +237,7 @@ Notez que ces options n'affectent que les polices de texte.
suivi d’une espace (sécable ou non) produite par TeX%
\footnote{On utilise la \emph{feature} OpenType \texttt{calt} qui ne
reconnaît ni les \cmd{hskip} ni les \cmd{penalty} de TeX.} !
- Un contournement est fourni dans \file{kpfont-otf.sty} uniquement pour le
+ Le fichier \file{kpfont-otf.sty} fournit une parade au moins avec le
moteur LuaTeX.
Exemple : le codage |\textit{espoirs, mais quels~espoirs?}| produit comme il
@@ -256,9 +246,15 @@ Notez que ces options n'affectent que les polices de texte.
(avec fine insécable devant le `?’).
Il est toujours possible de forcer un «s» rond en codant \texttt{s=}.
- %Pour obtenir le même résultat avec XeTeX, il faudrait coder:\\
Avec XeTeX, il faudrait coder: |\textit{espoirs, mais= quels=~espoirs=?}|.
+\item[longs :] \hlabel{longs}
+ empêche qu’un « s » suivi d’une espace sécable ou non soit
+ transformé en « s » long. Cette option, utilisable seulement avec
+ LuaTeX, est activée automatiquement par \opt{veryoldstyle} ; dans ce document
+ elle est utilisée seule pour traiter les exemples locaux de « s » long
+ (voir ci-dessus).
+
\item[largesmallcaps :] produit des petites capitales plus \textlsc{Grandes}
que par les \textsc{Petites} obtenues par défaut.
@@ -407,8 +403,9 @@ Pour les polices de texte de Kp-fonts les options suivantes sont proposées :
\item[Style=Historic :] pour remplacer systématiquement le « s » rond par un
{\addfontfeature{Style=Historic}« s »} long, il reste possible de forcer un
« s » rond, en fin de mot notamment, en codant |s=| ; ce n’est pas toujours
- nécessaire sous LuaTeX, voir l’option \opt{veryoldstyle}
- p.~\pageref{veryoldstyle}.
+ nécessaire, sous LuaTeX activer l’option \opt{longs} de
+ \pkg{kpfonts-otf} |\usepackage[longs]{kpfonts-otf}| permet d’éviter ce
+ codage pour les « s » suivis d’une espace (voir p.~\pageref{veryoldstyle}).
\item[Ligatures=Historic :] active les ligatures spécifiques au
{\addfontfeature{Style=Historic,Ligatures=Historic}« s » long si, sl, st}.
diff --git a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdf b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdf
index 88966bd036..a972d852cc 100644
--- a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdf
+++ b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdf
Binary files differ
diff --git a/fonts/kpfonts-otf/doc/unimath-kpfonts.pdf b/fonts/kpfonts-otf/doc/unimath-kpfonts.pdf
index fce6666fdf..dc98554244 100644
--- a/fonts/kpfonts-otf/doc/unimath-kpfonts.pdf
+++ b/fonts/kpfonts-otf/doc/unimath-kpfonts.pdf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMath-Bold.otf b/fonts/kpfonts-otf/fonts/KpMath-Bold.otf
index 65ccbbcca2..7ebfd35aa0 100644
--- a/fonts/kpfonts-otf/fonts/KpMath-Bold.otf
+++ b/fonts/kpfonts-otf/fonts/KpMath-Bold.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMath-Light.otf b/fonts/kpfonts-otf/fonts/KpMath-Light.otf
index f481fc329b..eeb3658859 100644
--- a/fonts/kpfonts-otf/fonts/KpMath-Light.otf
+++ b/fonts/kpfonts-otf/fonts/KpMath-Light.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMath-Regular.otf b/fonts/kpfonts-otf/fonts/KpMath-Regular.otf
index 928570640c..6e07e1a67a 100644
--- a/fonts/kpfonts-otf/fonts/KpMath-Regular.otf
+++ b/fonts/kpfonts-otf/fonts/KpMath-Regular.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMath-Sans.otf b/fonts/kpfonts-otf/fonts/KpMath-Sans.otf
index dfe7ec9c26..3a8e4aeb02 100644
--- a/fonts/kpfonts-otf/fonts/KpMath-Sans.otf
+++ b/fonts/kpfonts-otf/fonts/KpMath-Sans.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMath-Semibold.otf b/fonts/kpfonts-otf/fonts/KpMath-Semibold.otf
index f3c36e3dda..21bb0005b6 100644
--- a/fonts/kpfonts-otf/fonts/KpMath-Semibold.otf
+++ b/fonts/kpfonts-otf/fonts/KpMath-Semibold.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMono-Bold.otf b/fonts/kpfonts-otf/fonts/KpMono-Bold.otf
index e621eafc81..82d5893de5 100644
--- a/fonts/kpfonts-otf/fonts/KpMono-Bold.otf
+++ b/fonts/kpfonts-otf/fonts/KpMono-Bold.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otf b/fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otf
index b6fd35ccc4..e8fb57da35 100644
--- a/fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otf
+++ b/fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMono-Italic.otf b/fonts/kpfonts-otf/fonts/KpMono-Italic.otf
index 3c0f2ee437..b457067fbb 100644
--- a/fonts/kpfonts-otf/fonts/KpMono-Italic.otf
+++ b/fonts/kpfonts-otf/fonts/KpMono-Italic.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMono-Regular.otf b/fonts/kpfonts-otf/fonts/KpMono-Regular.otf
index cbab0a4197..759033f4bd 100644
--- a/fonts/kpfonts-otf/fonts/KpMono-Regular.otf
+++ b/fonts/kpfonts-otf/fonts/KpMono-Regular.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpRoman-Bold.otf b/fonts/kpfonts-otf/fonts/KpRoman-Bold.otf
index 35a26ab13e..01462a82c4 100644
--- a/fonts/kpfonts-otf/fonts/KpRoman-Bold.otf
+++ b/fonts/kpfonts-otf/fonts/KpRoman-Bold.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otf b/fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otf
index 2e763601cd..5a8b45a39a 100644
--- a/fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otf
+++ b/fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpRoman-Italic.otf b/fonts/kpfonts-otf/fonts/KpRoman-Italic.otf
index 954690297a..424639821a 100644
--- a/fonts/kpfonts-otf/fonts/KpRoman-Italic.otf
+++ b/fonts/kpfonts-otf/fonts/KpRoman-Italic.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpRoman-Light.otf b/fonts/kpfonts-otf/fonts/KpRoman-Light.otf
index 6537fe4ecd..7b4a7ef7bf 100644
--- a/fonts/kpfonts-otf/fonts/KpRoman-Light.otf
+++ b/fonts/kpfonts-otf/fonts/KpRoman-Light.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otf b/fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otf
index 492a3d28d8..464388a99f 100644
--- a/fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otf
+++ b/fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpRoman-Regular.otf b/fonts/kpfonts-otf/fonts/KpRoman-Regular.otf
index 57136c6bc5..5a47703361 100644
--- a/fonts/kpfonts-otf/fonts/KpRoman-Regular.otf
+++ b/fonts/kpfonts-otf/fonts/KpRoman-Regular.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpRoman-Semibold.otf b/fonts/kpfonts-otf/fonts/KpRoman-Semibold.otf
index 64fc5f0ff1..e266362c82 100644
--- a/fonts/kpfonts-otf/fonts/KpRoman-Semibold.otf
+++ b/fonts/kpfonts-otf/fonts/KpRoman-Semibold.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otf b/fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otf
index 9895e5ad22..31953b5e92 100644
--- a/fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otf
+++ b/fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpSans-Bold.otf b/fonts/kpfonts-otf/fonts/KpSans-Bold.otf
index 9e932fc8bd..cf84d5df45 100644
--- a/fonts/kpfonts-otf/fonts/KpSans-Bold.otf
+++ b/fonts/kpfonts-otf/fonts/KpSans-Bold.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otf b/fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otf
index f8755f656c..6e0517e266 100644
--- a/fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otf
+++ b/fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpSans-Italic.otf b/fonts/kpfonts-otf/fonts/KpSans-Italic.otf
index 319022349d..f1ec028877 100644
--- a/fonts/kpfonts-otf/fonts/KpSans-Italic.otf
+++ b/fonts/kpfonts-otf/fonts/KpSans-Italic.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpSans-Regular.otf b/fonts/kpfonts-otf/fonts/KpSans-Regular.otf
index ba5fc06118..8a9a0ae4d1 100644
--- a/fonts/kpfonts-otf/fonts/KpSans-Regular.otf
+++ b/fonts/kpfonts-otf/fonts/KpSans-Regular.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/tex/kpfonts-otf.sty b/fonts/kpfonts-otf/tex/kpfonts-otf.sty
index 434ba2bd63..62520bc54d 100644
--- a/fonts/kpfonts-otf/tex/kpfonts-otf.sty
+++ b/fonts/kpfonts-otf/tex/kpfonts-otf.sty
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}[2019-01-01]
-\def\fileversion{0.38}
-\def\filedate{2021-09-12}
+\def\fileversion{0.39}
+\def\filedate{2021-09-28}
\ProvidesPackage{kpfonts-otf}[\filedate\space\fileversion]
% Ensure luatex or xetex engine
@@ -21,6 +21,7 @@
\newif\ifkp@osn
\newif\ifkp@os
\newif\ifkp@vos
+\newif\ifkp@longs
\newif\ifkp@Qtail
%
\newif\ifkp@lightmath
@@ -49,7 +50,9 @@
\DeclareOption{lighttext} {\kp@lighttexttrue}
\DeclareOption{oldstylenums} {\kp@osntrue}
\DeclareOption{oldstyle} {\kp@ostrue\kp@osntrue\kp@Qtailtrue}
-\DeclareOption{veryoldstyle} {\kp@vostrue\kp@osntrue\kp@Qtailtrue}
+\DeclareOption{longs} {\kp@longstrue}
+\DeclareOption{veryoldstyle} {\kp@vostrue\kp@osntrue\kp@Qtailtrue
+ \ifluatex\kp@longstrue\fi}
\DeclareOption{largesmallcaps} {\kp@largesmallcapstrue}
\DeclareOption{altfligs} {\kp@altfligstrue}
\DeclareOption{germandbls} {\kp@germandblstrue}
@@ -115,6 +118,9 @@
\fi
\defaultfontfeatures+[KpRoman,KpLight,\sffamily]{%
Style=Historic,Ligatures=Historic,Contextuals=Alternate}
+ \fi
+ %% No Long s before spaces with luatex
+ \ifkp@longs
\ifluatex
% This function adds character U+200B (zero width space) when an "s"
% is followed by a TeX space (glue or penalty) so that it is not turned
@@ -162,7 +168,9 @@
"add_end_of_word_boundary");
}
}
- \fi
+ \else
+ \PackageWarning{kpfonts-otf}%
+ {Option "longs" skipped (luatex only), reported}
\fi
% Smallcaps
\ifkp@largesmallcaps