diff options
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/fonts/libertinus-otf/Changes | 3 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/libertinus-otf/README.md | 7 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.pdf | bin | 401409 -> 256584 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex | 185 |
4 files changed, 129 insertions, 66 deletions
diff --git a/Master/texmf-dist/doc/fonts/libertinus-otf/Changes b/Master/texmf-dist/doc/fonts/libertinus-otf/Changes index 376d1c811f1..d0fa24c8bd9 100644 --- a/Master/texmf-dist/doc/fonts/libertinus-otf/Changes +++ b/Master/texmf-dist/doc/fonts/libertinus-otf/Changes @@ -1,3 +1,6 @@ +0.20 2019-09-20 - use the feature setting for the missing fonts + and do nit 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 - changed LibertinusSans-BoldOblique to diff --git a/Master/texmf-dist/doc/fonts/libertinus-otf/README.md b/Master/texmf-dist/doc/fonts/libertinus-otf/README.md index 303ab73a20a..5513e8aa1b8 100644 --- a/Master/texmf-dist/doc/fonts/libertinus-otf/README.md +++ b/Master/texmf-dist/doc/fonts/libertinus-otf/README.md @@ -1,16 +1,13 @@ # README # Package libertinus-otf supports the free fonts from -ctan.org/fonts/libertinus and installs additionally math-bold, -mono-bold and mono-italic +ctan.org/fonts/libertinus and defines the missing ones +via several font feature setting. % This file is distributed under the terms of the LaTeX Project Public % License from CTAN archives in directory macros/latex/base/lppl.txt. % Either version 1.3 or, at your option, any later version. % % -The four fonts which are missing in the libertinus package -have the SIL Open Font License and are derived from the ones -in the libertinus-fonts package. % Copyright 2019 Herbert Voss hvoss@tug.org 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 Binary files differindex e7f0f5e5496..e3ca3590cfa 100644 --- a/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.pdf +++ b/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.pdf 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 e7a6c2ed15e..2e998429d4b 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,4 +1,4 @@ -%% $Id: libertinus-otf-doc.tex 1070 2019-05-31 04:01:49Z herbert $ +%% $Id: libertinus-otf-doc.tex 1086 2019-09-20 13:39:09Z herbert $ \listfiles \documentclass[polish,english]{article} \usepackage{libertinus-otf} @@ -21,7 +21,8 @@ \item\relax} {\endlist\endgroup} -\def\Lcs#1{\texttt{\textbackslash#1}} +\def\Lcs#1{\texttt{\textbackslash#1}\index{#1@\\texttt{\textbackslash#1}}} +\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}} \title{OpenType font Libertinus} @@ -44,7 +45,7 @@ math font. \section{The default setting} -The font package \texttt{libertinus} installs the following OpenType fonts: +The font package \Lpack{libertinus-fonts} installs the following OpenType fonts: \begin{verbatim} LibertinusSerif-Regular.otf @@ -66,65 +67,119 @@ LibertinusMono-Regular.otf ----------------------------------- LibertinusMath-Regular.otf ----------------------------------- - - - - - -\end{verbatim} - -The package liberinus-otf installs the additional ones: - -\begin{verbatim} -LibertinusMono-Oblique.otf -LibertinusMono-Bold.otf -LibertinusMono-BoldOblique.otf - -LibertinusSans-BoldOblique.otf - -LibertinusMath-Bold.otf \end{verbatim} -all created with \textsc{FontForge}. - -With the package \texttt{libertinus-otf} the serif, sans, mono, and math fonts are set +With the package \Lpack{libertinus-otf} the serif, sans, mono, and math fonts are set as usual: \begin{verbatim} \RequirePackage{unicode-math} \setmainfont{LibertinusSerif}[ - Numbers = {\libertinus@figurealign,\libertinus@figurestyle}, + RawFeature = {\libertinus@figurealign;\libertinus@figurestyle}, + Scale = \libertinusRM@scale , + UprightFont = *-Regular, + ItalicFont = *-Italic, + BoldFont = *-\libertinus@boldstyle, + BoldItalicFont = *-\libertinus@boldstyle Italic, + SmallCapsFont = *-Regular, + SmallCapsFeatures={RawFeature=+smcp}, + Extension = .otf +] + +\newfontfamily\LibertinusSerifSB{LibertinusSerif}[ + RawFeature = {\libertinus@figurealign;\libertinus@figurestyle}, + Scale = \libertinusRM@scale, + UprightFont = *-Regular, + ItalicFont = *-Italic, + BoldFont = *-Semibold, + BoldItalicFont = *-SemiboldItalic, + SmallCapsFont = *-Regular, + SmallCapsFeatures={RawFeature=+smcp}, + Extension = .otf +] + +\newfontfamily\LibertinusSerifOsF{LibertinusSerif}[ + RawFeature = {+onum}, + Scale = \libertinusRM@scale , + UprightFont = *-Regular, + ItalicFont = *-Italic, + BoldFont = *-\libertinus@boldstyle, + BoldItalicFont = *-\libertinus@boldstyle Italic, + SmallCapsFont = *-Regular, + SmallCapsFeatures={RawFeature=+smcp}, + Extension = .otf +] + +\newfontfamily\LibertinusSerifTLF{LibertinusSerif}[ + RawFeature = {+tnum;-onum}, Scale = \libertinusRM@scale , UprightFont = *-Regular, ItalicFont = *-Italic, BoldFont = *-\libertinus@boldstyle, BoldItalicFont = *-\libertinus@boldstyle Italic, - SmallCapsFeatures={Letters=SmallCaps}, + SmallCapsFont = *-Regular, + SmallCapsFeatures={RawFeature=+smcp}, Extension = .otf ] + \setsansfont{LibertinusSans}[ - Numbers = {\libertinus@figurealign,\libertinus@figurestyle} , + Extension = .otf, + RawFeature = {\libertinus@figurealign;\libertinus@figurestyle} , + Scale = \libertinusSF@scale , + UprightFont = *-Regular, + ItalicFont = *-Italic, + BoldFont = *-Bold, + BoldItalicFont = *-Italic, + BoldItalicFeatures = {RawFeature={embolden=3}}, + SmallCapsFont = *-Regular, + SmallCapsFeatures={RawFeature=+smcp}, +] + +\newfontfamily\LibertinusSansOsF{LibertinusSans}[ + RawFeature = {+onum;+pnum}, + Scale = \libertinusSF@scale , + UprightFont = *-Regular, + ItalicFont = *-Italic, + BoldFont = *-Bold, + BoldItalicFont = *-Italic, + BoldItalicFeatures = {RawFeature={embolden=3}}, + SmallCapsFont = *-Regular, + SmallCapsFeatures={RawFeature=+smcp}, + Extension = .otf +] + +\newfontfamily\LibertinusSansTLF{LibertinusSans}[ + RawFeature = {+lnum;-onum;+tnum} , Scale = \libertinusSF@scale , UprightFont = *-Regular, ItalicFont = *-Italic, BoldFont = *-Bold, - BoldItalicFont = *-BoldOblique, - SmallCapsFeatures={Letters=SmallCaps}, + BoldItalicFont = *-Italic, + BoldItalicFeatures = {RawFeature={embolden=3}}, + SmallCapsFont = *-Regular, + SmallCapsFeatures={RawFeature=+smcp}, Extension = .otf ] + +\iflibertinus@mono \setmonofont{LibertinusMono}[ + RawFeature = {\libertinus@figurealign; \libertinus@figurestyle}, Scale = \libertinusTT@scale, FakeStretch = 0.8, UprightFont = *-Regular, - ItalicFont = *-Oblique, - BoldFont = *-Bold, - BoldItalicFont = *-BoldOblique, + ItalicFont = *-Regular, + ItalicFeatures = {FakeSlant=0.2}, + BoldFont = *-Regular, + BoldFeatures = {RawFeature={embolden=3}}, + BoldItalicFont = *-Regular, + BoldItalicFeatures={FakeSlant=0.2,RawFeature={embolden=3}}, Extension = .otf, ] -\setmathfont{LibertinusMath-Regular.otf}[BoldFont=LibertinusMath-Bold.otf] +\setmathfont{LibertinusMath-Regular.otf}%[BoldFont=LibertinusMath-Bold.otf] +\setmathfont[version=bold,RawFeature={embolden=3}]{LibertinusMath-Regular.otf} \newfontfamily\LibertinusKeyboard{libertinuskeyboard-regular.otf} \newfontfamily\LibertinusDisplay{libertinusserifdisplay-regular.otf} @@ -275,9 +330,9 @@ However, by default the package loads the Libertinus Mono font: -.,mnbvcxy<\#äölkjhgfdsa+üpoiuztrewq\textasciicircum{}234567890ß'`?=)(/\&\%\$§"!°QWERTZUIOPÜ*'ÄÖLKJHGFDSA>YXCVBNM;:\_\\ \itshape -.,mnbvcxy<\#äölkjhgfdsa+üpoiuztrewq\textasciicircum{}234567890ß'`?=)(/\&\%\$§"!°QWERTZUIOPÜ*'ÄÖLKJHGFDSA>YXCVBNM;:\_\\ -\bfseries +\bfseries -.,mnbvcxy<\#äölkjhgfdsa+üpoiuztrewq\textasciicircum{}234567890ß'`?=)(/\&\%\$§"!°QWERTZUIOPÜ*'ÄÖLKJHGFDSA>YXCVBNM;:\_\\ -\mdseries +\upshape -.,mnbvcxy<\#äölkjhgfdsa+üpoiuztrewq\textasciicircum{}234567890ß'`?=)(/\&\%\$§"!°QWERTZUIOPÜ*'ÄÖLKJHGFDSA>YXCVBNM;:\_\\ \normalfont\normalsize @@ -368,11 +423,11 @@ Possible optional arguments are \noindent \begin{tabular}{@{} >{\ttfamily}l l @{}} oldstyle, osf & old-style figures \\ -lining, nf, lf & lining figures\\ +lining, nf, lf & lining figures (default)\\ proportional, p & varying-width figures\\ -tabular, t & fixed-width figures \\ -%semibold, sb & semibold version\\ -%bold & bold version\\\hline +tabular, t & fixed-width figures (default)\\ +semibold, sb & semibold version\\ +bold & bold version (default)\\\hline ScaleRM & scaling for the serif font, preset to 1\\ ScaleSF & scaling for the sans serif font, preset to 1\\ ScaleTT & scaling for the mono font, preset to \texttt{MatchLowercase}\\\hline @@ -387,7 +442,7 @@ defaultfeatures & valid for all fonts\\ % grfOptions={width=0.5\linewidth}, frame,compiler=lualatex, crop, - force=true, + force=false, runs=2,code,docType=latex, frame, % showFilename, @@ -408,7 +463,7 @@ defaultfeatures & valid for all fonts\\ % grfOptions={width=0.5\linewidth}, compiler=lualatex, crop, - force=true, + force=false, runs=2,code,docType=latex, frame, % showFilename, @@ -432,7 +487,7 @@ defaultfeatures & valid for all fonts\\ % grfOptions={width=0.5\linewidth}, frame,compiler=lualatex, crop, - force=true, + force=false, runs=2,code,docType=latex, frame, % showFilename, @@ -444,7 +499,9 @@ defaultfeatures & valid for all fonts\\ \usepackage[t=false]{libertinus-otf} %StopVisiblePreamble \begin{document} -0000111122223333444455556666777788889999\par abcdefghijklmn +0000111122223333444455556666777788889999\par +\addfontfeatures{RawFeature=+tnum}% +0000111122223333444455556666777788889999 \end{document} \end{externalDocument} @@ -453,7 +510,7 @@ defaultfeatures & valid for all fonts\\ % grfOptions={width=0.5\linewidth}, frame,compiler=lualatex, crop, - force=true, + force=false, runs=2,code,docType=latex, frame, % showFilename, @@ -465,7 +522,9 @@ defaultfeatures & valid for all fonts\\ \usepackage[p]{libertinus-otf} %StopVisiblePreamble \begin{document} -0000111122223333444455556666777788889999\par abcdefghijklmn +0000111122223333444455556666777788889999\par +\addfontfeatures{RawFeature=-pnum}% +0000111122223333444455556666777788889999 \end{document} \end{externalDocument} @@ -477,7 +536,7 @@ defaultfeatures & valid for all fonts\\ % grfOptions={width=0.5\linewidth}, frame,compiler=lualatex, crop, - force=true, + force=false, runs=2,code,docType=latex, frame, % showFilename, @@ -489,7 +548,7 @@ defaultfeatures & valid for all fonts\\ \usepackage{libertinus-otf} %StopVisiblePreamble \begin{document} -ÄËÖ\par\defaultfontfeatures{StylisticSet=1}\fontspec{Libertinus Serif} +ÄËÖ\par\addfontfeatures{RawFeature=+ss01} ÄËÖ \end{document} \end{externalDocument} @@ -499,7 +558,7 @@ defaultfeatures & valid for all fonts\\ \begin{externalDocument}[ frame,compiler=lualatex, crop, - force=true, + force=false, runs=2,code,docType=latex, frame, lstOptions={columns=fixed}]{Libertinus} @@ -509,7 +568,7 @@ defaultfeatures & valid for all fonts\\ \usepackage{libertinus-otf} %StopVisiblePreamble \begin{document} -JKR\par\defaultfontfeatures{StylisticSet=2}\fontspec{Libertinus Serif} +JKR\par\addfontfeatures{RawFeature=+ss02} JKR \end{document} \end{externalDocument} @@ -519,7 +578,7 @@ JKR % grfOptions={width=0.5\linewidth}, frame,compiler=lualatex, crop, - force=true, + force=false, runs=2,code,docType=latex, frame, % showFilename, @@ -531,16 +590,19 @@ JKR \usepackage{libertinus-otf} %StopVisiblePreamble \begin{document} -{ß\defaultfontfeatures{StylisticSet=3}\fontspec{Libertinus Serif}ß}\par -ẞ\defaultfontfeatures{StylisticSet=4}\fontspec{Libertinus Serif}ẞ +{ß\addfontfeatures{RawFeature=+ss03}ß}\par +ẞ\addfontfeatures{RawFeature=+ss04}ẞ \end{document} \end{externalDocument} + + + \begin{externalDocument}[ % grfOptions={width=0.5\linewidth}, frame,compiler=lualatex, crop, - force=true, + force=false, runs=2,code,docType=latex, frame, % showFilename, @@ -554,8 +616,10 @@ JKR \begin{document} \huge W -\defaultfontfeatures{StylisticSet=5}\fontspec{Libertinus Serif} +\addfontfeatures{RawFeature=+ss05} W +\verb=\Wikipedia=% +$\rightarrow$\Wikipedia \end{document} \end{externalDocument} @@ -565,7 +629,7 @@ W % grfOptions={width=0.5\linewidth}, frame,compiler=lualatex, crop, - force=true, + force=false, runs=2,code,docType=latex, frame, % showFilename, @@ -578,7 +642,7 @@ W %StopVisiblePreamble \begin{document} \huge\& -\defaultfontfeatures{StylisticSet=6}\fontspec{Libertinus Serif} +\addfontfeatures{RawFeature=+ss06} \& \end{document} \end{externalDocument} @@ -766,6 +830,7 @@ Taka Albo tace Usta pęk ucha. 0 1 2 3 4 5 6 7 8 9 0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Ä \symbol{"00C5} \symbol{"00C6} \symbol{"00C7} Ö \symbol{"00D8} \symbol{"00DC} \symbol{"00DF} +\iffalse \symbol{"0132} \symbol{"014A} \symbol{"0150} \symbol{"0152} \symbol{"0170} \multido{\nA=913+1}{17}{\symbol{\nA} } \multido{\nA=931+1}{7}{\symbol{\nA} } @@ -779,7 +844,7 @@ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z \symbol{"E040} \symbol{"E041} \symbol{"E042} \multido{\nA=65537+1}{42}{\symbol{\nA} } \multido{\nA=65580+1}{11}{\symbol{\nA} } - +\fi \normalfont @@ -790,17 +855,17 @@ a Libertinus font, one can use a predefinded command: \begin{verbatim} \LibertinusSerifSB (SemiBold) \LibertinusSerifOsF (Old style proportional figures) -\LibertinusSerifTLF (Lining figures monospaced) \LibertinusSansOsF (Old style proportional figures) -\LibertinusSansTLF (Lining figures monospaced) \end{verbatim} +%\LibertinusSerifTLF (Lining figures monospaced) +%\LibertinusSansTLF (Lining figures monospaced) \begin{externalDocument}[ frame,compiler=lualatex, crop, - force=true, + force=false, runs=2,code,docType=latex, frame, lstOptions={columns=fixed}]{Libertinus} @@ -814,9 +879,7 @@ The default 0123456 {\bfseries standard bold} {\LibertinusSerifSB\bfseries SemiBold 0123456} \LibertinusSerifOsF normal weight 0123456 -\LibertinusSerifTLF normal weight 0123456 \LibertinusSansOsF normal weight 0123456 -\LibertinusSansTLF normal weght 0123456 \end{document} \end{externalDocument} |