texlive[52394] Master/texmf-dist: libertinus-otf (15oct19)

commits+karl at tug.org commits+karl at tug.org
Tue Oct 15 23:55:29 CEST 2019


Revision: 52394
          http://tug.org/svn/texlive?view=revision&revision=52394
Author:   karl
Date:     2019-10-15 23:55:29 +0200 (Tue, 15 Oct 2019)
Log Message:
-----------
libertinus-otf (15oct19)

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

Modified: trunk/Master/texmf-dist/doc/fonts/libertinus-otf/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/libertinus-otf/Changes	2019-10-15 21:55:18 UTC (rev 52393)
+++ trunk/Master/texmf-dist/doc/fonts/libertinus-otf/Changes	2019-10-15 21:55:29 UTC (rev 52394)
@@ -1,5 +1,7 @@
+0.21  2019-10-15  - added feature definitions for slanted fonts
+                  - add glyph list in the documentation
 0.20  2019-09-20  - use the feature setting for the missing fonts
-                    and do nit create own ones.
+                    and do not 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

Modified: trunk/Master/texmf-dist/doc/fonts/libertinus-otf/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/libertinus-otf/README.md	2019-10-15 21:55:18 UTC (rev 52393)
+++ trunk/Master/texmf-dist/doc/fonts/libertinus-otf/README.md	2019-10-15 21:55:29 UTC (rev 52394)
@@ -1,7 +1,7 @@
 # README #
 Package libertinus-otf supports the free fonts from
 ctan.org/fonts/libertinus  and defines the missing ones 
-via several font feature setting.
+via several font feature settings.
 
 % This file is distributed under the terms of the LaTeX Project Public
 % License from CTAN archives in directory  macros/latex/base/lppl.txt.

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-10-15 21:55:18 UTC (rev 52393)
+++ trunk/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex	2019-10-15 21:55:29 UTC (rev 52394)
@@ -1,8 +1,9 @@
-%% $Id: libertinus-otf-doc.tex 1086 2019-09-20 13:39:09Z herbert $
+%% $Id: libertinus-otf-doc.tex 1099 2019-10-15 13:41:36Z herbert $
 \listfiles
-\documentclass[polish,english]{article}
+\documentclass[polish,english,a4paper]{article}
 \usepackage{libertinus-otf}
 \usepackage{babel}
+\usepackage{geometry}
 \usepackage{booktabs}
 \usepackage{xltabular}
 \usepackage{listings}
@@ -25,6 +26,11 @@
 \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}}
 
+\usepackage{multicol,luacode}
+\setlength{\columnsep}{0.3cm}
+\setlength{\columnseprule}{0.1pt}
+
+
 \title{OpenType font Libertinus}
 \author{Herbert Voß}
 \usepackage{parskip}
@@ -885,6 +891,37 @@
 
 
 
+\clearpage
+\newgeometry{margin=1cm,bmargin=2cm}
 
+\section{The font list of Libertinus Serif}
 
+\rmfamily
+\begin{multicols}{5}
+\begin{luacode*}
+  local f = fontloader.open('/usr/local/texlive/2019/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Regular.otf')
+  print("Max glyphs: "..f.glyphmax)
+  local glyphs = {}
+  for i = 0, f.glyphmax - 1 do
+	local g = f.glyphs[i]
+	if g then
+  	  table.insert(glyphs, {name = g.name, unicode = g.unicode})
+	end
+  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(')}\\\\')
+  end
+  fontloader.close(f)
+\end{luacode*}
+\end{multicols}
+
+
+
 \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	2019-10-15 21:55:18 UTC (rev 52393)
