texlive[73003] Master/texmf-dist: dejavu-otf (30nov24)

commits+karl at tug.org commits+karl at tug.org
Sat Nov 30 22:12:06 CET 2024


Revision: 73003
          https://tug.org/svn/texlive?view=revision&revision=73003
Author:   karl
Date:     2024-11-30 22:12:06 +0100 (Sat, 30 Nov 2024)
Log Message:
-----------
dejavu-otf (30nov24)

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	2024-11-30 00:41:59 UTC (rev 73002)
+++ trunk/Master/texmf-dist/doc/fonts/dejavu-otf/Changes	2024-11-30 21:12:06 UTC (rev 73003)
@@ -1,3 +1,4 @@
+0.06  2024-11-30  - fix for wrong math versions
 0.05  2024-11-28  - Fix for DejaVu-ExtraLight
 0.04  2017-12-05  - do not define SmallCaps, DejaVu has no one
 0.03  2017-10-04  - fix for mono font

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	2024-11-30 00:41:59 UTC (rev 73002)
+++ trunk/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.fonts	2024-11-30 21:12:06 UTC (rev 73003)
@@ -1,28 +1,28 @@
 name                                 type              encoding         emb sub uni object ID
 ------------------------------------ ----------------- ---------------- --- --- --- ---------
-NQQQTW+DejaVuSerif                   CID TrueType      Identity-H       yes yes yes      4  0
-FGGQPH+DejaVuSerif-Bold              CID TrueType      Identity-H       yes yes yes      6  0
-YNJWPW+DejaVuSerif-Italic            CID TrueType      Identity-H       yes yes yes     17  0
-TKLCGT+DejaVuSansMono                CID TrueType      Identity-H       yes yes yes     19  0
-ZZALOW+DejaVuSansMono-Oblique        CID TrueType      Identity-H       yes yes yes     21  0
-XYMYCF+DejaVuSerif-BoldItalic        CID TrueType      Identity-H       yes yes yes     29  0
-TNQRWJ+DejaVuSans                    CID TrueType      Identity-H       yes yes yes     31  0
-VZJQAZ+DejaVuSans-Oblique            CID TrueType      Identity-H       yes yes yes     33  0
-DMHZNO+DejaVuSans-Bold               CID TrueType      Identity-H       yes yes yes     35  0
-CILASI+DejaVuSans-BoldOblique        CID TrueType      Identity-H       yes yes yes     37  0
-CPUHLE+DejaVuSansMono-Bold           CID TrueType      Identity-H       yes yes yes     42  0
-KUKPVU+DejaVuSansMono-BoldOblique    CID TrueType      Identity-H       yes yes yes     44  0
-AHOYWR+DejaVuSerifCondensed          CID TrueType      Identity-H       yes yes yes     46  0
-WVSZJI+DejaVuSerifCondensed-Italic   CID TrueType      Identity-H       yes yes yes     48  0
-SAJIBL+DejaVuSerifCondensed-Bold     CID TrueType      Identity-H       yes yes yes     50  0
-PUNEYG+DejaVuSerifCondensed-BoldItalic CID TrueType      Identity-H       yes yes yes     52  0
-LBVYIQ+DejaVuSansCondensed           CID TrueType      Identity-H       yes yes yes     54  0
-VGGLYA+DejaVuSansCondensed-Oblique   CID TrueType      Identity-H       yes yes yes     59  0
-XLWNUH+DejaVuSansCondensed-Bold      CID TrueType      Identity-H       yes yes yes     61  0
-CWYOFG+DejaVuSansCondensed-BoldOblique CID TrueType      Identity-H       yes yes yes     63  0
-FCZWRC+DejaVuSans-ExtraLight         CID TrueType      Identity-H       yes yes yes     65  0
-HVYLCI+DejaVuSans-ExtraLight         CID TrueType      Identity-H       yes yes yes     67  0
-HMSMGZ+DejaVuSans-ExtraLight         CID TrueType      Identity-H       yes yes yes     69  0
-OBFRVX+DejaVuSans-ExtraLight         CID TrueType      Identity-H       yes yes yes     71  0
-GSVNQZ+LatinModernMath-Regular-Identity-H CID Type 0C       Identity-H       yes yes yes     76  0
-KBXHNI+LinLibertineO-Identity-H      CID Type 0C       Identity-H       yes yes yes     85  0
+LKGWOS+DejaVuSerif                   CID TrueType      Identity-H       yes yes yes      4  0
+RGYFML+DejaVuSerif-Bold              CID TrueType      Identity-H       yes yes yes      6  0
+ADQSZW+DejaVuSerif-Italic            CID TrueType      Identity-H       yes yes yes     17  0
+QKPHIH+DejaVuSansMono                CID TrueType      Identity-H       yes yes yes     19  0
+HZBCXM+DejaVuSansMono-Oblique        CID TrueType      Identity-H       yes yes yes     21  0
+XTNRKQ+DejaVuSerif-BoldItalic        CID TrueType      Identity-H       yes yes yes     29  0
+RDJDXF+DejaVuSans                    CID TrueType      Identity-H       yes yes yes     31  0
+KFMTYL+DejaVuSans-Oblique            CID TrueType      Identity-H       yes yes yes     33  0
+HVEITX+DejaVuSans-Bold               CID TrueType      Identity-H       yes yes yes     35  0
+ZCFLWK+DejaVuSans-BoldOblique        CID TrueType      Identity-H       yes yes yes     37  0
+QXXGBB+DejaVuSansMono-Bold           CID TrueType      Identity-H       yes yes yes     42  0
+CAXNVE+DejaVuSansMono-BoldOblique    CID TrueType      Identity-H       yes yes yes     44  0
+WXYBSQ+DejaVuSerifCondensed          CID TrueType      Identity-H       yes yes yes     46  0
+RKSNDK+DejaVuSerifCondensed-Italic   CID TrueType      Identity-H       yes yes yes     48  0
+MXBDWF+DejaVuSerifCondensed-Bold     CID TrueType      Identity-H       yes yes yes     50  0
+KBUOWC+DejaVuSerifCondensed-BoldItalic CID TrueType      Identity-H       yes yes yes     52  0
+WXHJNQ+DejaVuSansCondensed           CID TrueType      Identity-H       yes yes yes     54  0
+HMLLYK+DejaVuSansCondensed-Oblique   CID TrueType      Identity-H       yes yes yes     59  0
+CTSVEE+DejaVuSansCondensed-Bold      CID TrueType      Identity-H       yes yes yes     61  0
+QKMWYD+DejaVuSansCondensed-BoldOblique CID TrueType      Identity-H       yes yes yes     63  0
+KGLISZ+DejaVuSans-ExtraLight         CID TrueType      Identity-H       yes yes yes     65  0
+HPCFBC+DejaVuSans-ExtraLight         CID TrueType      Identity-H       yes yes yes     67  0
+VLWVVT+DejaVuSans-ExtraLight         CID TrueType      Identity-H       yes yes yes     69  0
+AYGLBZ+DejaVuSans-ExtraLight         CID TrueType      Identity-H       yes yes yes     71  0
+DWRHKO+TeXGyreDejaVuMath-Regular-Identity-H CID Type 0C       Identity-H       yes yes yes     76  0
+QAYBUL+LinLibertineO-Identity-H      CID Type 0C       Identity-H       yes yes yes     85  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	2024-11-30 00:41:59 UTC (rev 73002)
+++ trunk/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.tex	2024-11-30 21:12:06 UTC (rev 73003)
@@ -14,6 +14,7 @@
             RM={Scale=0.9},
             DefaultFeatures={Ligatures=TeX}]{dejavu-otf}  % support opentype math fonts
 
