texlive[52132] Master/texmf-dist: libertinus-otf (20sep19)

commits+karl at tug.org commits+karl at tug.org
Fri Sep 20 23:31:42 CEST 2019


Revision: 52132
          http://tug.org/svn/texlive?view=revision&revision=52132
Author:   karl
Date:     2019-09-20 23:31:42 +0200 (Fri, 20 Sep 2019)
Log Message:
-----------
libertinus-otf (20sep19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/libertinus-otf/Changes
    trunk/Master/texmf-dist/doc/fonts/libertinus-otf/README.md
    trunk/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.pdf
    trunk/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex
    trunk/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty

Removed Paths:
-------------
    trunk/Master/texmf-dist/fonts/opentype/public/libertinus-otf/

Modified: trunk/Master/texmf-dist/doc/fonts/libertinus-otf/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/libertinus-otf/Changes	2019-09-19 23:53:37 UTC (rev 52131)
+++ trunk/Master/texmf-dist/doc/fonts/libertinus-otf/Changes	2019-09-20 21:31:42 UTC (rev 52132)
@@ -1,3 +1,6 @@
+0.20  2019-09-20  - use the feature setting for the missing fonts
+                    and do nit create own ones.
+0.17  2019-06-07  - added macro \Wikipedia, new feature setting
 0.16  2019-05-30  - fix for introduced bug for \XeTeX and Keyboard font
 0.15  2019-05-30  - fix for keyboard symbols
                   - changed LibertinusSans-BoldOblique to

Modified: trunk/Master/texmf-dist/doc/fonts/libertinus-otf/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/libertinus-otf/README.md	2019-09-19 23:53:37 UTC (rev 52131)
+++ trunk/Master/texmf-dist/doc/fonts/libertinus-otf/README.md	2019-09-20 21:31:42 UTC (rev 52132)
@@ -1,7 +1,7 @@
 # README #
 Package libertinus-otf supports the free fonts from
-ctan.org/fonts/libertinus  and installs additionally math-bold,
-mono-bold and mono-italic
+ctan.org/fonts/libertinus  and defines the missing ones 
+via several font feature setting.
 
 % This file is distributed under the terms of the LaTeX Project Public
 % License from CTAN archives in directory  macros/latex/base/lppl.txt.
@@ -8,9 +8,6 @@
 % Either version 1.3 or, at your option, any later version.
 %
 %
-The four fonts which are missing in the libertinus package
-have the SIL Open Font License and are derived from the ones
-in the libertinus-fonts package.
 
 % Copyright 2019 Herbert Voss hvoss at tug.org
 

Modified: trunk/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex	2019-09-19 23:53:37 UTC (rev 52131)
+++ trunk/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex	2019-09-20 21:31:42 UTC (rev 52132)
@@ -1,4 +1,4 @@
-%% $Id: libertinus-otf-doc.tex 1070 2019-05-31 04:01:49Z herbert $
+%% $Id: libertinus-otf-doc.tex 1086 2019-09-20 13:39:09Z herbert $
 \listfiles
 \documentclass[polish,english]{article}
 \usepackage{libertinus-otf}
@@ -21,7 +21,8 @@
                 \item\relax}
                {\endlist\endgroup}
 
-\def\Lcs#1{\texttt{\textbackslash#1}}
+\def\Lcs#1{\texttt{\textbackslash#1}\index{#1@\\texttt{\textbackslash#1}}}
+\def\Lpack#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Package!#1@\texttt{#1}}}
 \def\testfeature#1#2#3{{\fontspec[RawFeature={+#2}]{#1}#3\relax}}
 
 \title{OpenType font Libertinus}
@@ -44,7 +45,7 @@
 
 \section{The default setting}
 
-The font package \texttt{libertinus} installs the following OpenType fonts:
+The font package \Lpack{libertinus-fonts} installs the following OpenType fonts:
 \begin{verbatim}
 
 LibertinusSerif-Regular.otf
@@ -66,29 +67,10 @@
 -----------------------------------
 LibertinusMath-Regular.otf
 -----------------------------------
-
-
-
-
-
 \end{verbatim}
 
-The package liberinus-otf installs the additional ones:
 