+++ trunk/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty	2019-10-15 21:55:29 UTC (rev 52394)
@@ -1,4 +1,4 @@
-%% $Id: libertinus-otf.sty 1086 2019-09-20 13:39:09Z herbert $
+%% $Id: libertinus-otf.sty 1099 2019-10-15 13:41: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 2019 Herbert Voss hvoss at tug.org and Bob Tennent rdt at cs.queensu.ca
 %
 \ProvidesPackage{libertinus-otf}[%
-  2019/09/20 v. 0.20 (Herbert Voss and Bob Tennent) Supports libertinus fonts for lualatex and xelatex.] 
+  2019/10/15 v. 0.21 (Herbert Voss and Bob Tennent) Supports libertinus fonts for lualatex and xelatex.] 
 
 \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
 %\RequirePackage[no-math]{fontspec}
@@ -87,6 +87,8 @@
   Scale          = \libertinusRM at scale ,
   UprightFont    = *-Regular,
   ItalicFont     = *-Italic,
+  SlantedFont    = *-Regular,
+  SlantedFeatures= {FakeSlant=0.2},
   BoldFont       = *-\libertinus at boldstyle, 
   BoldItalicFont = *-\libertinus at boldstyle Italic,
   SmallCapsFont  = *-Regular,
@@ -100,6 +102,8 @@
   Scale          = \libertinusRM at scale,
   UprightFont    = *-Regular,
   ItalicFont     = *-Italic,
+  SlantedFont    = *-Regular,
+  SlantedFeatures= {FakeSlant=0.2},
   BoldFont       = *-Semibold, 
   BoldItalicFont = *-SemiboldItalic,
   SmallCapsFont  = *-Regular,
@@ -113,6 +117,8 @@
   Scale          = \libertinusRM at scale ,
   UprightFont    = *-Regular,
   ItalicFont     = *-Italic,
+  SlantedFont    = *-Regular,
+  SlantedFeatures= {FakeSlant=0.2},
   BoldFont       = *-\libertinus at boldstyle, 
   BoldItalicFont = *-\libertinus at boldstyle Italic,
   SmallCapsFont  = *-Regular,
@@ -126,6 +132,8 @@
   Scale          = \libertinusRM at scale ,
   UprightFont    = *-Regular,
   ItalicFont     = *-Italic,
+  SlantedFont    = *-Regular,
+  SlantedFeatures= {FakeSlant=0.2},
   BoldFont       = *-\libertinus at boldstyle, 
   BoldItalicFont = *-\libertinus at boldstyle Italic,
   SmallCapsFont  = *-Regular,
@@ -140,6 +148,8 @@
   Scale          = \libertinusSF at scale ,
   UprightFont    = *-Regular,
   ItalicFont     = *-Italic,
+  SlantedFont    = *-Regular,
+  SlantedFeatures= {FakeSlant=0.2},
   BoldFont       = *-Bold, 
   BoldItalicFont = *-Italic,
   BoldItalicFeatures = {RawFeature={embolden=3}}, 
@@ -153,6 +163,8 @@
   Scale     = \libertinusSF at scale ,
   UprightFont    = *-Regular,
   ItalicFont     = *-Italic,
+  SlantedFont    = *-Regular,
+  SlantedFeatures= {FakeSlant=0.2},
   BoldFont       = *-Bold, 
   BoldItalicFont = *-Italic,
   BoldItalicFeatures = {RawFeature={embolden=3}}, 
@@ -184,6 +196,8 @@
   UprightFont    = *-Regular,
   ItalicFont     = *-Regular,
   ItalicFeatures = {FakeSlant=0.2},
+  SlantedFont    = *-Regular,
+  SlantedFeatures= {FakeSlant=0.2},
   BoldFont       = *-Regular,
   BoldFeatures   = {RawFeature={embolden=3}},
   BoldItalicFont = *-Regular,
@@ -198,7 +212,8 @@
   RawFeature        = {\libertinus at figurealign,\libertinus at figurestyle},
   Scale          = \libertinusRM at scale ,
 %  UprightFont    = * Regular,
-%  ItalicFont     = * Ialic,
+   SlantedFont    = * Regular,
+   SlantedFeatures= {FakeSlant=0.2},
 %  BoldFont       = * Bold, % \libertinus at boldstyle, 
 %  BoldItalicFont = * Bold Italic, %-\libertinus at boldstyle italic,
   SmallCapsFont   = * Regular,