+
 \usepackage{biblatex}
 \addbibresource{\jobname.bib}
 \usepackage{array}
@@ -21,8 +22,10 @@
 \usepackage{booktabs} % for examples
 \usepackage{ltablex} % for examples
 \usepackage{listings} % for code
-\usepackage{dtk-logos} % for Wikipedia W
+\usepackage{hvlogos} % for Wikipedia W
 
+%\setmathfont{texgyredejavu-math.otf}
+
 \pagestyle{headings}
 
 \usepackage[colorlinks,hyperfootnotes=false]{hyperref}
@@ -60,7 +63,7 @@
 \begin{itemize}
 \item Math fonts: TeXGyre DejaVu Math Regular, created by the Polish \TeX\ User group GUST.
 
-\item Three text families (regular, italic, bold, bold italic)  
+\item Three font families (serif, sans, mono)  
 coming from the original Bitstream Vera.
 
 \end{itemize}
@@ -226,18 +229,16 @@
 
 \section{Math examples}
 
-There is only the regular version of the math font \cs{mathnormal}. With running \XeLaTeX\ 
-it is possible to fake the fonts for a bold version:
+There is only the regular version of the math font \cs{mathnormal}. The bold version is
+faked by the option \texttt{FakeBold}:
 
 \begin{verbatim}
