diff options
author | Karl Berry <karl@freefriends.org> | 2021-01-30 22:24:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-01-30 22:24:48 +0000 |
commit | 29298a254e3c429c3a0f4fe147c7b8739f1ce9ca (patch) | |
tree | a704134def7b04474898e4b5b6ac698718eb6051 | |
parent | d09e68dc74991ead62496d79a29131c7464fa8f1 (diff) |
kpfonts-otf (30jan21)
git-svn-id: svn://tug.org/texlive/trunk@57563 c570f23f-e606-0410-a88d-b1316a301751
29 files changed, 70 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx index 50327f0ad3d..fac99bd7ea2 100644 --- a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx +++ b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx @@ -40,7 +40,7 @@ \title{Kp-fonts: OpenType version} \author{\href{mailto:daniel.flipo@free.fr}{Daniel \textsc{Flipo}}} -\newcommand*{\version}{0.32} +\newcommand*{\version}{0.34} \begin{document} \selectlanguage{british} @@ -83,7 +83,6 @@ |\mathbb{ABC}| prints either \mathversion{full}$\mathbb{ABC}$ (option |[Style=bbsans]|) or \mathversion{base} $\mathbb{ABC}$ (default). - %%% \mathcal = \mathscr (pas de diff. même pour STIX2Math) Commands |\mathcal{ABC}| and |\mathscr{ABC}| print either $\mathscr{ABC}$ (default) or \mathversion{full}$\mathscr{ABC}$ with option |[Style=mathcal]|, @@ -212,6 +211,13 @@ and a bunch of Kp-fonts specifics symbols. \item[largesmallcaps:] prints larger \textlsc{Small Caps} than the default ones (\textsc{Petites Caps}). +\item[altfligs :] prints alternative shapes for ligatures + {\addfontfeatures{StylisticSet=1}fi, fl, ffi, ffl} + instead of fi, fl, ffi, ffl. + +\item[germandbls :] |\SS| prints {\addfontfeatures{StylisticSet=2}\SS} instead + of {\char"1E9E} (capital \textit{Eszett}), ditto for small/petite caps. + \end{description} \subsection{Options for Math fonts \emph{only}} @@ -230,7 +236,6 @@ and a bunch of Kp-fonts specifics symbols. $\mathbb{Z}$ (default). \item[mathcal:] forces commands |\mathcal| and |\mathscr| to print - %%% Even with STIX2Math \mathcal and \mathscr print the same!!! BUG? \mathversion{full}$\mathcal{A,B,C,D}$ % $\mathscr{ABCD}$ instead of \mathversion{base} $\mathcal{A,B,C,D}$ (default). @@ -312,8 +317,8 @@ Here are the options available for Text Kp-fonts: \item[Ligatures=Common] (default) automatic ligatures ff ffi ffl fi fl. -\item[Alternate=1] provides an alternative for glyphs - {\addfontfeature{Alternate=1} ffi ffl fi fl} (ff is unchanged). +\item[StylisticSet=1] provides an alternative for glyphs + {\addfontfeature{StylisticSet=1} ffi ffl fi fl} (ff is unchanged). \item[Ligatures=Required :] adds {\addfontfeature{Ligatures=Required} ft et tt} ligatures. @@ -333,6 +338,10 @@ Here are the options available for Text Kp-fonts: \item[Ligatures=Historic] switches specific ligatures for the long {\addfontfeature{Style=Historic}s}: {\addfontfeature{Style=Historic,Ligatures=Historic} si, sl, st}. + +\item[StylisticSet=2 :] |\SS| prints {\addfontfeatures{StylisticSet=2}\SS} + instead of {\char"1E9E} (capital \textit{Eszett}), ditto for small/petite caps. + \end{description} Options may be are chosen for each font, say: diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdf b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdf Binary files differindex 403512a9813..d161984d42b 100644 --- a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdf +++ b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdf diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx index faf90978927..a7cebe36caf 100644 --- a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx +++ b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx @@ -45,7 +45,7 @@ \title{Kp-fonts version OpenType} \author{\href{mailto:daniel.flipo@free.fr}{Daniel \textsc{Flipo}}} -\newcommand*{\version}{0.32} +\newcommand*{\version}{0.34} \begin{document} \maketitle @@ -88,7 +88,6 @@ la commande |\mathbb{ABC}| affiche au choix \mathversion{full}$\mathbb{ABC}$ (option |Style=bbsans|) ou \mathversion{base} $\mathbb{ABC}$ par défaut, - %%% \mathcal = \mathscr (pas de diff. même pour STIX2Math) les commandes |\mathcal{ABC}| et |\mathscr{ABC}| affichent $\mathscr{ABC}$ par défaut ou \mathversion{full}$\mathscr{ABC}$ avec l’option |Style=mathcal|, @@ -241,6 +240,13 @@ Notez que ces options n'affectent que les polices de texte. \item[largesmallcaps :] produit des petites capitales plus \textlsc{Grandes} que par les \textsc{Petites} obtenues par défaut. +\item[altfligs :] affiche des variantes des ligatures + {\addfontfeatures{StylisticSet=1}fi, fl, ffi, ffl} + au lieu de fi, fl, ffi, ffl. + +\item[germandbls :] |\SS| affiche {\addfontfeatures{StylisticSet=2}\SS} au + lieu de {\char"1E9E} (\textit{eszett} majuscule), idem en petites capitales. + \end{description} \subsection{Options des polices mathématiques} @@ -261,7 +267,6 @@ Notez que ces options n'affectent que les polices de texte. \item[mathcal :] cette option modifie l’effet des commandes |\mathcal| et |\mathscr|, elles produisent toutes les deux - %%% Même avec STIX2Math, je ne peux pas avoir les deux !!! BUG ? \mathversion{full}$\mathcal{ABCD}$ % $\mathscr{ABCD}$ alors que par défaut \mathversion{base} on a $\mathcal{ABCD}$ ; @@ -349,8 +354,8 @@ Pour les polices de texte de Kp-fonts les options suivantes sont proposées : \item[Ligatures=Common :] (par défaut) ligatures automatiques ff ffi ffl fi fl ; -\item[Alternate=1] modifie l’aspect des ligatures - {\addfontfeature{Alternate=1} ffi ffl fi fl} (ff inchangé) ; +\item[StylisticSet=1] modifie l’aspect des ligatures + {\addfontfeature{StylisticSet=1} ffi ffl fi fl} (ff inchangé) ; \item[Ligatures=Required :] ajoute les ligatures {\addfontfeature{Ligatures=Required} ft et tt} ; @@ -369,6 +374,10 @@ Pour les polices de texte de Kp-fonts les options suivantes sont proposées : \item[Ligatures=Historic :] active les ligatures spécifiques au {\addfontfeature{Style=Historic,Ligatures=Historic}« s » long si, sl, st}. + +\item[StylisticSet=2 :] |\SS| affiche {\addfontfeatures{StylisticSet=2}\SS} au + lieu de {\char"1E9E} (\textit{eszett} majuscule), idem en petites capitales. + \end{description} Le choix parmi ces options se fait normalement globalement pour tout le diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdf b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdf Binary files differindex e8700d78d52..ecdc8f17e34 100644 --- a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdf +++ b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdf diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md b/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md index 8507ed6fe1d..331171afac7 100644 --- a/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md +++ b/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md @@ -6,11 +6,11 @@ kpfonts-otf package `kpfonts-otf’ is meant as a replacement, for LuaLaTeX and XeLaTeX users, of Christophe Caignaert’s `kpfonts’ package. Christophe’s Type1 fonts have been converted to OpenType using fontforge and Adobe's AFDKO bundle. -The package is still experimental, bug reports and suggestions are welcome. +The package is still experimental, bug reports and suggestions are welcome. ## Contents -* the `font/` directory holds 23 OpenType fonts (16 for text and 5 for math); +* the `font/` directory holds 21 OpenType fonts (16 for text and 5 for math); * the `tex/` directory holds the style file kpfonts-otf.sty and fontspec configuration files; * the `doc/` directory holds documentation in English and French and @@ -75,6 +75,26 @@ Either version 1.3 or, at your option, any later version. 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. + +* 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. + --- -Copyright 2020- Daniel Flipo +Copyright 2020-2021 Daniel Flipo E-mail: daniel (dot) flipo (at) free (dot) fr diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/unimath-kpfonts.ltx b/Master/texmf-dist/doc/fonts/kpfonts-otf/unimath-kpfonts.ltx index bf82a601535..33761129b6a 100644 --- a/Master/texmf-dist/doc/fonts/kpfonts-otf/unimath-kpfonts.ltx +++ b/Master/texmf-dist/doc/fonts/kpfonts-otf/unimath-kpfonts.ltx @@ -54,7 +54,7 @@ \defmathfont{lm}{latinmodern-math.otf}{CC6666}{LM} %\defmathfont{xits}{XITSMath-Regular.otf}{6666CC}{X} -\defmathfont{stix}{STIX2Math.otf}{66CC66}{S} +\defmathfont{stix}{STIXTwoMath-Regular.otf}{66CC66}{S} \defmathfont{erewhon}{Erewhon-Math.otf}{AA6666}{E} \defmathfont{kpfonts}{KpMath-Regular.otf}{AA66CC}{K} %\defmathfont{kpfonts}{KpMath-Light.otf}{AA66CC}{K} diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/unimath-kpfonts.pdf b/Master/texmf-dist/doc/fonts/kpfonts-otf/unimath-kpfonts.pdf Binary files differindex dbea25a6c72..a95fe93dc99 100644 --- a/Master/texmf-dist/doc/fonts/kpfonts-otf/unimath-kpfonts.pdf +++ b/Master/texmf-dist/doc/fonts/kpfonts-otf/unimath-kpfonts.pdf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Bold.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Bold.otf Binary files differindex b591945bd5f..8b38cf5de8d 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Bold.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Bold.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Light.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Light.otf Binary files differindex c2473a28503..394f6f3e08c 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Light.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Light.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Regular.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Regular.otf Binary files differindex c8838ff2d66..f03cfc5dbb7 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Regular.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Regular.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Sans.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Sans.otf Binary files differindex 4441bc6fb95..0016386cc79 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Sans.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Sans.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Semibold.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Semibold.otf Binary files differindex 34eb8a98792..68c1442f9b7 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Semibold.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Semibold.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Bold.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Bold.otf Binary files differindex 13d211e3891..69e8ed06780 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Bold.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Bold.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-BoldItalic.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-BoldItalic.otf Binary files differindex ec1ee937e6b..ccd0b95cf25 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-BoldItalic.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-BoldItalic.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Italic.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Italic.otf Binary files differindex fe706f7d1bc..4a651f9cac6 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Italic.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Italic.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Regular.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Regular.otf Binary files differindex d5a0babceba..2b4b0b9e0e7 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Regular.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Regular.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Bold.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Bold.otf Binary files differindex f97f218f3ca..e1dc647b965 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Bold.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Bold.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-BoldItalic.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-BoldItalic.otf Binary files differindex b1651325f06..7e11f79dab7 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-BoldItalic.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-BoldItalic.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Italic.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Italic.otf Binary files differindex 990bcea0cd2..f4d990f7570 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Italic.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Italic.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Light.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Light.otf Binary files differindex a59f5df343f..21e6b5c58d7 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Light.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Light.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-LightItalic.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-LightItalic.otf Binary files differindex e30a7e0e36f..7ee8a704ca7 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-LightItalic.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-LightItalic.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Regular.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Regular.otf Binary files differindex ac0e2b5bcc8..26589214042 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Regular.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Regular.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Semibold.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Semibold.otf Binary files differindex ed6103ddfee..789c686815d 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Semibold.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Semibold.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-SemiboldItalic.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-SemiboldItalic.otf Binary files differindex 81fb9946a20..f0f1e4bd334 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-SemiboldItalic.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-SemiboldItalic.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Bold.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Bold.otf Binary files differindex 0312cb23f10..3f09e0364e0 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Bold.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Bold.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-BoldItalic.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-BoldItalic.otf Binary files differindex 14751f9b477..991aeff2faf 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-BoldItalic.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-BoldItalic.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Italic.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Italic.otf Binary files differindex 4ba797c0568..fdb2493baa4 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Italic.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Italic.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Regular.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Regular.otf Binary files differindex 2e047662b6b..f807a6e18ec 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Regular.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Regular.otf diff --git a/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty b/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty index 74e8ef19f2d..1975e7c660d 100644 --- a/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty +++ b/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty @@ -1,10 +1,10 @@ -\NeedsTeXFormat{LaTeX2e}[2019/01/01] -\def\fileversion{0.32} -\def\filedate{2020/11/18} +\NeedsTeXFormat{LaTeX2e}[2019-01-01] +\def\fileversion{0.34} +\def\filedate{2021-01-30} \ProvidesPackage{kpfonts-otf}[\filedate\space\fileversion] % Ensure luatex or xetex engine -\RequirePackage{iftex}[2019/10/24] +\RequirePackage{iftex}[2019-10-24] \RequireTUTeX % \newif\ifkp@math \kp@mathtrue @@ -14,6 +14,8 @@ % \newif\ifkp@lighttext \newif\ifkp@largesmallcaps +\newif\ifkp@altfligs +\newif\ifkp@germandbls \newif\ifkp@osn \newif\ifkp@os \newif\ifkp@vos @@ -44,6 +46,8 @@ \DeclareOption{oldstyle} {\kp@ostrue\kp@osntrue\kp@Qtailtrue} \DeclareOption{veryoldstyle} {\kp@vostrue\kp@osntrue\kp@Qtailtrue} \DeclareOption{largesmallcaps} {\kp@largesmallcapstrue} +\DeclareOption{altfligs} {\kp@altfligstrue} +\DeclareOption{germandbls} {\kp@germandblstrue} % Math options \DeclareOption{lightmath} {\kp@lightmathtrue} \DeclareOption{bbsans} {\kp@sfmathbbtrue} @@ -132,8 +136,8 @@ % Loading Text fonts... \ifkp@text \RequirePackage{fontspec}[2019/01/01] - % This needed with LuaTeX to typeset some composed chars like - % āēīōū ẽ ĕ ċṅṁ etc. not ready-made in the KPfonts… + % 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 % TS1 accent in Private Area \DeclareUnicodeAccent{\newtie}{TU}{"E9F0} @@ -168,6 +172,14 @@ \else \KP@addto\KP@options{SmallCapsFeatures = {Letters=PetiteCaps}} \fi + % Altfligs + \ifkp@altfligs + \KP@addto\KP@options{StylisticSet=1} + \fi + % Germandbls + \ifkp@germandbls + \KP@addto\KP@options{StylisticSet=2} + \fi % Text Serif fonts: \ifkp@lighttext \setmainfont{KpLight}[\KP@options] |