diff options
author | Karl Berry <karl@freefriends.org> | 2021-09-29 20:07:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-09-29 20:07:51 +0000 |
commit | bb34b7bd740778cf80d79042f1dcaa867fbf782d (patch) | |
tree | 6b58f02cdbe28d998c11d9ef99c0aa79ee58360a /Master/texmf-dist/tex | |
parent | 1880b9928a9ca17dbf28c8f5192a39477c28ba28 (diff) |
kpfonts-otf (29sep21)
git-svn-id: svn://tug.org/texlive/trunk@60653 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty | 16 |
1 files changed, 12 insertions, 4 deletions
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 434ba2bd632..62520bc54d7 100644 --- a/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty +++ b/Master/texmf-dist/tex/latex/kpfonts-otf/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 |