-\setmathfont{texgyredejavu-math.otf}[AutoFakeBold=1.6,\DejaVuMM at features,version=normal]
+  \setmathfont[\DejaVuMM at features,version=normal]{texgyredejavu-math.otf}
+  \setmathfont[\DejaVuMM at features,FakeBold=3,version=bold]{texgyredejavu-math.otf}
 \end{verbatim}
 
 
 
-
-
-
 \begin{verbatim}
 Here's some text. And here's some math:
 \[ 
@@ -244,11 +245,14 @@
   \phi(x)=\int_{-\infty}^{x} e^{-x^{2}/2} 
 \]
 And now bold math:
-\boldmath % works only for xelatex
+\boldmath
 \[ 
   \phi(x)=\int_{-\infty}^{x} e^{-x^{2}/2} 
 \]
 \unboldmath
+
+$f(x)=13\int$ \boldmath$f(x)=13 \int$\unboldmath
+
 Euro and copyright symbols are available: \texteuro\ \textcopyright.
 \end{verbatim}
 
@@ -264,17 +268,14 @@
  \phi(x)=\int_{-\infty}^{x} e^{-x^{2}/2} 
 \]
 \unboldmath
-Euro and copyright symbols are available: \texteuro\ \textcopyright.
 
+$f(x)=13\int$ \boldmath$f(x)=13 \int$\unboldmath
 
+Euro and copyright symbols are available: \texteuro\ \textcopyright.
 
-$f(x)=13\int$ \boldmath$f(x)=13 \int$\unboldmath
 \section{Closing}
-
-
 The font list of this documentation is:
 
-
 \scriptsize\ttfamily
 \expandafter\IfFileExists\expandafter{\jobname.fonts}%
   {\lstinputlisting{\jobname.fonts}}{}

Modified: trunk/Master/texmf-dist/tex/latex/dejavu-otf/dejavu-otf.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dejavu-otf/dejavu-otf.sty	2024-11-30 00:41:59 UTC (rev 73002)
+++ trunk/Master/texmf-dist/tex/latex/dejavu-otf/dejavu-otf.sty	2024-11-30 21:12:06 UTC (rev 73003)
@@ -4,16 +4,16 @@
 %% License from CTAN archives in directory  macros/latex/base/lppl.txt.
 %% Either version 1.3 or, at your option, any later version.
 %%
-% Copyright 2017 Herbert Voss hvoss at tug.org
+% Copyright 2017-2024 Herbert Voss hvoss at tug.org
 %%
 \ProvidesPackage{dejavu-otf}[%
-  2024/11/28 v. 0.05 (Herbert Voss) Supports DejaVu OpenType for lualatex/xelatex.] 
+  2024/11/30 v. 0.06 (Herbert Voss) Supports DejaVu OpenType for lualatex/xelatex.] 
 %
