summaryrefslogtreecommitdiff
path: root/fonts/variablelm/tex/omlvlmm.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/omlvlmm.fd
Initial commit
Diffstat (limited to 'fonts/variablelm/tex/omlvlmm.fd')
-rw-r--r--fonts/variablelm/tex/omlvlmm.fd34
1 files changed, 34 insertions, 0 deletions
diff --git a/fonts/variablelm/tex/omlvlmm.fd b/fonts/variablelm/tex/omlvlmm.fd
new file mode 100644
index 0000000000..35e35b7f1d
--- /dev/null
+++ b/fonts/variablelm/tex/omlvlmm.fd
@@ -0,0 +1,34 @@
+%
+% This file is an extended version of the file 'omllmm.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{omlvlmm.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{OML}{vlmm}{\skewchar\font127 }
+\DeclareFontShape{OML}{vlmm}{m}{it}%
+ {<-5.5> \alphabet@@scale lmmi5
+ <5.5-6.5> \alphabet@@scale lmmi6
+ <6.5-7.5> \alphabet@@scale lmmi7
+ <7.5-8.5> \alphabet@@scale lmmi8
+ <8.5-9.5> \alphabet@@scale lmmi9
+ <9.5-11> \alphabet@@scale lmmi10
+ <11-> \alphabet@@scale lmmi12
+ }{}
+\DeclareFontShape{OML}{vlmm}{b}{it}{%
+ <-6> \alphabet@@scale lmmib5
+ <6-8> \alphabet@@scale lmmib7
+ <8-> \alphabet@@scale lmmib10
+ }{}
+\DeclareFontShape{OML}{vlmm}{bx}{it}%
+ {<-> sub*vlmm/b/it}{}
+\endinput