summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-11-30 21:12:06 +0000
committerKarl Berry <karl@freefriends.org>2024-11-30 21:12:06 +0000
commit541202e3a7e082be14e4b529d6c85848ed875bdb (patch)
treea5ed915aa22d5cd9a823fb8b530ae6d01b1e993d /Master
parentc4e5abc89ba02f9861c574b65ca2cab8b836d891 (diff)
dejavu-otf (30nov24)
git-svn-id: svn://tug.org/texlive/trunk@73003 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/fonts/dejavu-otf/Changes1
-rw-r--r--Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.fonts52
-rw-r--r--Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.pdfbin370339 -> 370012 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.tex29
-rw-r--r--Master/texmf-dist/tex/latex/dejavu-otf/dejavu-otf.sty32
5 files changed, 59 insertions, 55 deletions
diff --git a/Master/texmf-dist/doc/fonts/dejavu-otf/Changes b/Master/texmf-dist/doc/fonts/dejavu-otf/Changes
index 743efced3a0..716e6adea05 100644
--- a/Master/texmf-dist/doc/fonts/dejavu-otf/Changes
+++ b/Master/texmf-dist/doc/fonts/dejavu-otf/Changes
@@ -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
diff --git a/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.fonts b/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.fonts
index 7ddbada880f..bbb04ca6f94 100644
--- a/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.fonts
+++ b/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.fonts
@@ -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
diff --git a/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.pdf b/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.pdf
index 6a70af42415..a039d6cd80e 100644
--- a/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.pdf
+++ b/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.tex b/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.tex
index 0d05f208a0d..f6f95de1068 100644
--- a/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.tex
+++ b/Master/texmf-dist/doc/fonts/dejavu-otf/dejavu-otf-doc.tex
@@ -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,7 +22,9 @@
\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}
@@ -60,7 +63,7 @@ A brief overview:
\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,29 +229,30 @@ variants---\allowbreak regular, italic, bold, and bold italic. %, all with
\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@features,version=normal]
+ \setmathfont[\DejaVuMM@features,version=normal]{texgyredejavu-math.otf}
+ \setmathfont[\DejaVuMM@features,FakeBold=3,version=bold]{texgyredejavu-math.otf}
\end{verbatim}
-
-
-
\begin{verbatim}
Here's some text. And here's some math:
\[
\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 @@ And now bold math:
\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
-\section{Closing}
+Euro and copyright symbols are available: \texteuro\ \textcopyright.
+\section{Closing}
The font list of this documentation is:
-
\scriptsize\ttfamily
\expandafter\IfFileExists\expandafter{\jobname.fonts}%
{\lstinputlisting{\jobname.fonts}}{}
diff --git a/Master/texmf-dist/tex/latex/dejavu-otf/dejavu-otf.sty b/Master/texmf-dist/tex/latex/dejavu-otf/dejavu-otf.sty
index 1f7a5c562eb..51691991447 100644
--- a/Master/texmf-dist/tex/latex/dejavu-otf/dejavu-otf.sty
+++ b/Master/texmf-dist/tex/latex/dejavu-otf/dejavu-otf.sty
@@ -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@tug.org
+% Copyright 2017-2024 Herbert Voss hvoss@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@usefilenames \DejaVu@usefilenamesfalse
+\newif\ifDejaVu@usefilenames \DejaVu@usefilenamestrue
\DeclareOptionX{usefilenames}[true]{\@nameuse{DejaVu@usefilenames#1}}
\newif\ifDejaVu@mono \DejaVu@monotrue
@@ -54,6 +54,7 @@
% 21. DejaVuSerifCondensed.ttf /usr/local/texlive/2024/texmf-dist/fonts/truetype/public/dejavu/
%
\ifDejaVu@serif
+ \typeout{Setting DejaVu Serif as main font}%
\setmainfont{DejaVuSerif}[% main rm
\DejaVuRM@features,
Extension = .ttf,
@@ -79,6 +80,7 @@
% 13. DejaVuSansMono.ttf /usr/local/texlive/2024/texmf-dist/fonts/truetype/public/dejavu/
%
\ifDejaVu@sans
+ \typeout{Setting DejaVu Sans as sans serif font}%
\setsansfont{DejaVuSans}[% main sans
Extension = .ttf,
\DejaVuSS@features,
@@ -89,6 +91,7 @@
\fi
%
\ifDejaVu@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@math
- \edef\Set@MathNormal{\noexpand\setmathfont{texgyredejavu-math.otf}[AutoFakeBold=1.4,\DejaVuMM@features,version=normal]}%
- \Set@MathNormal
-% \ifxetex
-% \edef\Set@MathBold{\noexpand\setmathfont{texgyredejavu-math.otf}[AutoFakeBold=2,\DejaVuMMbold@features,version=bold]}%
-% \Set@MathBold
-% \fi
+ \typeout{Setting DejaVu (OpenType) as math font}%
+ \expandafter\setmathfont\expandafter[\DejaVuMM@features,version=normal]{texgyredejavu-math.otf}%
+ \expandafter\setmathfont\expandafter[\DejaVuMM@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@math
\ifxetex
- \edef\Set@MathNormal{\noexpand\setmathfont{texgyredejavu-math.otf}[AutoFakeBold=1,\DejaVuMMbold@features]}%
+ \expandafter\setmathfont\expandafter[\DejaVuMM@features,version=normal]{texgyredejavu-math.otf}%
+ \expandafter\setmathfont\expandafter[\DejaVuMM@features,FakeBold=3,version=bold]{texgyredejavu-math.otf}%
\else
- \edef\Set@MathNormal{\noexpand\setmathfont{TeXGyreDejaVuMath-Regular}[\DejaVuMM@features]%
- \noexpand\setmathfont{TeXGyreDejaVuMath-Regular}[\DejaVuMM@features,version=bold]%
+ \expandafter\setmathfont\expandafter[\DejaVuMM@features,version=normal]{TeXGyreDejaVuMath-Regular}%
+ \expandafter\setmathfont\expandafter[\DejaVuMM@features,FakeBold=3,version=bold]{TeXGyreDejaVuMath-Regular}%
}%
\fi
- \Set@MathNormal
+ \mathversion{normal}
\fi
\newfontfamily\DejaVuSerifCondensed{DejaVu Serif Condensed}[%