summaryrefslogtreecommitdiff
path: root/fonts/libertinus-otf
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-04-25 03:01:27 +0000
committerNorbert Preining <norbert@preining.info>2023-04-25 03:01:27 +0000
commit800f3919ea46f82dc11cbfb51f08d2f3a1c43a70 (patch)
tree0071bb5d56e0551b532c2828c29ebd2ad2d7e340 /fonts/libertinus-otf
parente77721e3571e9341ee83577f574128a9f4e37c38 (diff)
CTAN sync 202304250301
Diffstat (limited to 'fonts/libertinus-otf')
-rw-r--r--fonts/libertinus-otf/Changes2
-rw-r--r--fonts/libertinus-otf/doc/libertinus-otf-doc.pdfbin626124 -> 659151 bytes
-rw-r--r--fonts/libertinus-otf/doc/libertinus-otf-doc.tex71
-rw-r--r--fonts/libertinus-otf/latex/libertinus-otf.sty26
4 files changed, 58 insertions, 41 deletions
diff --git a/fonts/libertinus-otf/Changes b/fonts/libertinus-otf/Changes
index cb9ca0a3f0..39bda5911c 100644
--- a/fonts/libertinus-otf/Changes
+++ b/fonts/libertinus-otf/Changes
@@ -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
diff --git a/fonts/libertinus-otf/doc/libertinus-otf-doc.pdf b/fonts/libertinus-otf/doc/libertinus-otf-doc.pdf
index c701ec0f20..bc8ce6d089 100644
--- a/fonts/libertinus-otf/doc/libertinus-otf-doc.pdf
+++ b/fonts/libertinus-otf/doc/libertinus-otf-doc.pdf
Binary files differ
diff --git a/fonts/libertinus-otf/doc/libertinus-otf-doc.tex b/fonts/libertinus-otf/doc/libertinus-otf-doc.tex
index c1147a4bbb..81b54c4259 100644
--- a/fonts/libertinus-otf/doc/libertinus-otf-doc.tex
+++ b/fonts/libertinus-otf/doc/libertinus-otf-doc.tex
@@ -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 @@ for example \texttt{+ss08} for different integral signs:
% grfOptions={width=0.5\linewidth},
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
% showFilename,
@@ -352,7 +353,7 @@ The default: $\int_1^\infty\frac1{x^2}\symup d x = 1$
% grfOptions={width=0.5\linewidth},
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
% showFilename,
@@ -770,7 +771,7 @@ defaultfeatures & valid only for \rmfamily and \sffamily\\
frame,
compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,
code,
docType=latex,
@@ -794,7 +795,7 @@ defaultfeatures & valid only for \rmfamily and \sffamily\\
% grfOptions={width=0.5\linewidth},
compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=1,
code,
docType=latex,
@@ -820,7 +821,7 @@ lstOptions={columns=flexible}
frame,
compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=1,
code,
docType=latex,
@@ -850,7 +851,7 @@ lstOptions={columns=flexible}
% grfOptions={width=0.5\linewidth},
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
% showFilename,
@@ -879,7 +880,7 @@ a global change of capitals to small caps.
% grfOptions={width=0.5\linewidth},
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
% showFilename,
@@ -913,7 +914,7 @@ a global change of capitals to small caps.
% grfOptions={width=0.5\linewidth},
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
% showFilename,
@@ -947,7 +948,7 @@ a global change of capitals to small caps relative to the current group.
% grfOptions={width=0.5\linewidth},
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
% showFilename,
@@ -994,7 +995,7 @@ a global change of case sensitive forms.
% grfOptions={width=0.5\linewidth},
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
% showFilename,
@@ -1030,7 +1031,7 @@ a global change of case sensitive forms.
% grfOptions={width=0.5\linewidth},
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
% showFilename,
@@ -1069,7 +1070,7 @@ the alternate characters.
% grfOptions={width=0.5\linewidth},
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
% showFilename,
@@ -1101,7 +1102,7 @@ and \textit{text} the local argument:
% grfOptions={width=0.5\linewidth},
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
% showFilename,
@@ -1132,7 +1133,7 @@ is again the number of the set.
% grfOptions={width=0.5\linewidth},
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
% showFilename,
@@ -1153,7 +1154,7 @@ is again the number of the set.
\begin{externalDocument}[
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
lstOptions={columns=flexible}]{Libertinus}
@@ -1172,7 +1173,7 @@ JKR \LSS02 JKR
% grfOptions={width=0.5\linewidth},
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
% showFilename,
@@ -1195,7 +1196,7 @@ JKR \LSS02 JKR
% grfOptions={width=0.5\linewidth},
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
% showFilename,
@@ -1218,7 +1219,7 @@ W {\LSS05 W} \qquad \WikipediaW \qquad \Wikipedia
% grfOptions={width=0.5\linewidth},
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
% showFilename,
@@ -1246,7 +1247,7 @@ setting relative to the current group.
% grfOptions={width=0.5\linewidth},
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
% showFilename,
@@ -1277,7 +1278,7 @@ setting relative to the current group.
% grfOptions={width=0.5\linewidth},
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
% showFilename,
@@ -1368,8 +1369,9 @@ e f g h i j k l m n o p q r s t u v w x y z \{ | \} \textasciitilde
\LibKey\LKeyEnde;
\LibKey\LKeyWin;
\LibKey\LKeyMenu;
-%\LibKey\LKeyTUX;
+\LibKey\LKeyTux;
\LibKey\LKeyCtrl;
+\LibKey\LKeyCommand;
\LibKey\LKeyOptionKey;
\LibKey\LKeyBack;
\LibKey\LKeyUp;
@@ -1532,7 +1534,7 @@ a Libertinus font, one can use a predefinded command:
\begin{externalDocument}[
frame,compiler=lualatex,
crop,
- force=true,
+ force=false,
runs=2,code,docType=latex,
frame,
lstOptions={columns=flexible}]{Libertinus}
@@ -2226,7 +2228,7 @@ A̍a̎̎ …
\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 @@ A̍a̎̎ …
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 @@ A̍a̎̎ …
\printindex
-
-
-
\end{document}
diff --git a/fonts/libertinus-otf/latex/libertinus-otf.sty b/fonts/libertinus-otf/latex/libertinus-otf.sty
index 5e9d673ff0..e259070f14 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 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}}