-\begin{verbatim}
-LibertinusMono-Oblique.otf
-LibertinusMono-Bold.otf		
-LibertinusMono-BoldOblique.otf	
-
-LibertinusSans-BoldOblique.otf
-
-LibertinusMath-Bold.otf		
-\end{verbatim}
-
-all created with \textsc{FontForge}.
-
-
-With the package \texttt{libertinus-otf} the serif, sans, mono, and math fonts are set
+With the package \Lpack{libertinus-otf} the serif, sans, mono, and math fonts are set
 as usual:
 
 
@@ -95,36 +77,109 @@
 \begin{verbatim}
 \RequirePackage{unicode-math}
 \setmainfont{LibertinusSerif}[ 
-  Numbers        = {\libertinus at figurealign,\libertinus at figurestyle},
+  RawFeature     = {\libertinus at figurealign;\libertinus at figurestyle},
   Scale          = \libertinusRM at scale ,
   UprightFont    = *-Regular,
   ItalicFont     = *-Italic,
   BoldFont       = *-\libertinus at boldstyle, 
   BoldItalicFont = *-\libertinus at boldstyle Italic,
-  SmallCapsFeatures={Letters=SmallCaps}, 
+  SmallCapsFont  = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
   Extension      = .otf  
 ]
+
+\newfontfamily\LibertinusSerifSB{LibertinusSerif}[
+  RawFeature        = {\libertinus at figurealign;\libertinus at figurestyle},
+  Scale          = \libertinusRM at scale,
+  UprightFont    = *-Regular,
+  ItalicFont     = *-Italic,
+  BoldFont       = *-Semibold, 
+  BoldItalicFont = *-SemiboldItalic,
+  SmallCapsFont  = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+  Extension      = .otf  
+]
+
+\newfontfamily\LibertinusSerifOsF{LibertinusSerif}[
+  RawFeature     = {+onum},
+  Scale          = \libertinusRM at scale ,
+  UprightFont    = *-Regular,
+  ItalicFont     = *-Italic,
+  BoldFont       = *-\libertinus at boldstyle, 
+  BoldItalicFont = *-\libertinus at boldstyle Italic,
+  SmallCapsFont  = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+  Extension      = .otf  
+]
+
+\newfontfamily\LibertinusSerifTLF{LibertinusSerif}[
+  RawFeature        = {+tnum;-onum},
+  Scale          = \libertinusRM at scale ,
+  UprightFont    = *-Regular,
+  ItalicFont     = *-Italic,
+  BoldFont       = *-\libertinus at boldstyle, 
+  BoldItalicFont = *-\libertinus at boldstyle Italic,
+  SmallCapsFont  = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+  Extension      = .otf  
+]
+
 \setsansfont{LibertinusSans}[ 
-  Numbers   = {\libertinus at figurealign,\libertinus at figurestyle} ,
+  Extension      = .otf,  
+  RawFeature     = {\libertinus at figurealign;\libertinus at figurestyle} ,
+  Scale          = \libertinusSF at scale ,
+  UprightFont    = *-Regular,
+  ItalicFont     = *-Italic,
+  BoldFont       = *-Bold, 
+  BoldItalicFont = *-Italic,
+  BoldItalicFeatures = {RawFeature={embolden=3}}, 
+  SmallCapsFont  = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+]
+
+\newfontfamily\LibertinusSansOsF{LibertinusSans}[
+  RawFeature   = {+onum;+pnum},
   Scale     = \libertinusSF at scale ,
   UprightFont    = *-Regular,
   ItalicFont     = *-Italic,
   BoldFont       = *-Bold, 
-  BoldItalicFont = *-BoldOblique, 
-  SmallCapsFeatures={Letters=SmallCaps},
+  BoldItalicFont = *-Italic,
+  BoldItalicFeatures = {RawFeature={embolden=3}}, 
+  SmallCapsFont  = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
   Extension      = .otf  
 ]
+
+\newfontfamily\LibertinusSansTLF{LibertinusSans}[
+  RawFeature   = {+lnum;-onum;+tnum} ,
+  Scale     = \libertinusSF at scale ,
+  UprightFont    = *-Regular,
+  ItalicFont     = *-Italic,
+  BoldFont       = *-Bold, 
+  BoldItalicFont = *-Italic,
+  BoldItalicFeatures = {RawFeature={embolden=3}}, 
+  SmallCapsFont  = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+  Extension      = .otf  
+]
+
+\iflibertinus at mono
 \setmonofont{LibertinusMono}[ 
+  RawFeature   = {\libertinus at figurealign; \libertinus at figurestyle},
   Scale     = \libertinusTT at scale,
   FakeStretch    = 0.8,
   UprightFont    = *-Regular,
-  ItalicFont     = *-Oblique,
-  BoldFont       = *-Bold,
-  BoldItalicFont = *-BoldOblique,
+  ItalicFont     = *-Regular,
+  ItalicFeatures = {FakeSlant=0.2},
+  BoldFont       = *-Regular,
+  BoldFeatures   = {RawFeature={embolden=3}},
+  BoldItalicFont = *-Regular,
+  BoldItalicFeatures={FakeSlant=0.2,RawFeature={embolden=3}},
   Extension      = .otf, 
 ]
 