@@ -214,6 +229,8 @@
 % ItalicFont     = *-Italic,
 % BoldFont       = *-\libertinus at boldstyle, 
 %  BoldItalicFont = *-\libertinus at boldstyle italic,
+   SlantedFont    = * Regular,
+   SlantedFeatures= {FakeSlant=0.2},
   SmallCapsFont   = * Regular,
   SmallCapsFeatures={RawFeature=+smcp},
 %  SmallCapsFeatures={Letters=SmallCaps}, 
@@ -225,6 +242,8 @@
   Scale          = \libertinusRM at scale ,
 % UprightFont    = *-Regular,
 % ItalicFont     = *-Italic,
+  SlantedFont    = *-Regular,
+  SlantedFeatures= {FakeSlant=0.2},
   BoldFont       = * Semibold, 
   BoldItalicFont = * Semibold Italic,
   SmallCapsFont   = *-Regular,
@@ -238,6 +257,8 @@
   Scale          = \libertinusRM at scale ,
 % UprightFont    = *-Regular,
 % ItalicFont     = *-Italic,
+  SlantedFont    = *-Regular,
+  SlantedFeatures= {FakeSlant=0.2},
 % BoldFont       = *-\libertinus at boldstyle, 
 % BoldItalicFont = *-\libertinus at boldstyle italic,
   SmallCapsFont   = *-Regular,
@@ -251,6 +272,8 @@
   Scale          = \libertinusRM at scale ,
 % UprightFont    = *-Regular,
 % ItalicFont     = *-Italic,
+  SlantedFont    = *-Regular,
+  SlantedFeatures= {FakeSlant=0.2},
 % BoldFont       = *-\libertinus at boldstyle, 
 % BoldItalicFont = *-\libertinus at boldstyle italic,
   SmallCapsFont   = *-Regular,
@@ -264,6 +287,8 @@
   Scale     = \libertinusSF at scale ,
   UprightFont    = * Regular,
   ItalicFont     = * Italic,
+  SlantedFont    = * Regular,
+  SlantedFeatures= {FakeSlant=0.2},
   BoldFont       = * Bold, 
   BoldItalicFont = * Italic,
   BoldItalicFeatures = {RawFeature={embolden=3}}, 
@@ -278,6 +303,8 @@
   Scale     = \libertinusSF at scale ,
   UprightFont    = * Regular,
   ItalicFont     = * Italic,
+  SlantedFont    = * Regular,
+  SlantedFeatures= {FakeSlant=0.2},
   BoldFont       = * Bold, 
   BoldItalicFont = * Italic,
   BoldItalicFeatures = {RawFeature={embolden=3}}, 
@@ -293,6 +320,8 @@
   Scale     = \libertinusSF at scale ,
   UprightFont    = * Regular,
   ItalicFont     = * Italic,
+  SlantedFont    = * Regular,
+  SlantedFeatures= {FakeSlant=0.2},
   BoldFont       = * Bold, 
   BoldItalicFont = * Italic,
   BoldItalicFeatures = {RawFeature={embolden=3}}, 
@@ -310,6 +339,8 @@
   UprightFont    = * Regular,
   ItalicFont     = * Regular,
   ItalicFeatures = {FakeSlant=0.2},
+  SlantedFont    = * Regular,
+  SlantedFeatures= {FakeSlant=0.2},
   BoldFont       = * Regular,
   BoldFeatures   = {RawFeature={embolden=3}},
   BoldItalicFont = * Regular,
@@ -324,6 +355,9 @@
 
 
 \iflibertinus at nomath\else
+  \typeout{*************************************^^J%
+           * Using libertinus math              *^^J%
+           *************************************}%
   \setmathfont{LibertinusMath-Regular.otf}%[BoldFont=LibertinusMath-Bold.otf]
   \setmathfont[version=bold,RawFeature={embolden=3}]{LibertinusMath-Regular.otf}
 \fi



More information about the tex-live-commits mailing list