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.sty47
1 files changed, 24 insertions, 23 deletions
diff --git a/fonts/libertinus-otf/latex/libertinus-otf.sty b/fonts/libertinus-otf/latex/libertinus-otf.sty
index 85e4d91649..f893d90276 100644
--- a/fonts/libertinus-otf/latex/libertinus-otf.sty
+++ b/fonts/libertinus-otf/latex/libertinus-otf.sty
@@ -8,7 +8,7 @@
% Copyright 2020 Herbert Voss hvoss@tug.org
%
\ProvidesPackage{libertinus-otf}[%
- 2020/04/25 v. 0.25 (Herbert Voss) Supports libertinus fonts for lualatex and xelatex.]
+ 2020/07/31 v. 0.26 (Herbert Voss) Supports libertinus fonts for lualatex and xelatex.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
%\RequirePackage[no-math]{fontspec}
@@ -81,12 +81,13 @@
\ifxetex\XeTeXtracingfonts=1\fi
\defaultfontfeatures{
Ligatures = TeX ,
- SmallCapsFeatures={Letters=SmallCaps\ifluatex,Renderer=Basic\fi},
+ SmallCapsFeatures={Letters=SmallCaps},% \ifluatex,Renderer=Basic\fi},
\libertinus@defaultfeatures
}
\iflibertinus@usefilenames
%------------------------ filenames start -------------------------
+
\setmainfont{LibertinusSerif}[
RawFeature = {\libertinus@figurealign;\libertinus@figurestyle},
Scale = \libertinusRM@scale ,
@@ -102,8 +103,8 @@
BoldSlantedFont= *-\libertinus@boldstyle,
BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-\libertinus@boldstyle },
SmallCapsFont = *-Regular,
- SmallCapsFeatures={RawFeature=+smcp},
-% SmallCapsFeatures={Letters=SmallCaps},
+% SmallCapsFeatures={RawFeature=+smcp},
+ SmallCapsFeatures={Letters=SmallCaps},
Extension = .otf
]
@@ -122,8 +123,8 @@
BoldSlantedFont= *-Semibold,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = *-Semibold },
SmallCapsFont = *-Regular,
- SmallCapsFeatures={RawFeature=+smcp},
-% SmallCapsFeatures={Letters=SmallCaps},
+% SmallCapsFeatures={RawFeature=+smcp},
+ SmallCapsFeatures={Letters=SmallCaps},
Extension = .otf
]
@@ -142,8 +143,8 @@
BoldSlantedFont= *-\libertinus@boldstyle,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = *-\libertinus@boldstyle },
SmallCapsFont = *-Regular,
- SmallCapsFeatures={RawFeature=+smcp},
-% SmallCapsFeatures={Letters=SmallCaps},
+% SmallCapsFeatures={RawFeature=+smcp},
+ SmallCapsFeatures={Letters=SmallCaps},
Extension = .otf
]
@@ -162,8 +163,8 @@
BoldSlantedFont= *-\libertinus@boldstyle,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = *-\libertinus@boldstyle },
SmallCapsFont = *-Regular,
- SmallCapsFeatures={RawFeature=+smcp},
-% SmallCapsFeatures={Letters=SmallCaps},
+% SmallCapsFeatures={RawFeature=+smcp},
+ SmallCapsFeatures={Letters=SmallCaps},
Extension = .otf
]
@@ -183,7 +184,7 @@
BoldSlantedFont= *-Bold,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = *-Bold },
SmallCapsFont = *-Regular,
- SmallCapsFeatures={RawFeature=+smcp},
+% SmallCapsFeatures={RawFeature=+smcp},
SmallCapsFeatures={Letters=SmallCaps},
]
@@ -202,8 +203,8 @@
BoldSlantedFont= *-Bold,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = *-Bold },
SmallCapsFont = *-Regular,
- SmallCapsFeatures={RawFeature=+smcp},
-% SmallCapsFeatures={Letters=SmallCaps},
+% SmallCapsFeatures={RawFeature=+smcp},
+ SmallCapsFeatures={Letters=SmallCaps},
Extension = .otf
]
@@ -222,8 +223,8 @@
BoldSlantedFont= *-Bold,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = *-Bold },
SmallCapsFont = *-Regular,
- SmallCapsFeatures={RawFeature=+smcp},
-% SmallCapsFeatures={Letters=SmallCaps},
+% SmallCapsFeatures={RawFeature=+smcp},
+ SmallCapsFeatures={Letters=SmallCaps},
Extension = .otf
]
@@ -263,7 +264,7 @@
SmallCapsFeatures = {RawFeature=+smcp},
BoldSlantedFont = * \libertinus@boldstyle,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * \libertinus@boldstyle },
-% SmallCapsFeatures = {Letters=SmallCaps},
+ SmallCapsFeatures = {Letters=SmallCaps},
]
\newfontfamily\LibertinusSerif{Libertinus Serif}[
RawFeature = {\libertinus@figurealign,\libertinus@figurestyle},
@@ -281,7 +282,7 @@
SmallCapsFeatures = {RawFeature=+smcp},
BoldSlantedFont = * \libertinus@boldstyle,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * \libertinus@boldstyle },
-% SmallCapsFeatures = {Letters=SmallCaps},
+ SmallCapsFeatures = {Letters=SmallCaps},
]
\newfontfamily\LibertinusSerifSB{Libertinus Serif}[
RawFeature = {\libertinus@figurealign,\libertinus@figurestyle},
@@ -299,7 +300,7 @@
SmallCapsFeatures = {RawFeature=+smcp},
BoldSlantedFont = * Semibold,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * Semibold},
-% SmallCapsFeatures = {Letters=SmallCaps},
+ SmallCapsFeatures = {Letters=SmallCaps},
]
\newfontfamily\LibertinusSerifOsF{Libertinus Serif}[
RawFeature = {OldStyle,Proportional},
@@ -317,7 +318,7 @@
SmallCapsFeatures = {RawFeature=+smcp},
BoldSlantedFont = * \libertinus@boldstyle,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * \libertinus@boldstyle },
-% SmallCapsFeatures = {Letters=SmallCaps},
+ SmallCapsFeatures = {Letters=SmallCaps},
]
\newfontfamily\LibertinusSerifTLF{Libertinus Serif}[
@@ -336,7 +337,7 @@
SmallCapsFeatures = {RawFeature=+smcp},
BoldSlantedFont = * \libertinus@boldstyle,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * \libertinus@boldstyle },
-% SmallCapsFeatures = {Letters=SmallCaps},
+ SmallCapsFeatures = {Letters=SmallCaps},
]
\setsansfont{Libertinus Sans}[
@@ -354,7 +355,7 @@
BoldSlantedFont= * Bold,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * Bold },
SmallCapsFont = * Regular,
- SmallCapsFeatures={RawFeature=+smcp},
+% SmallCapsFeatures={RawFeature=+smcp},
SmallCapsFeatures={Letters=SmallCaps},
]
@@ -374,7 +375,7 @@
SmallCapsFeatures={RawFeature=+smcp},
BoldSlantedFont= * Bold,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * Bold },
-% SmallCapsFeatures={Letters=SmallCaps},
+ SmallCapsFeatures={Letters=SmallCaps},
% Extension = .otf
]
\newfontfamily\LibertinusSansTLF{Libertinus Sans}[
@@ -393,7 +394,7 @@
SmallCapsFeatures={RawFeature=+smcp},
BoldSlantedFont= * Bold,
BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * Bold },
-% SmallCapsFeatures={Letters=SmallCaps},
+ SmallCapsFeatures={Letters=SmallCaps},
% Extension = .otf
]
\iflibertinus@mono