From 544e5f90dfe86265e2169b477a2a9057be02d9db Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 25 Apr 2020 20:47:05 +0000 Subject: libertinus-otf (25apr20) git-svn-id: svn://tug.org/texlive/trunk@54872 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/fonts/libertinus-otf/Changes | 1 + .../fonts/libertinus-otf/libertinus-otf-doc.pdf | Bin 683645 -> 687625 bytes .../fonts/libertinus-otf/libertinus-otf-doc.tex | 31 ++++++++++++++++----- .../tex/latex/libertinus-otf/libertinus-otf.sty | 18 +++++++----- Master/tlpkg/libexec/ctan2tds | 9 +++--- 5 files changed, 41 insertions(+), 18 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/fonts/libertinus-otf/Changes b/Master/texmf-dist/doc/fonts/libertinus-otf/Changes index f6b33892adf..2a024ff3309 100644 --- a/Master/texmf-dist/doc/fonts/libertinus-otf/Changes +++ b/Master/texmf-dist/doc/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/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.pdf b/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.pdf index 0236d89fa73..334eb922065 100644 Binary files a/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.pdf and b/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.pdf differ diff --git a/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex b/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex index dd2186d2750..9a94f6ba5c6 100644 --- a/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex +++ b/Master/texmf-dist/doc/fonts/libertinus-otf/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/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty b/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty index f0ffebc9602..85e4d916490 100644 --- a/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty +++ b/Master/texmf-dist/tex/latex/libertinus-otf/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 diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 032a98174e6..c70ac216ab5 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -4401,10 +4401,11 @@ sub killfiles { # create/update README.TEXLIVE. open (RTL, ">README.TEXLIVE") || warn "open(>README.TEXLIVE) failed: $!"; print RTL <<"EOF"; -The following files have been removed in the TeX Live installation of -the current package, typically due to duplication, lack of space, or -missing source code. You can find these files on CTAN$ctan_url -If questions or concerns, email tex-live\@tug.org. +The files below have been removed in the TeX Live installation of +the current package, typically due to missing source code. If this is a +concern, please contact the package maintainer. + +You can find these files on CTAN$ctan_url. EOF foreach my $f (@delfiles) { -- cgit v1.2.3