summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fontaxes/fontaxes.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/fontaxes/fontaxes.dtx')
-rw-r--r--Master/texmf-dist/source/latex/fontaxes/fontaxes.dtx19
1 files changed, 12 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/fontaxes/fontaxes.dtx b/Master/texmf-dist/source/latex/fontaxes/fontaxes.dtx
index d39353339f7..232ff98a775 100644
--- a/Master/texmf-dist/source/latex/fontaxes/fontaxes.dtx
+++ b/Master/texmf-dist/source/latex/fontaxes/fontaxes.dtx
@@ -1,7 +1,7 @@
% \iffalse meta-comment
%
% Copyright (c) 2007 by Andreas B\"uhmann
-% Copyright (c) 2014 by Michael Ummels <michael.ummels@rwth-aachen.de>
+% Copyright (c) 2020 by Michael Ummels <michael.ummels@rwth-aachen.de>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
@@ -22,10 +22,10 @@
%
%\iffalse
%<*driver>
-\ProvidesFile{fontaxes.dtx}[2014/03/23 v1.0d Font selection axes]
+\ProvidesFile{fontaxes.dtx}[2020/07/21 v1.0e Font selection axes]
%</driver>
%<package>\NeedsTeXFormat{LaTeX2e}
-%<package>\ProvidesPackage{fontaxes}[2014/03/23 v1.0d Font selection axes]
+%<package>\ProvidesPackage{fontaxes}[2020/07/21 v1.0e Font selection axes]
%<*driver>
\documentclass{ltxdoc}
@@ -57,7 +57,7 @@
%</driver>
%\fi
%
-% \CheckSum{738}
+% \CheckSum{746}
% \CharacterTable
% {Upper-case \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
% Lower-case \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
@@ -701,17 +701,22 @@
}
% \end{macrocode}
% Try different naming conventions.
+% \changes{v1.0e}{2020/07/21}{Add another fallback for fonts with only one figure version}
% \begin{macrocode}
\newcommand*\fontaxes@encode@family@default{%
\fontaxes@encode@figures
\edef\fontaxes@code{\fontaxes@family@base-\fontaxes@code}%
\fontaxes@check@family\fontaxes@code
\iffontaxes@exists\else
- \fontaxes@encode@figuresalt
- \edef\fontaxes@code{\fontaxes@family@base\fontaxes@code}%
+ \edef\fontaxes@code{\fontaxes@family@base-LF}%
\fontaxes@check@family\fontaxes@code
\iffontaxes@exists\else
- \edef\fontaxes@code{\fontaxes@family@base}%
+ \fontaxes@encode@figuresalt
+ \edef\fontaxes@code{\fontaxes@family@base\fontaxes@code}%
+ \fontaxes@check@family\fontaxes@code
+ \iffontaxes@exists\else
+ \edef\fontaxes@code{\fontaxes@family@base}%
+ \fi
\fi
\fi
}