texlive[58435] Master/texmf-dist: kpfonts-otf (16mar21)

commits+karl at tug.org commits+karl at tug.org
Tue Mar 16 23:08:21 CET 2021


Revision: 58435
          http://tug.org/svn/texlive?view=revision&revision=58435
Author:   karl
Date:     2021-03-16 23:08:21 +0100 (Tue, 16 Mar 2021)
Log Message:
-----------
kpfonts-otf (16mar21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx
    trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdf
    trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx
    trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdf
    trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Bold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Light.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Regular.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Sans.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Semibold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Bold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-BoldItalic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Italic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Regular.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Bold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-BoldItalic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Italic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Light.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-LightItalic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Regular.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Semibold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-SemiboldItalic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Bold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-BoldItalic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Italic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Regular.otf
    trunk/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty

Modified: trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx	2021-03-16 22:08:01 UTC (rev 58434)
+++ trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx	2021-03-16 22:08:21 UTC (rev 58435)
@@ -16,6 +16,7 @@
 
 \usepackage[british,french]{babel} % french layout (lists, …)
 \usepackage[english]{varioref}
+
 \usepackage{realscripts}
 \usepackage{microtype}
 \usepackage{hyperref}
@@ -40,7 +41,7 @@
 
 \title{Kp-fonts: OpenType version}
 \author{\href{mailto:daniel.flipo at free.fr}{Daniel \textsc{Flipo}}}
-\newcommand*{\version}{0.34}
+\newcommand*{\version}{0.35}
 
 \begin{document}
 \selectlanguage{british}
@@ -96,7 +97,8 @@
   A style file \file{kpfont-otf.sty} is provided to load Kp-fonts easily.
   It is derived from \file{kpfont.sty} but options differ.
 
-  Please beware that the current version (\version) is \emph{experimental}.
+  Please beware of the \emph{experimental} status of the current
+  version~(\version).
 
   All fonts are covered by OFL licence, style file and documentation
   are under LPPL-1.3 licence.
@@ -218,6 +220,15 @@
 \item[germandbls :] |\SS| prints {\addfontfeatures{StylisticSet=2}\SS} instead
   of {\char"1E9E} (capital \textit{Eszett}), ditto for small/petite caps.
 
+\item[eurosym :] remplaces the Euro character (€) by the official symbol
+  {\addfontfeatures{StylisticSet=3}(€)} (available in regular, italic,
+  bold and  et bolditalic) ; the |\KPeuro| command is also provided to print
+  the official symbol, it accepts an optionnal argument : |\kpeuro[1,50]{}|
+  prints \kpeuro[1,50] (with a nobreak space).
+
+\item[harfbuzz :] switches |Renderer=Harfbuzz| for HBLuaTeX engine;
+  up to version 0.34, this renderer was silently activated but seldom useful.
+
 \end{description}
 
 \subsection{Options for Math fonts \emph{only}}
@@ -342,6 +353,10 @@
 \item[StylisticSet=2 :] |\SS| prints {\addfontfeatures{StylisticSet=2}\SS}
   instead of {\char"1E9E} (capital \textit{Eszett}), ditto for small/petite caps.
 
+\item[StylisticSet=3 :] remplaces the Euro character (€) by the official symbol
+  {\addfontfeatures{StylisticSet=3}(€)} (available in regular, italics,
+  bold and  et bolditalic).
+
 \end{description}
 
 Options may be are chosen for each font, say:
@@ -409,8 +424,7 @@
 
 \vspace{\baselineskip}
 The next four tables present the other Style Variants available:
-\par\noindent
-\begin{minipage}{\linewidth}
+\\[-.5\baselineskip]
   \begin{minipage}[t]{0.45\linewidth}\centering
     \captionof{table}{Style=leqslant (\texttt{+ss04})}\label{ss04}
     \begin{tabular}{@{}lcc@{}}
@@ -446,7 +460,8 @@
       \cmd{nparallelslant}   & $\nparallelslant$   & $\nshortparallelslant$ \\
       \hline
     \end{tabular}
-  \end{minipage}\\[\baselineskip]
+  \end{minipage}
+  \par\noindent
   \begin{minipage}[t]{0.45\linewidth}\centering
     \captionof{table}{Style=subsetneq (\texttt{+ss06})}\label{ss06}
     \begin{tabular}{@{}lcc@{}}
@@ -473,7 +488,6 @@
       \hline
     \end{tabular}
   \end{minipage}
-\end{minipage}
 
 \vspace{\baselineskip}
 Example: switching styles 4 (leqslant) and 6 (subsetneq) can be achieved
@@ -610,7 +624,6 @@
 The full list of Unicode symbols available with Kp-fonts is shown in file
 \file{unimath-kpfonts.pdf}.
 
-\newpage
 \subsection{Wide accents}
 
 \begin{itemize}
@@ -676,7 +689,6 @@
 |\mathversion{|\optit{name}|}|.
 
 
-\newpage
 Example\footnote{Option \opt{CharacterVariant=3} changes
 $\epsilon$ into $\varepsilon$.} :
 \begin{verbatim}

Modified: trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx	2021-03-16 22:08:01 UTC (rev 58434)
+++ trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx	2021-03-16 22:08:21 UTC (rev 58435)
@@ -17,7 +17,8 @@
 
 \usepackage{babel}
 \frenchsetup{og=«, fg=»,%ListItemsAsPar
-            }
+}
+\usepackage[All]{lua-typo}
 \usepackage{realscripts}
 \usepackage{microtype}
 \usepackage{hyperref}
@@ -45,7 +46,7 @@
 
 \title{Kp-fonts version OpenType}
 \author{\href{mailto:daniel.flipo at free.fr}{Daniel \textsc{Flipo}}}
-\newcommand*{\version}{0.34}
+\newcommand*{\version}{0.35}
 
 \begin{document}
 \maketitle
@@ -247,6 +248,16 @@
 \item[germandbls :] |\SS| affiche {\addfontfeatures{StylisticSet=2}\SS} au
   lieu de {\char"1E9E} (\textit{eszett} majuscule), idem en petites capitales.
 
+\item[eurosym :] remplace le caractère Euro (€) par le symbole officiel
+  {\addfontfeatures{StylisticSet=3}(€)}, disponible également en italique,
+  gras et gras italique ; la commande |\kpeuro| produit également ce
+  symbole officiel, elle admet un argument optionnel : |\kpeuro[1,50]{}|
+  imprime \kpeuro[1,50] (espace-mot insécable).
+
+\item[harfbuzz :] active le moteur de rendu |Renderer=Harfbuzz| pour HBLuaTeX ;
+  depuis la version 0.35, il n’est plus activé par défaut
+  (il est rarement nécessaire).
+
 \end{description}
 
 \subsection{Options des polices mathématiques}
@@ -254,7 +265,7 @@
 \begin{description}
 
 \item[lightmath :] les mathématiques sont composées avec les polices
-      « light » ;
+      « light ».
 
 \item[bbsans :] dans tous les cas, la commande |\mathbb| produit du
   sans-serif :
@@ -263,19 +274,19 @@
   $\mathbb{Z}$, à comparer à
   \mathversion{base}
   $\mathbb{C}$, $\mathbb{K}$, $\mathbb{N}$, $\mathbb{Q}$, $\mathbb{R}$,
-  $\mathbb{Z}$ ;
+  $\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}$ ;
+  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
-  française, seules les minuscules romaines restent obliques ;
+  française, seules les minuscules romaines restent obliques.
 
 \item[oldstylenumsmath :] fournit les nombres elzéviriens en mode
-  mathématique ;
+  mathématique.
 
 \item[narrowiints :] fournit des intégrales multiples plus étroites, plus
       « françaises » :
@@ -285,11 +296,11 @@
   \mathversion{base}$\iiint$ et $\displaystyle\iiint$
 
 \item[partialup :] le symbole |\partial| affiche $\symup{\partial}$
-  (droit) au lieu de $\partial$ ;
+  (droit) au lieu de $\partial$.
 
 \item[fancyReIm :] les commandes |\Re| et |\Im| donnent normalement
   $\Re$ et $\Im$, avec cette option elles produisent respectivement $\RE$ et
-  $\IM$ ;
+  $\IM$.
 
 \item[tight :] les espaces horizontaux sont réduits en math (comme
   ceux de \pkg{fourier-otf}).
@@ -333,7 +344,7 @@
 
 Ceux qui veulent utiliser les KP-fonts pour des documents sans maths, peuvent
 évidemment charger uniquement \pkg{fontspec} et faire appel aux commandes
-ci-dessus.
+ci-dessous.
 
 \subsection{Options des polices de texte}
 
@@ -341,30 +352,30 @@
 \begin{description}
 \item[Numbers=Lowercase :] pour avoir les chiffres minuscules ou elzéviriens
   {\addfontfeature{Numbers=Lowercase} 1,2,3} ou
-  \style{Numbers=Lining} (par défaut 1,2,3) ;
+  \style{Numbers=Lining} (par défaut 1,2,3).
 
 \item[SmallCapsFeatures = \{Letters=SmallCaps\} :] pour que la commande
   |\textsc{}| affiche les \textlsc{Grandes} petites capitales à la place des
   \textpsc{Petites} obtenues par défaut
   (option \style{SmallCapsFeatures = \{Letters=PetiteCaps\}}%
-  \footnote{Accolades indispensables à cause du signe \texttt{=} !}) ;
+  \footnote{Accolades indispensables à cause du signe \texttt{=} !}).
 
 \item[Ligatures=TeX :]  (par défaut) |!`|\quad|?`|\quad|--|\quad |---|
-  affichent respectivement\quad !` \quad ?` -- et --- ;
+  affichent respectivement\quad !` \quad ?` -- et ---.
 
-\item[Ligatures=Common :] (par défaut) ligatures automatiques ff ffi ffl fi fl ;
+\item[Ligatures=Common :] (par défaut) ligatures automatiques ff ffi ffl fi fl.
 
 \item[StylisticSet=1] modifie l’aspect des ligatures
-  {\addfontfeature{StylisticSet=1} ffi ffl fi fl} (ff inchangé) ;
+  {\addfontfeature{StylisticSet=1} ffi ffl fi fl} (ff inchangé).
 
 \item[Ligatures=Required :] ajoute les ligatures
-  {\addfontfeature{Ligatures=Required} ft et tt} ;
+  {\addfontfeature{Ligatures=Required} ft et tt}.
 
 \item[Ligatures=Rare :] ajoute les ligatures
-  {\addfontfeature{Ligatures=Rare} ct et st} ;
+  {\addfontfeature{Ligatures=Rare} ct et st}.
 
 \item[Style=Swash :] pour le {\addfontfeature{Style=Swash}Q long également en
-    petites et grandes capitales \textpsc{Que} et \textlsc{Que}} ;
+    petites et grandes capitales \textpsc{Que} et \textlsc{Que}}.
 
 \item[Style=Historic :] pour remplacer systématiquement le « s » rond par un
   {\addfontfeature{Style=Historic}« s »} long, il reste possible de forcer un
