From 7d9d2e08fcab92adcc759e3f1e4bb0a15a63f220 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 26 Apr 2020 03:02:41 +0000 Subject: CTAN sync 202004260302 --- fonts/libertinus-otf/Changes | 1 + fonts/libertinus-otf/doc/libertinus-otf-doc.pdf | Bin 683645 -> 687625 bytes fonts/libertinus-otf/doc/libertinus-otf-doc.tex | 31 ++++++++++++++++++------ fonts/libertinus-otf/latex/libertinus-otf.sty | 18 ++++++++------ 4 files changed, 36 insertions(+), 14 deletions(-) (limited to 'fonts') diff --git a/fonts/libertinus-otf/Changes b/fonts/libertinus-otf/Changes index f6b33892ad..2a024ff330 100644 --- a/fonts/libertinus-otf/Changes +++ b/fonts/libertinus-otf/Changes @@ -1,3 +1,4 @@ +0.25 2020-04-25 - added text font macros \textsup, \textsfb, and \textinit 0.24 2020-02-22 - added some more macros to controll the font features 0.23 2020-02-08 - do not load unicode-math if option nomath is used 0.22 2019-10-23 - added SmallCaps for slanted fonts diff --git a/fonts/libertinus-otf/doc/libertinus-otf-doc.pdf b/fonts/libertinus-otf/doc/libertinus-otf-doc.pdf index 0236d89fa7..334eb92206 100644 Binary files a/fonts/libertinus-otf/doc/libertinus-otf-doc.pdf and b/fonts/libertinus-otf/doc/libertinus-otf-doc.pdf differ diff --git a/fonts/libertinus-otf/doc/libertinus-otf-doc.tex b/fonts/libertinus-otf/doc/libertinus-otf-doc.tex index dd2186d275..9a94f6ba5c 100644 --- a/fonts/libertinus-otf/doc/libertinus-otf-doc.tex +++ b/fonts/libertinus-otf/doc/libertinus-otf-doc.tex @@ -1,8 +1,8 @@ -%% $Id: libertinus-otf-doc.tex 1146 2020-02-22 15:47:27Z herbert $ +%% $Id: libertinus-otf-doc.tex 1166 2020-04-25 17:58:36Z herbert $ \listfiles \documentclass[ngerman,spanish,polish,english,a4paper]{article} \usepackage{libertinus-otf} -\newfontfamily\DejaVu{DejaVu Sans Mono}[Scale=MatchLowercase,FakeStretch=0.9] +\newfontfamily\NotoMono{DejaVu Sans Mono}[Scale=MatchLowercase,FakeStretch=0.9] \usepackage{babel} \usepackage{geometry} \usepackage{booktabs} @@ -61,7 +61,8 @@ math font by Khaled Hosny. \vfill Thanks to:\\ Khaled Hosny;\\ -Nelson Posse Lago; +Nelson Posse Lago;\\ +Keno Wehr \clearpage @@ -581,7 +582,7 @@ Taka Albo tace Usta pęk ucha. \section{Features} \subsection{Serif fonts} -\begin{lstlisting}[basicstyle=\DejaVu\small] +\begin{lstlisting}[basicstyle=\NotoMono\small] otfinfo --features LibertinusSerif-Regular.otf c2sc Small Capitals From Capitals calt Contextual Alternates @@ -615,7 +616,7 @@ zero Slashed Zero \end{lstlisting} \subsection{Sans Serif fonts} -\begin{lstlisting}[basicstyle=\DejaVu\small] +\begin{lstlisting}[basicstyle=\NotoMono\small] otfinfo --features LibertinusSans-Regular.otf c2sc Small Capitals From Capitals calt Contextual Alternates @@ -668,7 +669,7 @@ defaultfeatures & valid for all fonts\\ \end{tabular} -\lstset{basicstyle=\DejaVu\small,backgroundcolor=white,extendedchars} +\lstset{basicstyle=\NotoMono\small,backgroundcolor=white,extendedchars} \begin{externalDocument}[ @@ -1196,6 +1197,22 @@ setting relative to the current group. %sflining (sflf) or sfoldstyle (sfosf, osfss) %sftabular (sft) or sfproportional (sfp) +\section{New text macros} + +\Lcs{textsup}\Largb{text} for superiors, \Lcs{textsfb}\Largb{text} for semibold (only serif font), +and \Lcs{textinit}\Largb{TEXT} for Initials (only uppercase characters). +%\DeclareTextFontCommand{\textsbf}{\LibertinusSerifSB\bfseries}% semibold +%\DeclareTextFontCommand{\textinit}{\LibertinusInitials}% Initials + + +\begin{verbatim} +7\textsup{th} floor \textsbf{Semibold} instead of \textbf{bold} and +\textinit{INITIALS} +\end{verbatim} + +7\textsup{th} floor \textsbf{Semibold} instead of \textbf{bold} and +\textinit{INITIALS} + \section{Additional fonts} @@ -2103,7 +2120,7 @@ A̍a̎̎ … \rmfamily \begin{multicols}{5} \begin{luacode*} - local f = fontloader.open('/usr/local/texlive/2019/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Regular.otf') + local f = fontloader.open('/usr/local/texlive/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Regular.otf') print("Max glyphs: "..f.glyphmax) local glyphs = {} for i = 0, f.glyphmax - 1 do diff --git a/fonts/libertinus-otf/latex/libertinus-otf.sty b/fonts/libertinus-otf/latex/libertinus-otf.sty index f0ffebc960..85e4d91649 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 1146 2020-02-22 15:47:27Z herbert $ +%% $Id: libertinus-otf.sty 1166 2020-04-25 17:58: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 2020 Herbert Voss hvoss@tug.org % \ProvidesPackage{libertinus-otf}[% - 2020/02/22 v. 0.24 (Herbert Voss) Supports libertinus fonts for lualatex and xelatex.] + 2020/04/25 v. 0.25 (Herbert Voss) Supports libertinus fonts for lualatex and xelatex.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} %\RequirePackage[no-math]{fontspec} @@ -415,9 +415,6 @@ \fi %------------------------ symbolic names stop ------------------------- -\def\sufigures{\addfontfeatures{VerticalPosition=Superior}} -\DeclareTextFontCommand{\textsu}{\sufigures} - \iflibertinus@nomath\else \typeout{*************************************^^J% @@ -428,7 +425,7 @@ \fi \ifluatex - \newfontface\LibertinusKeyboard{LibertinusKeyboard-Regular.otf} + \newfontface\LibertinusKeyboard{LibertinusKeyboard-Regular.otf}[RawFeature=+liga] % \hyphenchar\LibertinusKeyboard=-1 \else \font\LibertinusKeyboard="[LibertinusKeyboard-Regular.otf]" @@ -437,12 +434,18 @@ \newfontfamily\Libertinusinitials{LibertinusSerifInitials-Regular.otf} \newfontfamily\LibertinusInitials{LibertinusSerifInitials-Regular.otf} +\def\sufigures{\addfontfeatures{VerticalPosition=Superior}} +\DeclareTextFontCommand{\textsup}{\sufigures} +\DeclareTextFontCommand{\textsbf}{\LibertinusSerifSB\bfseries}% semibold +\DeclareTextFontCommand{\textinit}{\LibertinusInitials}% Initials + \def\biolinumKeyGlyph#1{{\LibertinusKeyboard\symbol{#1}}} \def\BiolinumKeyGlyph#1{{\LibertinusKeyboard#1}} \DeclareRobustCommand*\LKey[1]{\BiolinumKeyGlyph{#1}} \DeclareRobustCommand*\LKeyStrg{\BiolinumKeyGlyph{Strg}} \DeclareRobustCommand*\LKeyAlt{\BiolinumKeyGlyph{Alt}} +\DeclareRobustCommand*\LKeyAltApple{\biolinumKeyGlyph{"2325}} \DeclareRobustCommand*\LKeyAltGr{\BiolinumKeyGlyph{AltGr}} \DeclareRobustCommand*\LKeyShift{\BiolinumKeyGlyph{Shift}} \DeclareRobustCommand*\LKeyTab{\BiolinumKeyGlyph{Tab}} @@ -501,6 +504,7 @@ \DeclareRobustCommand*\LKeyStrgX[1]{\LKeyStrg+\LKey{#1}} \DeclareRobustCommand*\LKeyShiftX[1]{\LKeyShift+\LKey{#1}} \DeclareRobustCommand*\LKeyAltX[1]{\LKeyAlt+\LKey{#1}} +\DeclareRobustCommand*\LKeyAltAppleX[1]{\LKeyAltApple+\LKey{#1}} \DeclareRobustCommand*\LKeyAltGrX[1]{\LKeyAltGr+\LKey{#1}} \DeclareRobustCommand*\LKeyShiftStrgX[1]{\LKeyShift+\LKeyStrg+\LKey{#1}} \DeclareRobustCommand*\LKeyShiftAltX[1]{\LKeyShift+\LKeyAlt+\LKey{#1}} @@ -602,5 +606,5 @@ \def\L@DLIG-{\addfontfeature{RawFeature=-dlig}} \def\L@@DLIG#1{\addfontfeature{RawFeature=+dlig}\ifx#1+\else#1\fi} - +\endinput -- cgit v1.2.3