texlive[66927] Master/texmf-dist: libertinus-otf (24apr23)

commits+karl at tug.org commits+karl at tug.org
Mon Apr 24 22:11:43 CEST 2023


Revision: 66927
          http://tug.org/svn/texlive?view=revision&revision=66927
Author:   karl
Date:     2023-04-24 22:11:42 +0200 (Mon, 24 Apr 2023)
Log Message:
-----------
libertinus-otf (24apr23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/libertinus-otf/Changes
    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

Modified: trunk/Master/texmf-dist/doc/fonts/libertinus-otf/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/libertinus-otf/Changes	2023-04-23 23:50:26 UTC (rev 66926)
+++ trunk/Master/texmf-dist/doc/fonts/libertinus-otf/Changes	2023-04-24 20:11:42 UTC (rev 66927)
@@ -1,3 +1,5 @@
+0.30  2023-04-24  - change name of internal kerning definition to prevent
+                    mismatch with mykern, defined by a user
 0.29  2021-07-23  - apply defaultfeatures only to \rmfamily and \sffamily
 0.28  2021-01-11  - added support for StylisticSet 08 (slanted integrals)
 0.27  2020-10-13  - fix bug for missing + sign in RawFeature=+ssxx

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	2023-04-23 23:50:26 UTC (rev 66926)
+++ trunk/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex	2023-04-24 20:11:42 UTC (rev 66927)
@@ -1,4 +1,4 @@
-%% $Id: libertinus-otf-doc.tex 1166 2020-04-25 17:58:36Z herbert $
+%% $Id: libertinus-otf-doc.tex 710 2023-04-24 12:05:58Z herbert $
 \listfiles
 \documentclass[ngerman,spanish,polish,english,a4paper]{article}
 \usepackage{libertinus-otf}
@@ -17,8 +17,9 @@
 \newcommand\Macro[1]{\texttt{\textbackslash#1}}
 \newcommand\textstyleVariable[1]{\texttt{#1}}
 \newcommand\textgerman[1]{\foreignlanguage{ngerman}{\texttt{#1}}}
-\usepackage{dtk-extern}
-\setkeys{dtk}{lstOptions={basicstyle=\Mono\small,columns=fixed}}
+\usepackage{hvextern}
+\setkeys{hv}{lstOptions={basicstyle=\Mono\small,columns=fixed}}
+\setkeys{hv}{moveToExampleDir,ExampleDir=Examples,showFilename=false,verbose}
 
 \usepackage[imakeidx]{xindex}
 \makeindex[title=Index]
@@ -326,7 +327,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -352,7 +353,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -770,7 +771,7 @@
   frame,
   compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,
   code,
   docType=latex,
@@ -794,7 +795,7 @@
 %  grfOptions={width=0.5\linewidth},
   compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=1,
   code,
   docType=latex,
@@ -820,7 +821,7 @@
   frame,
   compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=1,
   code,
   docType=latex,
@@ -850,7 +851,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -879,7 +880,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -913,7 +914,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -947,7 +948,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -994,7 +995,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -1030,7 +1031,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -1069,7 +1070,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -1101,7 +1102,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -1132,7 +1133,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -1153,7 +1154,7 @@
 \begin{externalDocument}[
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
   lstOptions={columns=flexible}]{Libertinus}
@@ -1172,7 +1173,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -1195,7 +1196,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -1218,7 +1219,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -1246,7 +1247,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -1277,7 +1278,7 @@
 %  grfOptions={width=0.5\linewidth},
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
 %  showFilename,
@@ -1368,8 +1369,9 @@
 \LibKey\LKeyEnde;
 \LibKey\LKeyWin;
 \LibKey\LKeyMenu;
-%\LibKey\LKeyTUX;
+\LibKey\LKeyTux;
 \LibKey\LKeyCtrl;
+\LibKey\LKeyCommand;
 \LibKey\LKeyOptionKey;
 \LibKey\LKeyBack;
 \LibKey\LKeyUp;
@@ -1532,7 +1534,7 @@
 \begin{externalDocument}[
   frame,compiler=lualatex,
   crop,
-  force=true,
+  force=false,
   runs=2,code,docType=latex,
   frame,
   lstOptions={columns=flexible}]{Libertinus}
@@ -2226,7 +2228,7 @@
 \rmfamily
 \begin{multicols}{5}
 \begin{luacode*}
-  local f = fontloader.open('/usr/local/texlive/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Regular.otf')
+  local f = fontloader.open('/usr/local/texlive/current/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Regular.otf')
   print("Max glyphs: "..f.glyphmax)
   local glyphs = {}
   for i = 0, f.glyphmax - 1 do
@@ -2237,13 +2239,13 @@
   end
   table.sort(glyphs, function (a,b) return (a.unicode < b.unicode) end)
   for i = 1, #glyphs do
-    tex.sprint(glyphs[i].unicode .. ': ')
-    if (glyphs[i].unicode > 0) then
-      tex.sprint('{\\char' .. glyphs[i].unicode .. '}');
-    end
-    tex.sprint(' {\\scriptsize (')
-    tex.sprint(-2, glyphs[i].name)
-    tex.sprint(')}\\\\')
+      tex.sprint(glyphs[i].unicode .. ': ')
+      if (glyphs[i].unicode > 0) then
+        tex.sprint('{\\char' .. glyphs[i].unicode .. '}');
+      end
+      tex.sprint(' {\\scriptsize (')
+      tex.sprint(-2, glyphs[i].name)
+      tex.sprint(')}\\\\')
   end
   fontloader.close(f)
 \end{luacode*}
@@ -2252,7 +2254,4 @@
 
 \printindex
 
-
-
-
 \end{document}

Modified: trunk/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty	2023-04-23 23:50:26 UTC (rev 66926)
+++ trunk/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty	2023-04-24 20:11:42 UTC (rev 66927)
@@ -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 at 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 at mono \libertinus at monotrue
 \newif\iflibertinus at nomath \libertinus at nomathfalse
 \newif\iflibertinus at lining \libertinus at liningtrue
@@ -52,8 +64,9 @@
 \DeclareOptionX{ScaleTT}{\renewcommand*{\libertinusTT at scale}{#1}}
 \DeclareOptionX{StretchTT}{\renewcommand*{\libertinusTT at stretch}{#1}}
 
-\def\libertinus at defaultfeatures{}
-\DeclareOptionX{defaultfeatures}{\def\libertinus at defaultfeatures{#1}}
+\def\libertinus at defaultfeatures{RawFeature={+hv-kern}}
+\DeclareOptionX{defaultfeatures}{\edef\libertinus at defaultfeatures{\libertinus at 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}}



More information about the tex-live-commits mailing list.