@@ -378,6 +389,10 @@
 \item[StylisticSet=2 :] |\SS| affiche {\addfontfeatures{StylisticSet=2}\SS} au
   lieu de {\char"1E9E} (\textit{eszett} majuscule), idem en petites capitales.
 
+\item[StylisticSet=3 :] remplace le caractère Euro (€) par le symbole officiel
+  {\addfontfeatures{StylisticSet=3}(€)}, disponible également en italique,
+  gras et gras italique.
+
 \end{description}
 
 Le choix parmi ces options se fait normalement globalement pour tout le
@@ -445,12 +460,8 @@
   \mathversion{base}$\iiint$.
 \end{description}
 
-\vspace{\baselineskip}\enlargethispage*{\baselineskip}
-Les quatre tables suivantes recensent les autres variantes de style proposées :
-\par\noindent
-\begin{minipage}{\linewidth}
-  \setlength{\parindent}{0pt}
-  \centering
+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}
     \begin{tabular}[t]{@{}lcc@{}}
@@ -486,7 +497,8 @@
       \cmd{nparallelslant}   & $\nparallelslant$   & $\nshortparallelslant$ \\
       \hline
     \end{tabular}
-  \end{minipage}\\
+  \end{minipage}
+\par\noindent
   \begin{minipage}[t]{0.45\linewidth}\centering
     \captionof{table}{Style=subsetneq (\texttt{+ss06})}\label{ss06}
     \begin{tabular}[t]{@{}lcc@{}}
