From 29298a254e3c429c3a0f4fe147c7b8739f1ce9ca Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 30 Jan 2021 22:24:48 +0000 Subject: kpfonts-otf (30jan21) git-svn-id: svn://tug.org/texlive/trunk@57563 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/kpfonts-otf/kpfonts-otf.sty | 24 ++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex/latex/kpfonts-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] -- cgit v1.2.3