summaryrefslogtreecommitdiff
path: root/fonts/kpfonts-otf
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-05-23 03:00:39 +0000
committerNorbert Preining <norbert@preining.info>2021-05-23 03:00:39 +0000
commitf1261b349e875b842745b63258c3e338cb1fe3bf (patch)
treeb5d402b3e80818cde2c079a42249f3dcb9732247 /fonts/kpfonts-otf
parent58aa1ac09b1d9e4769d0a0661cf12e2b2db41b14 (diff)
CTAN sync 202105230300
Diffstat (limited to 'fonts/kpfonts-otf')
-rw-r--r--fonts/kpfonts-otf/README.md11
-rw-r--r--fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx61
-rw-r--r--fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdfbin187084 -> 189920 bytes
-rw-r--r--fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx72
-rw-r--r--fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdfbin188514 -> 191924 bytes
-rw-r--r--fonts/kpfonts-otf/doc/unimath-kpfonts.pdfbin1788053 -> 1787182 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMath-Bold.otfbin196892 -> 196892 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMath-Light.otfbin455424 -> 456084 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMath-Regular.otfbin428692 -> 429640 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMath-Sans.otfbin275556 -> 276440 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMath-Semibold.otfbin198620 -> 198620 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMono-Bold.otfbin57768 -> 57768 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otfbin64992 -> 64992 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMono-Italic.otfbin66300 -> 66300 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMono-Regular.otfbin58904 -> 58904 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-Bold.otfbin132080 -> 132080 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otfbin142704 -> 142704 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-Italic.otfbin134260 -> 134260 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-Light.otfbin130328 -> 130328 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otfbin135176 -> 135176 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-Regular.otfbin130976 -> 130976 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-Semibold.otfbin129324 -> 129324 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otfbin140488 -> 140488 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpSans-Bold.otfbin102972 -> 102972 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otfbin110904 -> 110904 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpSans-Italic.otfbin110936 -> 110936 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpSans-Regular.otfbin102384 -> 102384 bytes
-rw-r--r--fonts/kpfonts-otf/tex/kpfonts-otf.sty16
28 files changed, 103 insertions, 57 deletions
diff --git a/fonts/kpfonts-otf/README.md b/fonts/kpfonts-otf/README.md
index 2267028da9..cc674316d7 100644
--- a/fonts/kpfonts-otf/README.md
+++ b/fonts/kpfonts-otf/README.md
@@ -106,6 +106,17 @@ Either version 1.3 or, at your option, any later version.
Extensible delimiters corrected in KpMath-Sans.
Options frenchstyle, partialup and fancyReIm now work as intended.
+* v. 0.36:
+ - Math fonts:
+ kpfonts-otf.sty: Option mathcal deleted, \mathcal{} and \mathscr{}
+ now print different glyphs.
+ mathcal substitutions corrected for KpMath-Regular and KpMath-Sans.
+ Extensible \langle, \rangle, \lAngle and \rangle delimiters are now
+ available in eight sizes (three bigger sizes added).
+ All vertical arrows are now extensible.
+ Bug fix: extensible right paren was broken, thanks to Tom Stotko
+ for pointed it out!
+
---
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 dfb1f39439..eb348001ae 100644
--- a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx
+++ b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx
@@ -1,3 +1,5 @@
+\RequirePackage{pdfmanagement-testphase}
+\DeclareDocumentMetadata{pdfstandard=A-2b, lang=en-GB}
\documentclass[paper=a4]{scrartcl}
% Packages
\usepackage{graphics, array}
@@ -20,13 +22,11 @@
\usepackage{realscripts}
\usepackage{microtype}
\usepackage{hyperref}
-\hypersetup{pdfcreator={LuaTeX},
+\hypersetup{pdftitle={Kpfonts-otf User’s Guide},
pdfauthor={Daniel FLIPO},
- unicode,
- colorlinks,
- urlcolor=DarkBlue,
- linkcolor=Blue,
+ colorlinks
}
+\newcommand*{\hlabel}[1]{\phantomsection\label{#1}}
%
\MakeShortVerb{\|}
@@ -41,7 +41,7 @@
\title{Kp-fonts: OpenType version}
\author{\href{mailto:daniel.flipo@free.fr}{Daniel \textsc{Flipo}}}
-\newcommand*{\version}{0.35}
+\newcommand*{\version}{0.36}
\begin{document}
\selectlanguage{british}
@@ -80,14 +80,16 @@
$\symbfup{a}$ $\symbfup{\beta}$ $\symbfup{C}$ $\symbfup{\Delta}$,
$\symbfit{a}$ $\symbfit{\beta}$ $\symbfit{C}$ $\symbfit{\Delta}$.
+% Blackboard Bold capitals are available in two shapes, Serif and Sans:
+% |\mathbb{ABC}| prints either
+% \mathversion{full}$\mathbb{ABC}$ (option |[Style=bbsans]|) or
+% \mathversion{base} $\mathbb{ABC}$ (default).
Blackboard Bold capitals are available in two shapes, Serif and Sans:
|\mathbb{ABC}| prints either
- \mathversion{full}$\mathbb{ABC}$ (option |[Style=bbsans]|) or
- \mathversion{base} $\mathbb{ABC}$ (default).
- Commands |\mathcal{ABC}| and |\mathscr{ABC}| print either
- $\mathscr{ABC}$ (default) or
- \mathversion{full}$\mathscr{ABC}$ with option |[Style=mathcal]|,
- \mathversion{base}.
+ \mathversion{base} $\mathbb{ABC}$ (default) or
+ \mathversion{full}$\mathbb{ABC}$ (option |[Style=bbsans]|)
+ Commands |\mathcal{ABC}| and |\mathscr{ABC}| print respectively
+ \mathversion{full}$\mathcal{ABC}$ and \mathversion{base}$\mathscr{ABC}$.
File \file{unimath-kpfonts.pdf} shows the full list of Unicode Math symbols
provided by Kp-fonts, compared with other common Math fonts.
@@ -190,7 +192,7 @@ and a bunch of Kp-fonts specifics symbols.
\item \textsc{\textbf{\test}}
\end{itemize}
-\item[veryoldstyle:] \label{veryoldstyle} same as option \opt{oldstyle} but
+\item[veryoldstyle:] \hlabel{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’)%
@@ -246,9 +248,9 @@ and a bunch of Kp-fonts specifics symbols.
$\mathbb{C}$, $\mathbb{K}$, $\mathbb{N}$, $\mathbb{Q}$, $\mathbb{R}$,
$\mathbb{Z}$ (default).
-\item[mathcal:] forces commands |\mathcal| and |\mathscr| to print
- \mathversion{full}$\mathcal{A,B,C,D}$ % $\mathscr{ABCD}$
- instead of \mathversion{base} $\mathcal{A,B,C,D}$ (default).
+%\item[mathcal:] forces commands |\mathcal| and |\mathscr| to print
+% \mathversion{full}$\mathcal{A,B,C,D}$ % $\mathscr{ABCD}$
+% instead of \mathversion{base} $\mathcal{A,B,C,D}$ (default).
\item[frenchstyle:] Latin uppercase letters and all Greek letters are
printed upright, only lowercase latin letters are printed in italics;
@@ -263,7 +265,7 @@ and a bunch of Kp-fonts specifics symbols.
\quad instead of \quad
\mathversion{base}$\iiint$ et $\displaystyle\iiint$ (default).
-\enlargethispage*{\baselineskip}
+%\enlargethispage*{\baselineskip}
\item[partialup:] the |\partial| symbol is printed upright $\symup{\partial}$
instead of $\partial$.
@@ -278,6 +280,11 @@ and a bunch of Kp-fonts specifics symbols.
\end{description}
+Option \textsf{\textbf{mathcal}} has been deleted: commands |$\mathcal{ABC}$|
+and |$\mathscr{ABC}$| now print \mathversion{full}$\mathcal{ABC}$ and
+\mathversion{base}$\mathcal{ABC}$ respectively when \pkg{kpfonts-otf.sty}
+is loaded.
+
\section{Another way to load Kp-fonts}
\label{sec:options-standard}
@@ -410,7 +417,7 @@ Seven `Style Variants’ are available with Kp-fonts, here are the first three:
\begin{description}
\item[Style=mathcal] (\texttt{+ss01}) commands |\mathcal{}| and |\mathscr{}|
print \mathversion{full}$\mathcal{ABC}$ instead of
- \mathversion{base}$\mathcal{ABC}$ (default);
+ \mathversion{base}$\mathcal{ABC}$ (default), see note below;
\item[Style=bbsans] (\texttt{+ss02}) |\mathbb{}| prints Sans-Serif
Blackboard bold capitals \mathversion{full}$\mathbb{ABC}$ for Serif Math fonts
@@ -422,11 +429,19 @@ Seven `Style Variants’ are available with Kp-fonts, here are the first three:
\mathversion{base}$\iiint$ (default).
\end{description}
+\textbf{Note:} if you want commands |$\mathcal{ABC}$| and |$\mathscr{ABC}$| to
+print \mathversion{full}$\mathcal{ABC}$ and \mathversion{base}$\mathcal{ABC}$
+repectively, you can use \pkg{unicode-math}’s option |range| this way:\\
+|\setmathfont{KpMath-Regular}[|\optit{options}|]|\\
+|\setmathfont{KpMath-Regular}[range={cal,bfcal},StylisticSet=1]|\\
+The first line loads \family{KpMath} as usual, the second one modifies
+|\mathcal{}| command’s output.
+
\vspace{\baselineskip}
The next four tables present the other Style Variants available:
\\[-.5\baselineskip]
\begin{minipage}[t]{0.45\linewidth}\centering
- \captionof{table}{Style=leqslant (\texttt{+ss04})}\label{ss04}
+ \captionof{table}{Style=leqslant (\texttt{+ss04})}\hlabel{ss04}
\begin{tabular}{@{}lcc@{}}
\hline
Command & Default & Variant \\
@@ -447,7 +462,7 @@ The next four tables present the other Style Variants available:
\end{tabular}
\end{minipage}\hspace{\fill}
\begin{minipage}[t]{0.5\linewidth}\centering
- \captionof{table}{Style=smaller (\texttt{+ss05})}\label{ss05}
+ \captionof{table}{Style=smaller (\texttt{+ss05})}\hlabel{ss05}
\begin{tabular}{@{}lcc@{}}
\hline
Command & Default & Variant \\
@@ -463,7 +478,7 @@ The next four tables present the other Style Variants available:
\end{minipage}
\par\noindent
\begin{minipage}[t]{0.45\linewidth}\centering
- \captionof{table}{Style=subsetneq (\texttt{+ss06})}\label{ss06}
+ \captionof{table}{Style=subsetneq (\texttt{+ss06})}\hlabel{ss06}
\begin{tabular}{@{}lcc@{}}
\hline
Command & Default & Variant \\
@@ -476,7 +491,7 @@ The next four tables present the other Style Variants available:
\end{tabular}
\end{minipage}\hspace{\fill}
\begin{minipage}[t]{0.5\linewidth}\centering
- \captionof{table}{Style=parallelslant (\texttt{+ss07})}\label{ss07}
+ \captionof{table}{Style=parallelslant (\texttt{+ss07})}\hlabel{ss07}
\begin{tabular}{@{}lcc@{}}
\hline
Command & Default & Variant \\
@@ -503,7 +518,7 @@ Table~\vref{cv} shows the available `Glyphs Variants’:
\begin{table}[ht]
\centering
\caption{Glyphs Variants}
- \label{cv}
+ \hlabel{cv}
\begin{tabular}{@{}>{\ttfamily}lccl@{}}
\hline
& Default & Variant & Command\\
diff --git a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdf b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdf
index 0c06d3fb9c..1c53b58dac 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 dff014531e..ef89473660 100644
--- a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx
+++ b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx
@@ -1,3 +1,5 @@
+\RequirePackage{pdfmanagement-testphase}
+\DeclareDocumentMetadata{pdfstandard=A-2b, lang=fr-FR}
\documentclass[paper=a4,french]{scrartcl}
% Packages
\usepackage{graphics, array, varioref}
@@ -18,21 +20,16 @@
\usepackage{babel}
\frenchsetup{og=«, fg=»,%ListItemsAsPar
}
-\usepackage[All]{lua-typo}
+
\usepackage{realscripts}
\usepackage{microtype}
\usepackage{hyperref}
-\hypersetup{pdfcreator={LuaTeX},
+\hypersetup{pdftitle={Mode d’emploi des Kpfonts-otf},
pdfauthor={Daniel FLIPO},
- unicode,
colorlinks,
- urlcolor=DarkBlue,
- linkcolor=Blue,
}
-% Mise en page
-%\setlength{\parindent}{0pt}
-%\renewcommand{\arraystretch}{1.3}
-
+\newcommand*{\hlabel}[1]{\phantomsection\label{#1}}
+%
\MakeShortVerb{\|}
\newcommand*{\pkg}[1]{\texttt{#1}}
@@ -46,7 +43,7 @@
\title{Kp-fonts version OpenType}
\author{\href{mailto:daniel.flipo@free.fr}{Daniel \textsc{Flipo}}}
-\newcommand*{\version}{0.35}
+\newcommand*{\version}{0.36}
\begin{document}
\maketitle
@@ -86,14 +83,14 @@
$\symbfup{a}$ $\symbfup{\beta}$ $\symbfup{C}$ $\symbfup{\Delta}$,
$\symbfit{a}$ $\symbfit{\beta}$ $\symbfit{C}$ $\symbfit{\Delta}$.
- la commande |\mathbb{ABC}| affiche au choix
- \mathversion{full}$\mathbb{ABC}$ (option |Style=bbsans|) ou
- \mathversion{base} $\mathbb{ABC}$ par défaut,
- les commandes |\mathcal{ABC}| et |\mathscr{ABC}| affichent
- $\mathscr{ABC}$ par défaut ou
- \mathversion{full}$\mathscr{ABC}$ avec l’option |Style=mathcal|,
- \mathversion{base}
- tandis que la commande |\mathfrak{ABCabc}| affiche $\mathfrak{ABCabc}$.
+ La commande |\mathbb{ABC}| affiche au choix
+ \mathversion{base} $\mathbb{ABC}$ par défaut ou
+ \mathversion{full}$\mathbb{ABC}$ avec l’option |Style=bbsans|,
+ deux versions des capitales calligraphiées
+ sont disponibles : |\mathcal{ABC}| et |\mathscr{ABC}| affichent
+ respectivement \mathversion{full}$\mathcal{ABC}$ et
+ \mathversion{base}$\mathcal{ABC}$ ;
+ la commande |\mathfrak{ABCabc}| affiche $\mathfrak{ABCabc}$.
La liste complète des symboles mathématiques présents dans Unicode et
disponibles dans les polices \family{KpMath} est présentée dans
@@ -207,7 +204,7 @@ Notez que ces options n'affectent que les polices de texte.
\item \textsc{\textbf{\test}}
\end{itemize}
-\item[veryoldstyle :] \label{veryoldstyle}
+\item[veryoldstyle :] \hlabel{veryoldstyle}
identique à l'option \opt{oldstyle} mais en plus le « s » rond est
remplacé par le « {\addfontfeatures{RawFeature=+hist;+hlig}s} » long
sauf en fin de mot (où il doit rester rond) et les ligatures
@@ -276,10 +273,10 @@ Notez que ces options n'affectent que les polices de texte.
$\mathbb{C}$, $\mathbb{K}$, $\mathbb{N}$, $\mathbb{Q}$, $\mathbb{R}$,
$\mathbb{Z}$.
-\item[mathcal :] cette option modifie l’effet des commandes
- |\mathcal| et |\mathscr|, elles produisent toutes les deux
- \mathversion{full}$\mathcal{ABCD}$ % $\mathscr{ABCD}$
- alors que par défaut \mathversion{base} on a $\mathcal{ABCD}$.
+%\item[mathcal :] cette option modifie l’effet des commandes
+% |\mathcal| et |\mathscr|, elles produisent toutes les deux
+% \mathversion{full}$\mathcal{ABCD}$ % $\mathscr{ABCD}$
+% alors que par défaut \mathversion{base} on a $\mathcal{ABCD}$.
\item[frenchstyle :] les majuscules romaines et toutes les lettres grecques
(majuscules ou minuscules) sont droites, selon la tradition typographique
@@ -310,7 +307,12 @@ Notez que ces options n'affectent que les polices de texte.
\end{description}
-\enlargethispage*{2\baselineskip}
+L’option \textsf{\textbf{mathcal}} a été supprimée : désormais, les commandes
+|$\mathcal{ABC}$| et |$\mathscr{ABC}$| affichent respectivement
+\mathversion{full}$\mathcal{ABC}$ et \mathversion{base}$\mathcal{ABC}$
+lorsque \pkg{kpfonts-otf.sty} est chargé.
+
+%\enlargethispage*{2\baselineskip}
\section{Autre façon de charger les Kp-fonts}
\label{sec:options-standard}
@@ -449,7 +451,7 @@ trois premières :
\begin{description}
\item[Style=mathcal] (\texttt{+ss01}) les commandes |\mathcal{}| et
|\mathscr{}| produisent \mathversion{full}$\mathcal{ABC}$
- au lieu de \mathversion{base}$\mathcal{ABC}$ ;
+ au lieu de \mathversion{base}$\mathcal{ABC}$ (voir remarque ci-dessous) ;
\item[Style=bbsans] (\texttt{+ss02}) les glyphes produits par la commande
|\mathbb{}| sont en sans-serif \mathversion{full}$\mathbb{ABC}$ au lieu de
@@ -460,10 +462,20 @@ trois premières :
\mathversion{base}$\iiint$.
\end{description}
+\textbf{Remarque :} pour que |$\mathcal{ABC}$| et |$\mathscr{ABC}$| affichent
+respectivement \mathversion{full}$\mathcal{ABC}$ et
+\mathversion{base}$\mathcal{ABC}$,
+on peut utiliser l’option |range| de \pkg{unicode-math} comme ceci :\\
+|\setmathfont{KpMath-Regular}[|\optit{options}|]|\\
+|\setmathfont{KpMath-Regular}[range={cal,bfcal},StylisticSet=1]|\\
+Les \emph{deux} lignes sont nécessaires : la première ligne charge
+\family{KpMath} normalement, la seconde modifie la sortie de la commande
+|\mathcal{}|.
+
Les quatre tables suivantes recensent les autres variantes de style proposées.
\nopagebreak\par\noindent
\begin{minipage}[t]{0.45\linewidth}\centering
- \captionof{table}{Style=leqslant (\texttt{+ss04})} \label{ss04}
+ \captionof{table}{Style=leqslant (\texttt{+ss04})} \hlabel{ss04}
\begin{tabular}[t]{@{}lcc@{}}
\hline
Commande & Base & Variante \\
@@ -484,7 +496,7 @@ Les quatre tables suivantes recensent les autres variantes de style proposées.
\end{tabular}
\end{minipage}\hspace{\fill}
\begin{minipage}[t]{0.5\linewidth}\centering
- \captionof{table}{Style=smaller (\texttt{+ss05})}\label{ss05}
+ \captionof{table}{Style=smaller (\texttt{+ss05})}\hlabel{ss05}
\begin{tabular}[t]{@{}lcc@{}}
\hline
Commande & Base & Variante \\
@@ -500,7 +512,7 @@ Les quatre tables suivantes recensent les autres variantes de style proposées.
\end{minipage}
\par\noindent
\begin{minipage}[t]{0.45\linewidth}\centering
- \captionof{table}{Style=subsetneq (\texttt{+ss06})}\label{ss06}
+ \captionof{table}{Style=subsetneq (\texttt{+ss06})}\hlabel{ss06}
\begin{tabular}[t]{@{}lcc@{}}
\hline
Commande & Base & Variante \\
@@ -513,7 +525,7 @@ Les quatre tables suivantes recensent les autres variantes de style proposées.
\end{tabular}
\end{minipage}\hspace{\fill}
\begin{minipage}[t]{0.5\linewidth}\centering
- \captionof{table}{Style=parallelslant (\texttt{+ss07})}\label{ss07}
+ \captionof{table}{Style=parallelslant (\texttt{+ss07})}\hlabel{ss07}
\begin{tabular}[t]{@{}lcc@{}}
\hline
Commande & Base & Variante \\
@@ -540,7 +552,7 @@ La table~\vref{cv} recense les variantes de glyphes proposées.
\begin{table}[ht]
\centering
\caption{Variantes de glyphes}
- \label{cv}
+ \hlabel{cv}
\begin{tabular}{@{}>{\ttfamily}lccl@{}}
\hline
& Base & Variante & Commande\\
diff --git a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdf b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdf
index 7e74e307fe..8795cc84cb 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 a95fe93dc9..8fea46f8ac 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 04082f75ff..bec81e0070 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 c874d9ebc9..8141fa8cb2 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 17185f8865..c0a39bd7cc 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 021ca063b9..d404da41ef 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 d7530476b9..0c5b50be6a 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 d2de74d8b2..d587fc63d7 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 8066ae6136..67f1329514 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 3d25604b24..7f13960415 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 945d10385b..c0adddfaa1 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 5866731d13..2f9eedcfc7 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 5a4e0a11c7..ca2ef0ffe1 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 a5f5ab9410..a60ba1bae9 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 4edc9c4652..f486883683 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 cf4c18de5b..8ee3ae544d 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 4c98236c84..c325b735e1 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 98e80e1021..ee26b8102b 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 df16f0329b..f44e9c486c 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 43c4a4f0cf..42d8aa36e9 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 ba68320c71..54fd23602b 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 e7d68286ab..c9f86c39eb 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 f3ed871b8f..e7297a33b7 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 0630b74ed2..b182d5f199 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.35}
-\def\filedate{2021-03-14}
+\def\fileversion{0.36}
+\def\filedate{2021-05-21}
\ProvidesPackage{kpfonts-otf}[\filedate\space\fileversion]
% Ensure luatex or xetex engine
@@ -179,6 +179,12 @@
\fi
% Loading Math fonts...
+\newcommand*{\KP@mathcal@Warning}{%
+ \PackageWarning{kpfonts-otf}{Option mathcal is no longer needed:\MessageBreak
+ just use \protect\mathcal{} for "calligraphic" \MessageBreak
+ and \protect\mathscr{} for "script" capitals;\MessageBreak reported
+ }%
+}
\ifkp@math
\ifkp@tight
\thinmuskip=2mu
@@ -187,7 +193,7 @@
\fi
\ifkp@lightmath
\ifkp@calasscr
- \Store@KP@MOption{RawFeature}{+ss01}
+ \KP@mathcal@Warning
\fi
\ifkp@sfmathbb
\Store@KP@MOption{RawFeature}{+ss02}
@@ -208,9 +214,10 @@
\Store@KP@MOption{partial}{upright}
\fi
\expandafter\setmathfont\expandafter[\the\KpMtoks]{KpMath-Light.otf}
+ \setmathfont[range={cal,bfcal},RawFeature=+ss01]{KpMath-Light.otf}
\else
\ifkp@calasscr
- \Store@KP@MOption{RawFeature}{+ss01}
+ \KP@mathcal@Warning
\fi
\ifkp@sfmathbb
\Store@KP@MOption{RawFeature}{+ss02}
@@ -231,6 +238,7 @@
\Store@KP@MOption{partial}{upright}
\fi
\expandafter\setmathfont\expandafter[\the\KpMtoks]{KpMath-Regular.otf}
+ \setmathfont[range={cal,bfcal},RawFeature=+ss01]{KpMath-Regular.otf}
\fi
\fi