@@ -513,20 +525,18 @@
       \hline
     \end{tabular}
   \end{minipage}
-\end{minipage}
 
-
-\vspace{\baselineskip}
+\vspace{2\baselineskip}
 Exemple : pour activer les styles 4 (leqslant) et 6 (subsetneq) on code\\
 |\setmathfont{KpMath-Regular.otf}[StylisticSet={4,6}]|\quad ou bien\\
 |\setmathfont{KpMath-Regular.otf}[Style={leqslant,subsetneq}]|\\
-ma cette variante plus parlante n’est disponible que si on a chargé
-\pkg{kpfonts-otf.sty} (même avec l’option \opt{symbols}).
+mais cette variante plus parlante n’est disponible que si
+\pkg{kpfonts-otf.sty} a été chargé (éventuellement avec l’option \opt{symbols}).
 %\end{table}
 
-La table~\vref{cv} recense les variantes de glyphes proposées :
+\vspace{\baselineskip}
+La table~\vref{cv} recense les variantes de glyphes proposées.
 
-\vspace{\baselineskip}
 \begin{table}[ht]
   \centering
   \caption{Variantes de glyphes}

Modified: trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md	2021-03-16 22:08:01 UTC (rev 58434)
+++ trunk/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md	2021-03-16 22:08:21 UTC (rev 58435)
@@ -51,50 +51,61 @@
   =  ≠  <  ≤  >  ≥ (all five Math fonts affected, original Type1 too).
 
 * v. 0.32:
