summaryrefslogtreecommitdiff
path: root/fonts/variablelm/tex/omxvlmex.fd
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/variablelm/tex/omxvlmex.fd
Initial commit
Diffstat (limited to 'fonts/variablelm/tex/omxvlmex.fd')
-rw-r--r--fonts/variablelm/tex/omxvlmex.fd22
1 files changed, 22 insertions, 0 deletions
diff --git a/fonts/variablelm/tex/omxvlmex.fd b/fonts/variablelm/tex/omxvlmex.fd
new file mode 100644
index 0000000000..acc59fd204
--- /dev/null
+++ b/fonts/variablelm/tex/omxvlmex.fd
@@ -0,0 +1,22 @@
+%
+% This file is an extended version of the file 'omxlmex.fd' which
+% belongs to the Latin Modern package. The work is released
+% under the GUST Font License.
+% It provides a mechanism for scaling the typeface.
+%
+% The original font description files are included in modern TeX
+% distributions or are available via http://ctan.org/pkg/lm
+%
+\ProvidesFile{omxvlmex.fd}[2017/02/10 v1.0 font defs for variable Latin Modern]
+
+\expandafter\ifx\csname alphabet@scale\endcsname\relax
+ \let\alphabet@@scale\@empty
+\else
+ \edef\alphabet@@scale{s*[\csname alphabet@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{OMX}{vlmex}{}
+\DeclareFontShape{OMX}{vlmex}{m}{n}{%
+ <-> \alphabet@@scale lmex10%
+ }{}
+\endinput