texlive[45991] Master/texmf-dist: dejavu-otf (5dec17)

commits+karl at tug.org commits+karl at tug.org
Tue Dec 5 23:48:17 CET 2017


Revision: 45991
          http://tug.org/svn/texlive?view=revision&revision=45991
Author:   karl
Date:     2017-12-05 23:48:16 +0100 (Tue, 05 Dec 2017)
Log Message:
-----------
dejavu-otf (5dec17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/dejavu-otf/Changes
    trunk/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.fonts
    trunk/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.pdf
    trunk/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.tex
    trunk/Master/texmf-dist/tex/latex/dejavu-otf/dejavu-otf.sty

Modified: trunk/Master/texmf-dist/doc/fonts/dejavu-otf/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/dejavu-otf/Changes	2017-12-05 01:22:45 UTC (rev 45990)
+++ trunk/Master/texmf-dist/doc/fonts/dejavu-otf/Changes	2017-12-05 22:48:16 UTC (rev 45991)
@@ -1,2 +1,4 @@
+0.04  2017-12-05  - do not define SmallCaps, DejaVu has no one
+0.03  2017-10-04  - fix for mono font
 0.02  2017-10-04  - fix for spurious spaces in the code
 0.01  2017-09-29  - first CTAN version

Modified: trunk/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.fonts
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.fonts	2017-12-05 01:22:45 UTC (rev 45990)
+++ trunk/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.fonts	2017-12-05 22:48:16 UTC (rev 45991)
@@ -1,25 +1,25 @@
 name                                 type              encoding         emb sub uni object ID
 ------------------------------------ ----------------- ---------------- --- --- --- ---------
-IGROJN+DejaVuSerif                   CID TrueType      Identity-H       yes yes yes      5  0
-LNJAYK+DejaVuSerif-Bold              CID TrueType      Identity-H       yes yes yes      7  0
-IOSZDE+DejaVuSansMono                CID TrueType      Identity-H       yes yes yes     15  0
-OMIAQD+DejaVuSerif-Italic            CID TrueType      Identity-H       yes yes yes     20  0
-HBRQDR+DejaVuSansMono-Oblique        CID TrueType      Identity-H       yes yes yes     22  0
-PSDAVJ+DejaVuSerif-BoldItalic        CID TrueType      Identity-H       yes yes yes     30  0
-MDYHEB+DejaVuSans                    CID TrueType      Identity-H       yes yes yes     32  0
-NSPVTF+DejaVuSans-Oblique            CID TrueType      Identity-H       yes yes yes     34  0
-BCIUUO+DejaVuSans-Bold               CID TrueType      Identity-H       yes yes yes     36  0
-LWTJBI+DejaVuSans-BoldOblique        CID TrueType      Identity-H       yes yes yes     38  0
-MQCRQX+DejaVuSansMono-Bold           CID TrueType      Identity-H       yes yes yes     43  0
-BFCZOI+DejaVuSansMono-BoldOblique    CID TrueType      Identity-H       yes yes yes     45  0
-ABARYV+DejaVuSerifCondensed          CID TrueType      Identity-H       yes yes yes     47  0
-YZXGTT+DejaVuSerifCondensed-Italic   CID TrueType      Identity-H       yes yes yes     49  0
-WFPQOQ+DejaVuSerifCondensed-Bold     CID TrueType      Identity-H       yes yes yes     51  0
-ADGCUZ+DejaVuSerifCondensed-BoldItalic CID TrueType      Identity-H       yes yes yes     53  0
-BVEDWS+DejaVuSansCondensed           CID TrueType      Identity-H       yes yes yes     55  0
-LWTNPR+DejaVuSansCondensed-Oblique   CID TrueType      Identity-H       yes yes yes     60  0
-LNTKWM+DejaVuSansCondensed-Bold      CID TrueType      Identity-H       yes yes yes     62  0
-ESTTIK+DejaVuSansCondensed-BoldOblique CID TrueType      Identity-H       yes yes yes     64  0
-MINUMJ+DejaVuSans-ExtraLight         CID TrueType      Identity-H       yes yes yes     66  0
-TNHZSD+TeXGyreDejaVuMath-Regular-Identity-H CID Type 0C       Identity-H       yes yes yes     71  0
-GGHBQD+LinLibertineO-Identity-H      CID Type 0C       Identity-H       yes yes yes     80  0
+XWRXBK+DejaVuSerif                   CID TrueType      Identity-H       yes yes yes      5  0
+BPLPDT+DejaVuSerif-Bold              CID TrueType      Identity-H       yes yes yes      7  0
+YHDRHE+DejaVuSansMono                CID TrueType      Identity-H       yes yes yes     15  0
+DNPWHP+DejaVuSerif-Italic            CID TrueType      Identity-H       yes yes yes     20  0
+FKESZH+DejaVuSansMono-Oblique        CID TrueType      Identity-H       yes yes yes     22  0
+WAJTVT+DejaVuSerif-BoldItalic        CID TrueType      Identity-H       yes yes yes     30  0
+YTAEMJ+DejaVuSans                    CID TrueType      Identity-H       yes yes yes     32  0
+IPWAMF+DejaVuSans-Oblique            CID TrueType      Identity-H       yes yes yes     34  0
+PTPULR+DejaVuSans-Bold               CID TrueType      Identity-H       yes yes yes     36  0
+DZRLXY+DejaVuSans-BoldOblique        CID TrueType      Identity-H       yes yes yes     38  0
+ZVYKOU+DejaVuSansMono-Bold           CID TrueType      Identity-H       yes yes yes     43  0
+DPPFVE+DejaVuSansMono-BoldOblique    CID TrueType      Identity-H       yes yes yes     45  0
+PDTNFF+DejaVuSerifCondensed          CID TrueType      Identity-H       yes yes yes     47  0
+TVAKRM+DejaVuSerifCondensed-Italic   CID TrueType      Identity-H       yes yes yes     49  0
+DWLXIK+DejaVuSerifCondensed-Bold     CID TrueType      Identity-H       yes yes yes     51  0
+VJIVTY+DejaVuSerifCondensed-BoldItalic CID TrueType      Identity-H       yes yes yes     53  0
+RYPHDK+DejaVuSansCondensed           CID TrueType      Identity-H       yes yes yes     55  0
+NUQGIV+DejaVuSansCondensed-Oblique   CID TrueType      Identity-H       yes yes yes     60  0
+ODSOPJ+DejaVuSansCondensed-Bold      CID TrueType      Identity-H       yes yes yes     62  0
+ATGOQQ+DejaVuSansCondensed-BoldOblique CID TrueType      Identity-H       yes yes yes     64  0
+ANBKIW+DejaVuSans-ExtraLight         CID TrueType      Identity-H       yes yes yes     66  0
+LAUAJZ+TeXGyreDejaVuMath-Regular-Identity-H CID Type 0C       Identity-H       yes yes yes     71  0
+ASFVHU+LinLibertineO-Identity-H      CID Type 0C       Identity-H       yes yes yes     80  0

Modified: trunk/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.tex	2017-12-05 01:22:45 UTC (rev 45990)
+++ trunk/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.tex	2017-12-05 22:48:16 UTC (rev 45991)
@@ -163,9 +163,6 @@
 
 \newcommand*\demotextsc{\textsc{\ Sphinx of black quartz, judge my vow}.}
 
-\newcommand*\otfoldstylenums{\addfontfeatures{Numbers={OldStyle}}}
-\newcommand*\demotextosf{\ \otfoldstylenums{0123456789}.}
-
 The basic text family is \code{DejaVuSerif}, with the usual four
 variants---\allowbreak regular, italic, bold, and bold italic. %, all with
 %oldstyle figures; small caps are available in the upright shapes:
@@ -172,10 +169,10 @@
 
 \noindent
 \begin{tabularx}{\dimexpr\linewidth+\marginparwidth}{@{} >{\raggedright}X >{\ttfamily}l @{}}
-\demotext\demotextsc \demotextosf & DejaVu Serif\\[4pt]
-\itshape\demotext\demotextosf & DejaVu Serif Italic\\[4pt]
-\bfseries\demotext\demotextsc \demotextosf & DejaVu Serif Bold\\[4pt]
-\bfseries\itshape\demotext\demotextosf & DejaVu Serif BoldItalic\\[12pt]
+\demotext\demotextsc & DejaVu Serif\\[4pt]
+\itshape\demotext & DejaVu Serif Italic\\[4pt]
+\bfseries\demotext & DejaVu Serif Bold\\[4pt]
+\bfseries\itshape\demotext & DejaVu Serif BoldItalic\\[12pt]
 %\end{tabularx}
 ~ & ~ \\
 %\noindent

Modified: trunk/Master/texmf-dist/tex/latex/dejavu-otf/dejavu-otf.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dejavu-otf/dejavu-otf.sty	2017-12-05 01:22:45 UTC (rev 45990)
+++ trunk/Master/texmf-dist/tex/latex/dejavu-otf/dejavu-otf.sty	2017-12-05 22:48:16 UTC (rev 45991)
@@ -7,7 +7,7 @@
 % Copyright 2017 Herbert Voss hvoss at tug.org
 %%
 \ProvidesPackage{dejavu-otf}[%
-  2017/10/04 v. 0.02 (Herbert Voss) Supports DejaVu OpenType for lualatex/xelatex.] 
+  2017/12/05 v. 0.04 (Herbert Voss) Supports DejaVu OpenType for lualatex/xelatex.] 
 %
 \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
 \RequirePackage{unicode-math}  % support opentype math fonts