-   1) Text fonts:
-   kpfonts-otf.sty corrected: the "light" option didn't work properly.
-   kffonts-otf should now cover all glyphs in TS1 encoding (textcomp.sty).
-   The height of all diacritics has been reviewed and corrected
-   New combining diacritics added : U+0310, U+0323, U+0325, U+0327, U+0328.
-   New glyphs added: U+0110 (Dcroat), U+0111 (dcroat), U+0123 (gcircumflex),
-   U+0126 (Hbar),  U+0127 (hbar), U+0129 (itilde), U+012B (imacron),
-   U+012D (ibreve), U+0135 (jcircumflex), U+0166 (Tbar),  U+0167 (tbar)
-   and their counterparts in Petite Caps and Small Caps.
-   Corrected Petite Caps and Small Caps variant for U+00F0 (eth),
-   U+00FE (thorn), U+0111 (dcroat)  and U+014B (eng).
-   Optional ft and tt ligatures added, see feature "Ligatures=Required".
-   Variants for ligatures fi ffi fl ffl added, see "Alternate=1".
-   (faked) slanted fonts added to match kpfonts T1 version.
+  1. Text fonts:
+  kpfonts-otf.sty corrected: the "light" option didn't work properly.
+  kpfonts-otf should now cover all glyphs in TS1 encoding (textcomp.sty).
+  The height of all diacritics has been reviewed and corrected
+  New combining diacritics added : U+0310, U+0323, U+0325, U+0327, U+0328.
+  New glyphs added: U+0110 (Dcroat), U+0111 (dcroat), U+0123 (gcircumflex),
+  U+0126 (Hbar),  U+0127 (hbar), U+0129 (itilde), U+012B (imacron),
+  U+012D (ibreve), U+0135 (jcircumflex), U+0166 (Tbar),  U+0167 (tbar)
+  and their counterparts in Petite Caps and Small Caps.
+  Corrected Petite Caps and Small Caps variant for U+00F0 (eth),
+  U+00FE (thorn), U+0111 (dcroat)  and U+014B (eng).
+  Optional ft and tt ligatures added, see feature "Ligatures=Required".
+  Variants for ligatures fi ffi fl ffl added, see "Alternate=1".
+  (faked) slanted fonts added to match kpfonts T1 version.
 
