summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/kpfonts-otf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-01-30 22:24:48 +0000
committerKarl Berry <karl@freefriends.org>2021-01-30 22:24:48 +0000
commit29298a254e3c429c3a0f4fe147c7b8739f1ce9ca (patch)
treea704134def7b04474898e4b5b6ac698718eb6051 /Master/texmf-dist/tex/latex/kpfonts-otf
parentd09e68dc74991ead62496d79a29131c7464fa8f1 (diff)
kpfonts-otf (30jan21)
git-svn-id: svn://tug.org/texlive/trunk@57563 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/kpfonts-otf')
-rw-r--r--Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty24
1 files changed, 18 insertions, 6 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 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]