summaryrefslogtreecommitdiff
path: root/fonts/libertinus-otf/latex/libertinus-otf.sty
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/libertinus-otf/latex/libertinus-otf.sty')
-rw-r--r--fonts/libertinus-otf/latex/libertinus-otf.sty40
1 files changed, 37 insertions, 3 deletions
diff --git a/fonts/libertinus-otf/latex/libertinus-otf.sty b/fonts/libertinus-otf/latex/libertinus-otf.sty
index ea18894398..bd82cbda3d 100644
--- a/fonts/libertinus-otf/latex/libertinus-otf.sty
+++ b/fonts/libertinus-otf/latex/libertinus-otf.sty
@@ -1,4 +1,4 @@
-%% $Id: libertinus-otf.sty 1086 2019-09-20 13:39:09Z herbert $
+%% $Id: libertinus-otf.sty 1099 2019-10-15 13:41:36Z 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,7 +8,7 @@
% Copyright 2019 Herbert Voss hvoss@tug.org and Bob Tennent rdt@cs.queensu.ca
%
\ProvidesPackage{libertinus-otf}[%
- 2019/09/20 v. 0.20 (Herbert Voss and Bob Tennent) Supports libertinus fonts for lualatex and xelatex.]
+ 2019/10/15 v. 0.21 (Herbert Voss and Bob Tennent) Supports libertinus fonts for lualatex and xelatex.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
%\RequirePackage[no-math]{fontspec}
@@ -87,6 +87,8 @@
Scale = \libertinusRM@scale ,
UprightFont = *-Regular,
ItalicFont = *-Italic,
+ SlantedFont = *-Regular,
+ SlantedFeatures= {FakeSlant=0.2},
BoldFont = *-\libertinus@boldstyle,
BoldItalicFont = *-\libertinus@boldstyle Italic,
SmallCapsFont = *-Regular,
@@ -100,6 +102,8 @@
Scale = \libertinusRM@scale,
UprightFont = *-Regular,
ItalicFont = *-Italic,
+ SlantedFont = *-Regular,
+ SlantedFeatures= {FakeSlant=0.2},
BoldFont = *-Semibold,
BoldItalicFont = *-SemiboldItalic,
SmallCapsFont = *-Regular,
@@ -113,6 +117,8 @@
Scale = \libertinusRM@scale ,
UprightFont = *-Regular,
ItalicFont = *-Italic,
+ SlantedFont = *-Regular,
+ SlantedFeatures= {FakeSlant=0.2},
BoldFont = *-\libertinus@boldstyle,
BoldItalicFont = *-\libertinus@boldstyle Italic,
SmallCapsFont = *-Regular,
@@ -126,6 +132,8 @@
Scale = \libertinusRM@scale ,
UprightFont = *-Regular,
ItalicFont = *-Italic,
+ SlantedFont = *-Regular,
+ SlantedFeatures= {FakeSlant=0.2},
BoldFont = *-\libertinus@boldstyle,
BoldItalicFont = *-\libertinus@boldstyle Italic,
SmallCapsFont = *-Regular,
@@ -140,6 +148,8 @@
Scale = \libertinusSF@scale ,
UprightFont = *-Regular,
ItalicFont = *-Italic,
+ SlantedFont = *-Regular,
+ SlantedFeatures= {FakeSlant=0.2},
BoldFont = *-Bold,
BoldItalicFont = *-Italic,
BoldItalicFeatures = {RawFeature={embolden=3}},
@@ -153,6 +163,8 @@
Scale = \libertinusSF@scale ,
UprightFont = *-Regular,
ItalicFont = *-Italic,
+ SlantedFont = *-Regular,
+ SlantedFeatures= {FakeSlant=0.2},
BoldFont = *-Bold,
BoldItalicFont = *-Italic,
BoldItalicFeatures = {RawFeature={embolden=3}},
@@ -184,6 +196,8 @@
UprightFont = *-Regular,
ItalicFont = *-Regular,
ItalicFeatures = {FakeSlant=0.2},
+ SlantedFont = *-Regular,
+ SlantedFeatures= {FakeSlant=0.2},
BoldFont = *-Regular,
BoldFeatures = {RawFeature={embolden=3}},
BoldItalicFont = *-Regular,
@@ -198,7 +212,8 @@
RawFeature = {\libertinus@figurealign,\libertinus@figurestyle},
Scale = \libertinusRM@scale ,
% UprightFont = * Regular,
-% ItalicFont = * Ialic,
+ SlantedFont = * Regular,
+ SlantedFeatures= {FakeSlant=0.2},
% BoldFont = * Bold, % \libertinus@boldstyle,
% BoldItalicFont = * Bold Italic, %-\libertinus@boldstyle italic,
SmallCapsFont = * Regular,
@@ -214,6 +229,8 @@
% ItalicFont = *-Italic,
% BoldFont = *-\libertinus@boldstyle,
% BoldItalicFont = *-\libertinus@boldstyle italic,
+ SlantedFont = * Regular,
+ SlantedFeatures= {FakeSlant=0.2},
SmallCapsFont = * Regular,
SmallCapsFeatures={RawFeature=+smcp},
% SmallCapsFeatures={Letters=SmallCaps},
@@ -225,6 +242,8 @@
Scale = \libertinusRM@scale ,
% UprightFont = *-Regular,
% ItalicFont = *-Italic,
+ SlantedFont = *-Regular,
+ SlantedFeatures= {FakeSlant=0.2},
BoldFont = * Semibold,
BoldItalicFont = * Semibold Italic,
SmallCapsFont = *-Regular,
@@ -238,6 +257,8 @@
Scale = \libertinusRM@scale ,
% UprightFont = *-Regular,
% ItalicFont = *-Italic,
+ SlantedFont = *-Regular,
+ SlantedFeatures= {FakeSlant=0.2},
% BoldFont = *-\libertinus@boldstyle,
% BoldItalicFont = *-\libertinus@boldstyle italic,
SmallCapsFont = *-Regular,
@@ -251,6 +272,8 @@
Scale = \libertinusRM@scale ,
% UprightFont = *-Regular,
% ItalicFont = *-Italic,
+ SlantedFont = *-Regular,
+ SlantedFeatures= {FakeSlant=0.2},
% BoldFont = *-\libertinus@boldstyle,
% BoldItalicFont = *-\libertinus@boldstyle italic,
SmallCapsFont = *-Regular,
@@ -264,6 +287,8 @@
Scale = \libertinusSF@scale ,
UprightFont = * Regular,
ItalicFont = * Italic,
+ SlantedFont = * Regular,
+ SlantedFeatures= {FakeSlant=0.2},
BoldFont = * Bold,
BoldItalicFont = * Italic,
BoldItalicFeatures = {RawFeature={embolden=3}},
@@ -278,6 +303,8 @@
Scale = \libertinusSF@scale ,
UprightFont = * Regular,
ItalicFont = * Italic,
+ SlantedFont = * Regular,
+ SlantedFeatures= {FakeSlant=0.2},
BoldFont = * Bold,
BoldItalicFont = * Italic,
BoldItalicFeatures = {RawFeature={embolden=3}},
@@ -293,6 +320,8 @@
Scale = \libertinusSF@scale ,
UprightFont = * Regular,
ItalicFont = * Italic,
+ SlantedFont = * Regular,
+ SlantedFeatures= {FakeSlant=0.2},
BoldFont = * Bold,
BoldItalicFont = * Italic,
BoldItalicFeatures = {RawFeature={embolden=3}},
@@ -310,6 +339,8 @@
UprightFont = * Regular,
ItalicFont = * Regular,
ItalicFeatures = {FakeSlant=0.2},
+ SlantedFont = * Regular,
+ SlantedFeatures= {FakeSlant=0.2},
BoldFont = * Regular,
BoldFeatures = {RawFeature={embolden=3}},
BoldItalicFont = * Regular,
@@ -324,6 +355,9 @@
\iflibertinus@nomath\else
+ \typeout{*************************************^^J%
+ * Using libertinus math *^^J%
+ *************************************}%
\setmathfont{LibertinusMath-Regular.otf}%[BoldFont=LibertinusMath-Bold.otf]
\setmathfont[version=bold,RawFeature={embolden=3}]{LibertinusMath-Regular.otf}
\fi