-   2) Math fonts:
-   Corrected mismatch between mitl (U+1d459) and ell (U+2113).
-   Slanted versions for \shortparallel and \nshortparallel
-   and for \gtreqless, \lesseqgtr, \gtreqqless, \lesseqqgtr added.
-   Stretchy accents \wideoverbar, \widebreve, \widecheck added.
-   Reduced boldness for superscripts and supersuperscripts.
-   New option "tight" to reduce horizontal spaces in math mode
-   (same settings as \pkg{fourier} and \pkg{fourier-otf}).
+  2. Math fonts:
+  Corrected mismatch between mitl (U+1d459) and ell (U+2113).
+  Slanted versions for \shortparallel and \nshortparallel
+  and for \gtreqless, \lesseqgtr, \gtreqqless, \lesseqqgtr added.
+  Stretchy accents \wideoverbar, \widebreve, \widecheck added.
+  Reduced boldness for superscripts and supersuperscripts.
+  New option "tight" to reduce horizontal spaces in math mode
+  (same settings as \pkg{fourier} and \pkg{fourier-otf}).
 
 * v. 0.33:
-   Roman Text fonts:
-   Added 54 glyphs in Latin-A range (mostly complete now).
-   Math fonts:
-   Fixed inconsistencies in superscripts and supersuperscripts metrics.
+    - Roman Text fonts:
+    Added 54 glyphs in Latin-ExtendedA range (mostly complete now).
+    - Math fonts:
+    Fixed inconsistencies in superscripts and supersuperscripts metrics.
 
 * v. 0.34:
-   Massive glyph cleaning: many spurious control points deleted in glyphs
-   for both Math and Text fonts.
-   Math fonts:
-     metrics (width, italic correction) reviewed;
-     accents ovhook (U+0309), candra (U+0310), vertoverlay (U+202D) added.
-   Text fonts:
-     kernings before and after quoteright improved;
-     German capital Eszet (U+1E9E) added, in Petite and Small caps too,
-     feature "StylisticSet=2" added to get SS instead of capital Eszet;
-     diacritics corrected in KpRoman-LightItalic (some were upright);
-     breaking change: feature "Alternate=1" changed to "StylisticSet=1"
-     as it didn't work with XeTeX.
+  Massive glyph cleaning: many spurious control points deleted in glyphs
+  for both Math and Text fonts.
+    - Text fonts:
+    kernings before and after quoteright improved;
+    German capital Eszet (U+1E9E) added, in Petite and Small caps too,
+    feature "StylisticSet=2" added to get SS instead of capital Eszet;
+    diacritics corrected in KpRoman-LightItalic (some were upright);
+    breaking change: feature "Alternate=1" changed to "StylisticSet=1"
+    as it didn't work with XeTeX.
+    - Math fonts:
+    metrics (width, italic correction) reviewed;
+    accents ovhook (U+0309), candra (U+0310), vertoverlay (U+202D) added.
 
+* v. 0.35:
+    - Text fonts:
+    Added 54 glyphs in Latin-ExtendedA range for KpSans fonts.
+    Euro symbol added in Roman, Sans and Mono, option StyleSet=3 to trigger it.
+    Added missing anchors for "dot below" on P, p, p.pc, p.sc, a.sc.
+    HarfBuzz renderer no longer loaded for HBLuaTeX engine, new option
+    "harfbuzz" to force loading it (kpfonts-otf.sty).
+    - Math fonts:
+    Extensible delimiters corrected in KpMath-Sans.
+    Options frenchstyle, partialup and fancyReIm now work as intended.
+
 ---
 Copyright 2020-2021  Daniel Flipo
 E-mail: daniel (dot) flipo (at) free (dot) fr

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Bold.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Light.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Regular.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Sans.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Semibold.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Bold.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-BoldItalic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Italic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Regular.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Bold.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-BoldItalic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Italic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Light.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-LightItalic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Regular.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Semibold.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-SemiboldItalic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Bold.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-BoldItalic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Italic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Regular.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty	2021-03-16 22:08:01 UTC (rev 58434)
+++ trunk/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty	2021-03-16 22:08:21 UTC (rev 58435)
@@ -1,6 +1,6 @@
 \NeedsTeXFormat{LaTeX2e}[2019-01-01]
-\def\fileversion{0.34}
-\def\filedate{2021-01-30}
+\def\fileversion{0.35}
+\def\filedate{2021-03-14}
 \ProvidesPackage{kpfonts-otf}[\filedate\space\fileversion]
 
 % Ensure luatex or xetex engine
@@ -15,7 +15,9 @@
 \newif\ifkp at lighttext
 \newif\ifkp at largesmallcaps
 \newif\ifkp at altfligs
+\newif\ifkp at eurosym
 \newif\ifkp at germandbls