-\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
+\RequirePackage{iftex,,xkeyval,textcomp}
+\RequirePackage[no-math]{fontspec}  % support opentype fonts
 \RequirePackage{unicode-math}  % support opentype math fonts
-                               % loads itself fontspec
 %
-\newif\ifDejaVu at usefilenames \DejaVu at usefilenamesfalse
+\newif\ifDejaVu at usefilenames \DejaVu at usefilenamestrue
 \DeclareOptionX{usefilenames}[true]{\@nameuse{DejaVu at usefilenames#1}}
 
 \newif\ifDejaVu at mono  \DejaVu at monotrue
@@ -54,6 +54,7 @@
 %  21.            DejaVuSerifCondensed.ttf         /usr/local/texlive/2024/texmf-dist/fonts/truetype/public/dejavu/
 %
   \ifDejaVu at serif
+    \typeout{Setting DejaVu Serif as main font}%
     \setmainfont{DejaVuSerif}[% main rm
       \DejaVuRM at features,
            Extension = .ttf,
@@ -79,6 +80,7 @@
 %  13.                  DejaVuSansMono.ttf         /usr/local/texlive/2024/texmf-dist/fonts/truetype/public/dejavu/
 %
   \ifDejaVu at sans
+    \typeout{Setting DejaVu Sans as sans serif font}%
     \setsansfont{DejaVuSans}[% main sans
            Extension = .ttf,
       \DejaVuSS at features,
@@ -89,6 +91,7 @@
   \fi
 %
   \ifDejaVu at mono
+    \typeout{Setting DejaVu Sans Mono as mono font}%
     \setmonofont{DejaVuSansMono}[% main typewriter
         UprightFont = *,
            Extension = .ttf,
@@ -102,12 +105,10 @@
   % Setting math
   % First we have to expand the feature macros:
   \ifDejaVu at math
-    \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]}%
-%      \Set at MathBold
-%    \fi
+    \typeout{Setting DejaVu (OpenType) as math font}%
+    \expandafter\setmathfont\expandafter[\DejaVuMM at features,version=normal]{texgyredejavu-math.otf}%
+    \expandafter\setmathfont\expandafter[\DejaVuMM at features,FakeBold=3,version=bold]{texgyredejavu-math.otf}%
+    \mathversion{normal}%
   \fi
 %
   \newfontfamily\DejaVuSerifCondensed{DejaVuSerifCondensed}[% 
@@ -181,13 +182,14 @@
 % First we have to expand the feature macros:
 \ifDejaVu at math
   \ifxetex
-    \edef\Set at MathNormal{\noexpand\setmathfont{texgyredejavu-math.otf}[AutoFakeBold=1,\DejaVuMMbold at features]}%
+    \expandafter\setmathfont\expandafter[\DejaVuMM at features,version=normal]{texgyredejavu-math.otf}%
+    \expandafter\setmathfont\expandafter[\DejaVuMM at features,FakeBold=3,version=bold]{texgyredejavu-math.otf}%
   \else
-    \edef\Set at MathNormal{\noexpand\setmathfont{TeXGyreDejaVuMath-Regular}[\DejaVuMM at features]%
-                         \noexpand\setmathfont{TeXGyreDejaVuMath-Regular}[\DejaVuMM at features,version=bold]%
+    \expandafter\setmathfont\expandafter[\DejaVuMM at features,version=normal]{TeXGyreDejaVuMath-Regular}%
+    \expandafter\setmathfont\expandafter[\DejaVuMM at features,FakeBold=3,version=bold]{TeXGyreDejaVuMath-Regular}%
     }%
   \fi
-  \Set at MathNormal
+  \mathversion{normal}
 \fi
 
   \newfontfamily\DejaVuSerifCondensed{DejaVu Serif Condensed}[% 



More information about the tex-live-commits mailing list.