-\setmathfont{LibertinusMath-Regular.otf}[BoldFont=LibertinusMath-Bold.otf]
+\setmathfont{LibertinusMath-Regular.otf}%[BoldFont=LibertinusMath-Bold.otf]
+\setmathfont[version=bold,RawFeature={embolden=3}]{LibertinusMath-Regular.otf}
 
 \newfontfamily\LibertinusKeyboard{libertinuskeyboard-regular.otf}
 \newfontfamily\LibertinusDisplay{libertinusserifdisplay-regular.otf}
@@ -275,9 +330,9 @@
 -.,mnbvcxy<\#äölkjhgfdsa+üpoiuztrewq\textasciicircum{}234567890ß'`?=)(/\&\%\$§"!°QWERTZUIOPÜ*'ÄÖLKJHGFDSA>YXCVBNM;:\_\\
 \itshape
 -.,mnbvcxy<\#äölkjhgfdsa+üpoiuztrewq\textasciicircum{}234567890ß'`?=)(/\&\%\$§"!°QWERTZUIOPÜ*'ÄÖLKJHGFDSA>YXCVBNM;:\_\\
-\bfseries	
+\bfseries
 -.,mnbvcxy<\#äölkjhgfdsa+üpoiuztrewq\textasciicircum{}234567890ß'`?=)(/\&\%\$§"!°QWERTZUIOPÜ*'ÄÖLKJHGFDSA>YXCVBNM;:\_\\
-\mdseries
+\upshape
 -.,mnbvcxy<\#äölkjhgfdsa+üpoiuztrewq\textasciicircum{}234567890ß'`?=)(/\&\%\$§"!°QWERTZUIOPÜ*'ÄÖLKJHGFDSA>YXCVBNM;:\_\\
 
 \normalfont\normalsize
@@ -368,11 +423,11 @@
 \noindent
 \begin{tabular}{@{} >{\ttfamily}l l @{}}
 oldstyle, osf   &  old-style figures \\
-lining, nf, lf  &  lining figures\\
+lining, nf, lf  &  lining figures (default)\\
 proportional, p & varying-width figures\\
-tabular, t      & fixed-width figures \\
-%semibold, sb    & semibold version\\
-%bold            & bold version\\\hline
+tabular, t      & fixed-width figures (default)\\
+semibold, sb    & semibold version\\
+bold            & bold version (default)\\\hline
 ScaleRM         & scaling for the serif font, preset to 1\\
 ScaleSF         & scaling for the sans serif font, preset to 1\\
 ScaleTT         & scaling for the mono font, preset to \texttt{MatchLowercase}\\\hline
@@ -387,7 +442,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -408,7 +463,7 @@
 %  grfOptions={width=0.5\linewidth},
   compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -432,7 +487,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -444,7 +499,9 @@
 \usepackage[t=false]{libertinus-otf}
 %StopVisiblePreamble
 \begin{document}
-0000111122223333444455556666777788889999\par abcdefghijklmn
+0000111122223333444455556666777788889999\par
+\addfontfeatures{RawFeature=+tnum}%
+0000111122223333444455556666777788889999
 \end{document}
 \end{externalDocument}
 
@@ -453,7 +510,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -465,7 +522,9 @@
 \usepackage[p]{libertinus-otf}
 %StopVisiblePreamble
 \begin{document}
-0000111122223333444455556666777788889999\par abcdefghijklmn
+0000111122223333444455556666777788889999\par 
+\addfontfeatures{RawFeature=-pnum}%
+0000111122223333444455556666777788889999
 \end{document}
 \end{externalDocument}
 
@@ -477,7 +536,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -489,7 +548,7 @@
 \usepackage{libertinus-otf}
 %StopVisiblePreamble
 \begin{document}