+\newif\ifkp at harfbuzz
 \newif\ifkp at osn
 \newif\ifkp at os
 \newif\ifkp at vos
@@ -48,6 +50,8 @@
 \DeclareOption{largesmallcaps}    {\kp at largesmallcapstrue}
 \DeclareOption{altfligs}          {\kp at altfligstrue}
 \DeclareOption{germandbls}        {\kp at germandblstrue}
+\DeclareOption{eurosym}           {\kp at eurosymtrue}
+\DeclareOption{harfbuzz}          {\kp at harfbuzztrue}
 % Math options
 \DeclareOption{lightmath}         {\kp at lightmathtrue}
 \DeclareOption{bbsans}            {\kp at sfmathbbtrue}
@@ -63,82 +67,28 @@
                                    \kp at mathfalse}
 \ProcessOptions
 
-% This is adapted from babel to concatenate font features.
+% This is adapted from babel to concatenate (rm & sf) font features.
 \def\KP at addto#1#2{%
       {\toks@\expandafter{#1,#2}%
        \xdef#1{\the\toks@}}%
 }
-\def\KP at options{Ligatures=TeX}
+\def\KP at Toptions{Ligatures=TeX}
+% Concatenation of Math options.
+\newtoks\KpMtoks
+\newcommand*{\Store at KP@MOption}[2]{%
+  \KpMtoks=\expandafter{\the\KpMtoks #1={#2},}}
 
-\ifkp at symbols  % true unless "nomath"
-  \RequirePackage{unicode-math}[2019/01/01]
-  % \D close integral
-  \ifkp at Dcommand
-    \newcommand*{\D}[1]{\mathclose{\,\symup{d}}#1}%
-  \fi
-\fi
-% Loading Math fonts...
-\ifkp at math
-  \ifkp at tight
-    \thinmuskip=2mu
-    \medmuskip=2.5mu plus 1mu minus 2.5mu
-    \thickmuskip=3.5mu plus 2.5mu
-  \fi
-  \ifkp at lightmath
-    \ifkp at calasscr
-      \defaultfontfeatures+[KpMath-Light.otf]{RawFeature=+ss01}
-    \fi
-    \ifkp at sfmathbb
-      \defaultfontfeatures+[KpMath-Light.otf]{RawFeature=+ss02}
-    \fi
-    \ifkp at narrowiints
-      \defaultfontfeatures+[KpMath-Light.otf]{RawFeature=+ss03}
-    \fi
-    \ifkp at frenchstyle
-      \defaultfontfeatures+[KpMath-Light.otf]{math-style=french}
-    \fi
-    \ifkp at osnm
-      \defaultfontfeatures+[KpMath-Light.otf]{Numbers=Lowercase}
-    \fi
-    \ifkp at oldReIm
-      \defaultfontfeatures+[KpMath-Light.otf]{RawFeature=+cv03}
-    \fi
-    \ifkp at partialup
-      \defaultfontfeatures+[KpMath-Light.otf]{partial=upright}
-    \fi
-    \setmathfont{KpMath-Light.otf}
-  \else
-    \ifkp at calasscr
-      \defaultfontfeatures+[KpMath-Regular.otf]{RawFeature=+ss01}
-    \fi
-    \ifkp at sfmathbb
-      \defaultfontfeatures+[KpMath-Regular.otf]{RawFeature=+ss02}
-    \fi
-    \ifkp at narrowiints
-      \defaultfontfeatures+[KpMath-Regular.otf]{RawFeature=+ss03}
-    \fi
-    \ifkp at frenchstyle
-      \defaultfontfeatures+[KpMath-Regular.otf]{math-style=french}
-    \fi
-    \ifkp at osnm
-      \defaultfontfeatures+[KpMath-Regular.otf]{Numbers=Lowercase}
-    \fi
-    \ifkp at oldReIm
-      \defaultfontfeatures+[KpMath-Regular.otf]{RawFeature=+cv03}
-    \fi
-    \ifkp at partialup
-      \defaultfontfeatures+[KpMath-Regular.otf]{partial=upright}
-    \fi
-    \setmathfont{KpMath-Regular.otf}
-  \fi
-\fi
-
 % Loading Text fonts...
 \ifkp at text
   \RequirePackage{fontspec}[2019/01/01]
-  % This needed with LuaTeX to typeset composed chars not ready-made
-  % in the KPfonts (f.i. ċṅṁ plus āēīōūẽĕ in sans-serif).
-  \ifluahbtex\defaultfontfeatures{Renderer=HarfBuzz}\fi
+  % Euro symbol
+  \newcommand*{\kp at euro}{\char"E990\relax}
+  \newcommand*{\kpeuro}[1][]{\def\@tmp{#1}%
+    \ifx\@tmp\@empty \kp at euro \else #1~\kp at euro\fi
+  }
+  % Option harfbuzz is needed with HBLuaTeX to typeset composed chars
+  % not ready-made in the KPfonts (f.i. ċṅṁ, ạẹịụọṃ,…).
+  \ifluahbtex\ifkp at harfbuzz\defaultfontfeatures+{Renderer=HarfBuzz}\fi\fi
   % TS1 accent in Private Area
   \DeclareUnicodeAccent{\newtie}{TU}{"E9F0}
   % Accents not in tuenc.def
@@ -149,7 +99,7 @@
     \ifkp at tt
       \defaultfontfeatures+[\ttfamily]{Numbers=Lowercase}
     \fi
-    \KP at addto\KP at options{Numbers=Lowercase}
+    \KP at addto\KP at Toptions{Numbers=Lowercase}
   \fi
   %% Oldstyle
   \ifkp at os
@@ -156,7 +106,7 @@
     \ifkp at tt
       \defaultfontfeatures+[\ttfamily]{Style=Swash}
     \fi
-    \KP at addto\KP at options{Style=Swash,Ligatures=Rare}
+    \KP at addto\KP at Toptions{Style=Swash,Ligatures=Rare}
   \fi
   %% Veryoldstyle
   \ifkp at vos
@@ -163,44 +113,51 @@
     \ifkp at tt
       \defaultfontfeatures+[\ttfamily]{Style=Historic, Contextuals=Alternate}
     \fi
-    \KP at addto\KP at options{Style=Historic, Ligatures=Historic,
+    \KP at addto\KP at Toptions{Style=Historic, Ligatures=Historic,
                          Contextuals=Alternate}
   \fi
   % Smallcaps
   \ifkp at largesmallcaps
-    \KP at addto\KP at options{SmallCapsFeatures = {Letters=SmallCaps}}
+    \KP at addto\KP at Toptions{SmallCapsFeatures = {Letters=SmallCaps}}
   \else
-    \KP at addto\KP at options{SmallCapsFeatures = {Letters=PetiteCaps}}
+    \KP at addto\KP at Toptions{SmallCapsFeatures = {Letters=PetiteCaps}}
   \fi
   % Altfligs
   \ifkp at altfligs
-    \KP at addto\KP at options{StylisticSet=1}
+    \KP at addto\KP at Toptions{StylisticSet=1}
   \fi
   % Germandbls
   \ifkp at germandbls
-    \KP at addto\KP at options{StylisticSet=2}
+    \KP at addto\KP at Toptions{StylisticSet=2}
   \fi
+  % Euro symbol
+  \ifkp at eurosym
+    \ifkp at tt
+      \defaultfontfeatures+[\ttfamily]{StylisticSet=3}
+    \fi
+    \KP at addto\KP at Toptions{StylisticSet=3}
+  \fi
   % Text Serif fonts:
   \ifkp at lighttext
-    \setmainfont{KpLight}[\KP at options]
-    \newfontface\Semibold{KpRoman-Regular.otf}[\KP at options]
-    \newfontface\SemiboldItalic{KpRoman-Italic.otf}[\KP at options]
-    \newfontface\Extrabold{KpRoman-Bold.otf}[\KP at options]
-    \newfontface\ExtraboldItalic{KpRoman-BoldItalic.otf}[\KP at options]
+    \setmainfont{KpLight}[\KP at Toptions]
+    \newfontface\Semibold{KpRoman-Regular.otf}[\KP at Toptions]
+    \newfontface\SemiboldItalic{KpRoman-Italic.otf}[\KP at Toptions]
+    \newfontface\Extrabold{KpRoman-Bold.otf}[\KP at Toptions]
+    \newfontface\ExtraboldItalic{KpRoman-BoldItalic.otf}[\KP at Toptions]
     \DeclareTextFontCommand{\textsb}{\Semibold}
     \DeclareTextFontCommand{\texteb}{\Extrabold}
   \else
-    \setmainfont{KpRoman}[\KP at options]
-    \newfontface\Light{KpRoman-Light.otf}[\KP at options]
-    \newfontface\LightItalic {KpRoman-LightItalic.otf}[\KP at options]
-    \newfontface\Semibold{KpRoman-Semibold.otf}[\KP at options]
-    \newfontface\SemiboldItalic{KpRoman-SemiboldItalic.otf}[\KP at options]
+    \setmainfont{KpRoman}[\KP at Toptions]
+    \newfontface\Light{KpRoman-Light.otf}[\KP at Toptions]
+    \newfontface\LightItalic {KpRoman-LightItalic.otf}[\KP at Toptions]
+    \newfontface\Semibold{KpRoman-Semibold.otf}[\KP at Toptions]
+    \newfontface\SemiboldItalic{KpRoman-SemiboldItalic.otf}[\KP at Toptions]
     \DeclareTextFontCommand{\textsb}{\Semibold}
     \DeclareTextFontCommand{\textlt}{\Light}
   \fi
   % Text Sans Serif fonts:
   \ifkp at sf
-    \setsansfont{KpSans}[\KP at options]
+    \setsansfont{KpSans}[\KP at Toptions]
   \fi
   % Text Typewriter fonts:
   \ifkp at tt
@@ -213,8 +170,72 @@
   \DeclareRobustCommand\textpsc[1]{{\pscshape #1}}
 \fi
 
+\ifkp at symbols  % true unless "nomath"
+  \RequirePackage{unicode-math}[2019/01/01]
+  % \D close integral
+  \ifkp at Dcommand
+    \newcommand*{\D}[1]{\mathclose{\,\symup{d}}#1}%
+  \fi
+\fi
+
+% Loading Math fonts...
+\ifkp at math
+  \ifkp at tight
+    \thinmuskip=2mu
+    \medmuskip=2.5mu plus 1mu minus 2.5mu
+    \thickmuskip=3.5mu plus 2.5mu
+  \fi
+  \ifkp at lightmath
+    \ifkp at calasscr
+      \Store at KP@MOption{RawFeature}{+ss01}
+    \fi
+    \ifkp at sfmathbb
+      \Store at KP@MOption{RawFeature}{+ss02}
+    \fi
+    \ifkp at narrowiints
+      \Store at KP@MOption{RawFeature}{+ss03}
+    \fi
+    \ifkp at osnm
+      \Store at KP@MOption{Numbers}{Lowercase}
+    \fi
+    \ifkp at oldReIm
+      \Store at KP@MOption{RawFeature}{+cv00}
+    \fi
+    \ifkp at frenchstyle
+      \Store at KP@MOption{math-style}{french}
+    \fi
+    \ifkp at partialup
+      \Store at KP@MOption{partial}{upright}
+    \fi
+    \expandafter\setmathfont\expandafter[\the\KpMtoks]{KpMath-Light.otf}
+  \else
+    \ifkp at calasscr
+      \Store at KP@MOption{RawFeature}{+ss01}
+    \fi
+    \ifkp at sfmathbb
+      \Store at KP@MOption{RawFeature}{+ss02}
+    \fi
+    \ifkp at narrowiints
+      \Store at KP@MOption{RawFeature}{+ss03}
+    \fi
+    \ifkp at osnm
+      \Store at KP@MOption{Numbers}{Lowercase}
+    \fi
+    \ifkp at oldReIm
+      \Store at KP@MOption{RawFeature}{+cv00}
+    \fi
+    \ifkp at frenchstyle
+      \Store at KP@MOption{math-style}{french}
+    \fi
+    \ifkp at partialup
+      \Store at KP@MOption{partial}{upright}
+    \fi
+    \expandafter\setmathfont\expandafter[\the\KpMtoks]{KpMath-Regular.otf}
+  \fi
+\fi
+
 \ifkp at symbols
-  % Style aliases
+  % Style aliases (math only)
   \newopentypefeature{Style}{mathcal}{ss01}
   \newopentypefeature{Style}{bbsans}{ss02}
   \newopentypefeature{Style}{narrowiints}{ss03}



More information about the tex-live-commits mailing list.