@@ -41,7 +41,7 @@
 
 \ProcessOptionsX\relax
 
-\defaultfontfeatures{Ligatures=TeX,\DejaVu at DefaultFeatures}% default in fontspec
+\defaultfontfeatures{Ligatures=TeX,RawFeature={-smcp},\DejaVu at DefaultFeatures}% default in fontspec
 %
 \ifDejaVu at usefilenames
 %
@@ -71,6 +71,9 @@
     \setmonofont{DejaVuSansMono}[% main typewriter
         UprightFont = *,
            Extension = .ttf,
+            BoldFont = *-Bold,
+           ItalicFont= *-Oblique,
+      BoldItalicFont = *-BoldOblique,
       \DejaVuTT at features,
     ]
   \fi
@@ -78,7 +81,7 @@
   % Setting math
   % First we have to expand the feature macros:
   \ifDejaVu at math
-    \edef\Set at MathNormal{\noexpand\setmathfont{texgyredejavu-math.otf}[AutoFakeBold=1.6,\DejaVuMM at features,version=normal]}%
+    \edef\Set at MathNormal{\noexpand\setmathfont{texgyredejavu-math.otf}[AutoFakeBold=1.4,\DejaVuMM at features,version=normal]}%
     \Set at MathNormal
 %    \ifxetex
 %      \edef\Set at MathBold{\noexpand\setmathfont{texgyredejavu-math.otf}[AutoFakeBold=2,\DejaVuMMbold at features,version=bold]}%