-ÄËÖ\par\defaultfontfeatures{StylisticSet=1}\fontspec{Libertinus Serif}
+ÄËÖ\par\addfontfeatures{RawFeature=+ss01}
 ÄËÖ
 \end{document}
 \end{externalDocument}
@@ -499,7 +558,7 @@
 \begin{externalDocument}[
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
   lstOptions={columns=fixed}]{Libertinus}
@@ -509,7 +568,7 @@
 \usepackage{libertinus-otf}
 %StopVisiblePreamble
 \begin{document}
-JKR\par\defaultfontfeatures{StylisticSet=2}\fontspec{Libertinus Serif}
+JKR\par\addfontfeatures{RawFeature=+ss02}
 JKR
 \end{document}
 \end{externalDocument}
@@ -519,7 +578,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -531,16 +590,19 @@
 \usepackage{libertinus-otf}
 %StopVisiblePreamble
 \begin{document}
-{ß\defaultfontfeatures{StylisticSet=3}\fontspec{Libertinus Serif}ß}\par
-ẞ\defaultfontfeatures{StylisticSet=4}\fontspec{Libertinus Serif}ẞ
+{ß\addfontfeatures{RawFeature=+ss03}ß}\par
+ẞ\addfontfeatures{RawFeature=+ss04}ẞ
 \end{document}
 \end{externalDocument}
 
