summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty26
1 files changed, 21 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty b/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty
index 5e9d673ff0e..e259070f14a 100644
--- a/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty
+++ b/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty
@@ -1,4 +1,4 @@
-%% $Id: libertinus-otf.sty 1166 2020-04-25 17:58:36Z herbert $
+%% $Id: libertinus-otf.sty 710 2023-04-24 12:05:58Z herbert $
%%
%% This file is distributed under the terms of the LaTeX Project Public
%% License from CTAN archives in directory macros/latex/base/lppl.txt.
@@ -8,11 +8,23 @@
% Copyright 2020 Herbert Voss hvoss@tug.org
%
\ProvidesPackage{libertinus-otf}[%
- 2021/07/23 v. 0.29 (Herbert Voss) Supports libertinus fonts for lualatex and xelatex.]
+ 2023/04/24 v. 0.30 (Herbert Voss) Supports libertinus fonts for lualatex and xelatex.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
%\RequirePackage[no-math]{fontspec}
+\ifluatex
+ \directlua {
+ fonts.handlers.otf.addfeature {
+ name = "hv-kern",
+ type = "kern",
+ data = {
+ ["T"] = { ["i"] = -80 },
+ },
+ }
+ }
+\fi
+
\newif\iflibertinus@mono \libertinus@monotrue
\newif\iflibertinus@nomath \libertinus@nomathfalse
\newif\iflibertinus@lining \libertinus@liningtrue
@@ -52,8 +64,9 @@
\DeclareOptionX{ScaleTT}{\renewcommand*{\libertinusTT@scale}{#1}}
\DeclareOptionX{StretchTT}{\renewcommand*{\libertinusTT@stretch}{#1}}
-\def\libertinus@defaultfeatures{}
-\DeclareOptionX{defaultfeatures}{\def\libertinus@defaultfeatures{#1}}
+\def\libertinus@defaultfeatures{RawFeature={+hv-kern}}
+\DeclareOptionX{defaultfeatures}{\edef\libertinus@defaultfeatures{\libertinus@defaultfeatures,#1}}
+\DeclareOptionX*{\PassOptionsToPackage{\CurrentOption}{fontspec}}
\ProcessOptionsX\relax
@@ -431,9 +444,11 @@
\ifluatex
\newfontface\LibertinusKeyboard{LibertinusKeyboard-Regular.otf}[RawFeature=+liga]
+ \newfontface\BiolinumKeyboard{LinBiolinum_K.otf}[RawFeature=+liga]
% \hyphenchar\LibertinusKeyboard=-1
\else
\font\LibertinusKeyboard="[LibertinusKeyboard-Regular.otf]"
+ \font\BiolinumKeyboard="[LinBiolinum_K.otf]"
\fi
\newfontfamily\LibertinusDisplay{LibertinusSerifDisplay-Regular.otf}
\newfontfamily\Libertinusinitials{LibertinusSerifInitials-Regular.otf}
@@ -463,10 +478,11 @@
\let\LKeySpace\LKeyLeer
\DeclareRobustCommand*\LKeyEsc{\BiolinumKeyGlyph{Esc}}
\DeclareRobustCommand*\LKeyEnde{\BiolinumKeyGlyph{Ende}}
-%\DeclareRobustCommand*\LKeyTux{\BiolinumKeyGlyph{Tux}}
+\DeclareRobustCommand*\LKeyTux{\biolinumKeyGlyph{"E00E}}
\DeclareRobustCommand*\LKeyWin{\BiolinumKeyGlyph{Windows}}
\DeclareRobustCommand*\LKeyMenu{\biolinumKeyGlyph{"E104}}
\DeclareRobustCommand*\LKeyCtrl{\BiolinumKeyGlyph{Ctrl}}
+\DeclareRobustCommand*\LKeyCommand{\biolinumKeyGlyph{"2318}}
\DeclareRobustCommand*\LKeyOptionKey{\BiolinumKeyGlyph{Fn}}
\DeclareRobustCommand*\LKeyBack{\BiolinumKeyGlyph{Back}}
\DeclareRobustCommand*\LKeyUp{\biolinumKeyGlyph{"2191}}