@@ -105,6 +108,9 @@
   \newfontfamily\DejaVuSansLight{DejaVuSans-ExtraLight}[% 
            Extension = .ttf,
       \DejaVuSS at features,
+            BoldFont = *-Bold,
+           ItalicFont= *-Oblique,
+      BoldItalicFont = *-BoldOblique,
     ]
 
 \else
@@ -118,7 +124,7 @@
         ItalicFont = * Italic,
     BoldItalicFont = * Bold Italic,
     SmallCapsFont  = *, %
-    SmallCapsFeatures={Letters=SmallCaps},
+%    SmallCapsFeatures={Letters=SmallCaps},
 %    UprightFeatures = { SmallCapsFont={ <sc> }},
 %    BoldFeatures = { SmallCapsFont={ <bf sc> }},
 %    ItalicFeatures = { SmallCapsFont={ <it sc> }},
@@ -133,13 +139,19 @@
           BoldFont = * Bold,
          ItalicFont= * Oblique,
     BoldItalicFont = * Bold Oblique,
-    SmallCapsFont  = *, %
-    SmallCapsFeatures={Letters=SmallCaps},
+%    SmallCapsFont  = *, %
+%    SmallCapsFeatures={Letters=SmallCaps},
   ]
 \fi
 %
 \ifDejaVu at mono
-  \setmonofont{DejaVu Sans Mono}[\DejaVuTT at features,]
+  \setmonofont{DejaVu Sans Mono}[
+        UprightFont= *,
+    \DejaVuTT at features,
+          BoldFont = * Bold,
+         ItalicFont= * Oblique,
+    BoldItalicFont = * Bold Oblique,
+  ]
 \fi
 %
 % Setting math
@@ -146,9 +158,11 @@
 % First we have to expand the feature macros:
 \ifDejaVu at math
   \ifxetex
-    \edef\Set at MathNormal{\noexpand\setmathfont{texgyredejavu-math.otf}[AutoFakeBold=1.6,\DejaVuMMbold at features]}%
+    \edef\Set at MathNormal{\noexpand\setmathfont{texgyredejavu-math.otf}[AutoFakeBold=1,\DejaVuMMbold at features]}%
   \else
-    \edef\Set at MathNormal{\noexpand\setmathfont{TeXGyreDejaVuMath-Regular}[AutoFakeBold=1.6,\DejaVuMM at features]}%
+    \edef\Set at MathNormal{\noexpand\setmathfont{TeXGyreDejaVuMath-Regular}[\DejaVuMM at features]%
+                         \noexpand\setmathfont{TeXGyreDejaVuMath-Regular}[\DejaVuMM at features,version=bold]%
+    }%
   \fi
   \Set at MathNormal
 \fi



More information about the tex-live-commits mailing list