+
+
+
 \begin{externalDocument}[
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -554,8 +616,10 @@
 \begin{document}
 \huge
 W
-\defaultfontfeatures{StylisticSet=5}\fontspec{Libertinus Serif}
+\addfontfeatures{RawFeature=+ss05}
 W
+\verb=\Wikipedia=%
+$\rightarrow$\Wikipedia
 \end{document}
 \end{externalDocument}
 
@@ -565,7 +629,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -578,7 +642,7 @@
 %StopVisiblePreamble
 \begin{document}
 \huge\&
-\defaultfontfeatures{StylisticSet=6}\fontspec{Libertinus Serif}
+\addfontfeatures{RawFeature=+ss06}
 \&
 \end{document}
 \end{externalDocument}
@@ -766,6 +830,7 @@
 0 1 2 3 4 5 6 7 8 9 0 
 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
 Ä \symbol{"00C5} \symbol{"00C6} \symbol{"00C7} Ö \symbol{"00D8} \symbol{"00DC} \symbol{"00DF}   
+\iffalse
 \symbol{"0132} \symbol{"014A} \symbol{"0150} \symbol{"0152} \symbol{"0170} 
 \multido{\nA=913+1}{17}{\symbol{\nA} }
 \multido{\nA=931+1}{7}{\symbol{\nA} }
@@ -779,8 +844,8 @@
 \symbol{"E040} \symbol{"E041} \symbol{"E042} 
 \multido{\nA=65537+1}{42}{\symbol{\nA} }
 \multido{\nA=65580+1}{11}{\symbol{\nA} }
+\fi
 
-
 \normalfont
 
 \section{Font commands}
@@ -790,17 +855,17 @@
 \begin{verbatim}
 \LibertinusSerifSB   (SemiBold)
 \LibertinusSerifOsF  (Old style proportional figures)
-\LibertinusSerifTLF  (Lining figures monospaced)
 \LibertinusSansOsF   (Old style proportional figures)
-\LibertinusSansTLF   (Lining figures monospaced)
 \end{verbatim}
 
+%\LibertinusSerifTLF  (Lining figures monospaced)
+%\LibertinusSansTLF   (Lining figures monospaced)
 
 
 \begin{externalDocument}[
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
   lstOptions={columns=fixed}]{Libertinus}
@@ -814,9 +879,7 @@
 {\bfseries standard bold}
 {\LibertinusSerifSB\bfseries SemiBold 0123456}
 \LibertinusSerifOsF normal weight 0123456 
-\LibertinusSerifTLF normal weight 0123456
 \LibertinusSansOsF normal weight 0123456
-\LibertinusSansTLF normal weght 0123456
 \end{document}
 \end{externalDocument}
 

Modified: trunk/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty	2019-09-19 23:53:37 UTC (rev 52131)
+++ trunk/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty	2019-09-20 21:31:42 UTC (rev 52132)
@@ -1,4 +1,4 @@
-%% $Id: libertinus-otf.sty 1070 2019-05-31 04:01:49Z herbert $
+%% $Id: libertinus-otf.sty 1086 2019-09-20 13:39:09Z herbert $
 %%
 %% This file is distributed under the terms of the LaTeX Project Public
 %% License from CTAN archives in directory  macros/latex/base/lppl.txt.
@@ -5,12 +5,13 @@
 %% Either version 1.3 or, at your option, any later version.
 %%
 %
-% Copyright 2018 Herbert Voss hvoss at tug.org and Bob Tennent rdt at cs.queensu.ca
+% Copyright 2019 Herbert Voss hvoss at tug.org and Bob Tennent rdt at cs.queensu.ca
 %
 \ProvidesPackage{libertinus-otf}[%
-  2019/05/31 v. 0.16 (Herbert Voss and Bob Tennent) Supports libertinus fonts for lualatex and xelatex.] 
+  2019/09/20 v. 0.20 (Herbert Voss and Bob Tennent) Supports libertinus fonts for lualatex and xelatex.] 
 
 \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
+%\RequirePackage[no-math]{fontspec}
 \RequirePackage{unicode-math}
 
 \newif\iflibertinus at mono \libertinus at monotrue
@@ -54,15 +55,15 @@
 \ProcessOptionsX\relax
 
 \iflibertinus at lining
-    \def\libertinus at figurestyle{Lining}
+    \def\libertinus at figurestyle{+lnum}
 \else
-    \def\libertinus at figurestyle{OldStyle}
+    \def\libertinus at figurestyle{+onum}
 \fi
 
 \iflibertinus at tabular
-    \def\libertinus at figurealign{Monospaced} 
+    \def\libertinus at figurealign{+tnum} 
 \else
-    \def\libertinus at figurealign{Proportional} 
+    \def\libertinus at figurealign{+pnum} 
 \fi
 
 \iflibertinus at semibold
@@ -75,7 +76,7 @@
 \ifxetex\XeTeXtracingfonts=1\fi
 \defaultfontfeatures{
      Ligatures = TeX ,
-     SmallCapsFeatures={Letters=SmallCaps\ifluatex,Renderer=Basic\fi} , 
+     SmallCapsFeatures={Letters=SmallCaps\ifluatex,Renderer=Basic\fi}, 
      \libertinus at defaultfeatures
 }
 
@@ -82,91 +83,111 @@
 \iflibertinus at usefilenames
 
 \setmainfont{LibertinusSerif}[ 
-  Numbers        = {\libertinus at figurealign,\libertinus at figurestyle},
+  RawFeature     = {\libertinus at figurealign;\libertinus at figurestyle},
   Scale          = \libertinusRM at scale ,
   UprightFont    = *-Regular,
   ItalicFont     = *-Italic,
   BoldFont       = *-\libertinus at boldstyle, 
   BoldItalicFont = *-\libertinus at boldstyle Italic,
-  SmallCapsFeatures={Letters=SmallCaps}, 
+  SmallCapsFont  = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+%  SmallCapsFeatures={Letters=SmallCaps}, 
   Extension      = .otf  
 ]
 
 \newfontfamily\LibertinusSerifSB{LibertinusSerif}[
-  Numbers        = {\libertinus at figurealign,\libertinus at figurestyle},
+  RawFeature        = {\libertinus at figurealign;\libertinus at figurestyle},
   Scale          = \libertinusRM at scale,
   UprightFont    = *-Regular,
   ItalicFont     = *-Italic,
   BoldFont       = *-Semibold, 
   BoldItalicFont = *-SemiboldItalic,
-  SmallCapsFeatures={Letters=SmallCaps}, 
+  SmallCapsFont  = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+%  SmallCapsFeatures={Letters=SmallCaps}, 
   Extension      = .otf  
 ]
 
 \newfontfamily\LibertinusSerifOsF{LibertinusSerif}[
-  Numbers        = {OldStyle,Proportional},
+  RawFeature     = {+onum},
   Scale          = \libertinusRM at scale ,
   UprightFont    = *-Regular,
   ItalicFont     = *-Italic,
   BoldFont       = *-\libertinus at boldstyle, 
   BoldItalicFont = *-\libertinus at boldstyle Italic,
-  SmallCapsFeatures={Letters=SmallCaps}, 
+  SmallCapsFont  = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+%  SmallCapsFeatures={Letters=SmallCaps}, 
   Extension      = .otf  
 ]
 
 \newfontfamily\LibertinusSerifTLF{LibertinusSerif}[
-  Numbers        = {Lining,Monospaced},
+  RawFeature        = {+tnum;-onum},
   Scale          = \libertinusRM at scale ,
   UprightFont    = *-Regular,
   ItalicFont     = *-Italic,
   BoldFont       = *-\libertinus at boldstyle, 
   BoldItalicFont = *-\libertinus at boldstyle Italic,
-  SmallCapsFeatures={Letters=SmallCaps}, 
+  SmallCapsFont  = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+%  SmallCapsFeatures={Letters=SmallCaps}, 
   Extension      = .otf  
 ]
 
 \setsansfont{LibertinusSans}[ 
-  Numbers   = {\libertinus at figurealign,\libertinus at figurestyle} ,
-  Scale     = \libertinusSF at scale ,
+  Extension      = .otf,  
+  RawFeature     = {\libertinus at figurealign;\libertinus at figurestyle} ,
+  Scale          = \libertinusSF at scale ,
   UprightFont    = *-Regular,
   ItalicFont     = *-Italic,
   BoldFont       = *-Bold, 
-  BoldItalicFont = *-BoldItalic, 
-  SmallCapsFeatures={Letters=SmallCaps},
-  Extension      = .otf  
+  BoldItalicFont = *-Italic,
+  BoldItalicFeatures = {RawFeature={embolden=3}}, 
+  SmallCapsFont  = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+%  SmallCapsFeatures={Letters=SmallCaps},
 ]
 
 \newfontfamily\LibertinusSansOsF{LibertinusSans}[
-  Numbers   = {OldStyle,Proportional} ,
+  RawFeature   = {+onum;+pnum},
   Scale     = \libertinusSF at scale ,
   UprightFont    = *-Regular,
   ItalicFont     = *-Italic,
   BoldFont       = *-Bold, 
-  BoldItalicFont = *-BoldItalic, 
-  SmallCapsFeatures={Letters=SmallCaps},
+  BoldItalicFont = *-Italic,
+  BoldItalicFeatures = {RawFeature={embolden=3}}, 
+  SmallCapsFont  = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+%  SmallCapsFeatures={Letters=SmallCaps},
   Extension      = .otf  
 ]
 
 \newfontfamily\LibertinusSansTLF{LibertinusSans}[
-  Numbers   = {Lining, Monospaced} ,
+  RawFeature   = {+lnum;-onum;+tnum} ,
   Scale     = \libertinusSF at scale ,
   UprightFont    = *-Regular,
   ItalicFont     = *-Italic,
   BoldFont       = *-Bold, 
-  BoldItalicFont = *-BoldItalic, 
-  SmallCapsFeatures={Letters=SmallCaps},
+  BoldItalicFont = *-Italic,
+  BoldItalicFeatures = {RawFeature={embolden=3}}, 
+  SmallCapsFont  = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+%  SmallCapsFeatures={Letters=SmallCaps},
   Extension      = .otf  
 ]
 
 \iflibertinus at mono
 \setmonofont{LibertinusMono}[ 
-%  Numbers   = {\libertinus at figurealign, \libertinus at figurestyle},
+  RawFeature   = {\libertinus at figurealign; \libertinus at figurestyle},
   Scale     = \libertinusTT at scale,
   FakeStretch    = 0.8,
   UprightFont    = *-Regular,
-  ItalicFont     = *-Oblique,
-  BoldFont       = *-Bold,
-  BoldItalicFont = *-BoldOblique,
+  ItalicFont     = *-Regular,
+  ItalicFeatures = {FakeSlant=0.2},
+  BoldFont       = *-Regular,
+  BoldFeatures   = {RawFeature={embolden=3}},
+  BoldItalicFont = *-Regular,
+  BoldItalicFeatures={FakeSlant=0.2,RawFeature={embolden=3}},
   Extension      = .otf, 
 ]
 \fi
@@ -174,106 +195,125 @@
 \else
 
 \setmainfont{Libertinus Serif}[ 
-  Numbers        = {\libertinus at figurealign,\libertinus at figurestyle},
+  RawFeature        = {\libertinus at figurealign,\libertinus at figurestyle},
   Scale          = \libertinusRM at scale ,
 %  UprightFont    = * Regular,
 %  ItalicFont     = * Ialic,
 %  BoldFont       = * Bold, % \libertinus at boldstyle, 
 %  BoldItalicFont = * Bold Italic, %-\libertinus at boldstyle italic,
-  SmallCapsFeatures={Letters=SmallCaps}, 
+  SmallCapsFont   = * Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+%  SmallCapsFeatures={Letters=SmallCaps}, 
 %  Extension      = .otf  
 ]
 
 \newfontfamily\LibertinusSerif{Libertinus Serif}[
-  Numbers        = {\libertinus at figurealign,\libertinus at figurestyle},
+  RawFeature        = {\libertinus at figurealign,\libertinus at figurestyle},
   Scale          = \libertinusRM at scale ,
-% UprightFont    = *-regular,
-% ItalicFont     = *-italic,
+% UprightFont    = *-Regular,
+% ItalicFont     = *-Italic,
 % BoldFont       = *-\libertinus at boldstyle, 
 %  BoldItalicFont = *-\libertinus at boldstyle italic,
-  SmallCapsFeatures={Letters=SmallCaps}, 
+  SmallCapsFont   = * Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+%  SmallCapsFeatures={Letters=SmallCaps}, 
 % Extension      = .otf  
 ]
 
 \newfontfamily\LibertnusSerifSB{Libertinus Serif}[
-  Numbers        = {\libertinus at figurealign,\libertinus at figurestyle},
+  RawFeature        = {\libertinus at figurealign,\libertinus at figurestyle},
   Scale          = \libertinusRM at scale ,
-% UprightFont    = *-regular,
-% ItalicFont     = *-italic,
+% UprightFont    = *-Regular,
+% ItalicFont     = *-Italic,
   BoldFont       = * Semibold, 
   BoldItalicFont = * Semibold Italic,
-  SmallCapsFeatures={Letters=SmallCaps}, 
+  SmallCapsFont   = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+%  SmallCapsFeatures={Letters=SmallCaps}, 
 % Extension      = .otf  
 ]
 
 \newfontfamily\LibertinusSerifOsF{Libertinus Serif}[
-  Numbers        = {OldStyle,Proportional},
+  RawFeature        = {OldStyle,Proportional},
   Scale          = \libertinusRM at scale ,
-% UprightFont    = *-regular,
-% ItalicFont     = *-italic,
+% UprightFont    = *-Regular,
+% ItalicFont     = *-Italic,
 % BoldFont       = *-\libertinus at boldstyle, 
 % BoldItalicFont = *-\libertinus at boldstyle italic,
-  SmallCapsFeatures={Letters=SmallCaps}, 
+  SmallCapsFont   = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+%  SmallCapsFeatures={Letters=SmallCaps}, 
 % Extension      = .otf  
 ]
 
 \newfontfamily\LibertinusSerifTLF{Libertinus Serif}[
-  Numbers        = {Lining,Monospaced},
+  RawFeature        = {Lining,Monospaced},
   Scale          = \libertinusRM at scale ,
-% UprightFont    = *-regular,
-% ItalicFont     = *-italic,
+% UprightFont    = *-Regular,
+% ItalicFont     = *-Italic,
 % BoldFont       = *-\libertinus at boldstyle, 
 % BoldItalicFont = *-\libertinus at boldstyle italic,
-  SmallCapsFeatures={Letters=SmallCaps}, 
+  SmallCapsFont   = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+%  SmallCapsFeatures={Letters=SmallCaps}, 
 % Extension      = .otf  
 ]
 
 \setsansfont{Libertinus Sans}[ 
-  Numbers   = {\libertinus at figurealign, \libertinus at figurestyle} ,
+  RawFeature   = {\libertinus at figurealign, \libertinus at figurestyle} ,
   Scale     = \libertinusSF at scale ,
-%  UprightFont    = * Regular,
-%  ItalicFont     = * Italic,
-%  BoldFont       = * Bold, 
-%  BoldItalicFont = * Bold Italic, 
-  SmallCapsFeatures={Letters=SmallCaps},
-%  Extension      = .otf  
+  UprightFont    = * Regular,
+  ItalicFont     = * Italic,
+  BoldFont       = * Bold, 
+  BoldItalicFont = * Italic,
+  BoldItalicFeatures = {RawFeature={embolden=3}}, 
+  SmallCapsFont   = * Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+%  SmallCapsFeatures={Letters=SmallCaps},
 ]
 
 \newfontfamily\LibertinusSansOsF{Libertinus Sans}
 [
-  Numbers   = {OldStyle,Proportional} ,
+  RawFeature   = {OldStyle,Proportional} ,
   Scale     = \libertinusSF at scale ,
-% UprightFont    = *-regular,
-% ItalicFont     = *-italic,
-% BoldFont       = *-bold, 
-% BoldItalicFont = *-bolditalic, 
-  SmallCapsFeatures={Letters=SmallCaps},
+  UprightFont    = * Regular,
+  ItalicFont     = * Italic,
+  BoldFont       = * Bold, 
+  BoldItalicFont = * Italic,
+  BoldItalicFeatures = {RawFeature={embolden=3}}, 
+  SmallCapsFont  = * Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+%  SmallCapsFeatures={Letters=SmallCaps},
 % Extension      = .otf  
 ]
 
 \newfontfamily\LibertinusSansTLF{Libertinus Sans}
 [
-  Numbers   = {Lining, Monospaced} ,
+  RawFeature   = {Lining, Monospaced} ,
   Scale     = \libertinusSF at scale ,
-%  UprightFont    = *-regular,
-%  ItalicFont     = *-italic,
-%  BoldFont       = *-bold, 
-%  BoldItalicFont = *-bolditalic, 
-  SmallCapsFeatures={Letters=SmallCaps},
+  UprightFont    = * Regular,
+  ItalicFont     = * Italic,
+  BoldFont       = * Bold, 
+  BoldItalicFont = * Italic,
+  BoldItalicFeatures = {RawFeature={embolden=3}}, 
+  SmallCapsFont   = *-Regular,
+  SmallCapsFeatures={RawFeature=+smcp},
+%  SmallCapsFeatures={Letters=SmallCaps},
 % Extension      = .otf  
 ]
 
 \iflibertinus at mono
 \setmonofont{Libertinus Mono}[ 
-%  Numbers   = {\libertinus at figurealign, \libertinus at figurestyle},
+%  RawFeature   = {\libertinus at figurealign, \libertinus at figurestyle},
   Scale     = \libertinusTT at scale,
   FakeStretch    = 0.8,
-%  UprightFont    = * Regular,
-%  ItalicFont     = * Italic,
-%  BoldFont       = * Bold,
-%  BoldItalicFont = * Bold Italic,
-% AutoFakeBold   = 1.5,
-%  Extension      = .otf, 
+  UprightFont    = * Regular,
+  ItalicFont     = * Regular,
+  ItalicFeatures = {FakeSlant=0.2},
+  BoldFont       = * Regular,
+  BoldFeatures   = {RawFeature={embolden=3}},
+  BoldItalicFont = * Regular,
+  BoldItalicFeatures={FakeSlant=0.2,RawFeature={embolden=3}},
 ]
 \fi
 
@@ -284,16 +324,15 @@
 
 
 \iflibertinus at nomath\else
-  \setmathfont{LibertinusMath-Regular.otf}[BoldFont=LibertinusMath-Bold.otf]
-%  \setmathfont{LibertinusMath-regular.otf}
-%  \setmathfont[version=bold]{libertinusmath-bold.otf}
+  \setmathfont{LibertinusMath-Regular.otf}%[BoldFont=LibertinusMath-Bold.otf]
+  \setmathfont[version=bold,RawFeature={embolden=3}]{LibertinusMath-Regular.otf}
 \fi
 
 \ifluatex
-  \font\LibertinusKeyboard{file:LibertinusKeyboard-Regular.otf}
-  \hyphenchar\LibertinusKeyboard=-1
+  \newfontface\LibertinusKeyboard{LibertinusKeyboard-Regular.otf}
+%  \hyphenchar\LibertinusKeyboard=-1
 \else
-  \font\LibertinusKeyboard"[LibertinusKeyboard-Regular.otf]"
+  \font\LibertinusKeyboard="[LibertinusKeyboard-Regular.otf]"
 \fi
 \newfontfamily\LibertinusDisplay{LibertinusSerifDisplay-Regular.otf}
 \newfontfamily\Libertinusinitials{LibertinusSerifInitials-Regular.otf}
@@ -405,3 +444,5 @@
 \fi
 %
 
+\def\Wikipedia{{\fontspec{Libertinus Serif Regular}[RawFeature=+ss05]W}}
+%\def\WikipediaSF{{\addfontfeature{RawFeature=+ss05}\fontspec{Libertinus Sans Regular}W}}



More information about the tex-live-commits mailing list