diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/variablelm/tex/ot1vlmr.fd |
Initial commit
Diffstat (limited to 'fonts/variablelm/tex/ot1vlmr.fd')
-rw-r--r-- | fonts/variablelm/tex/ot1vlmr.fd | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/fonts/variablelm/tex/ot1vlmr.fd b/fonts/variablelm/tex/ot1vlmr.fd new file mode 100644 index 0000000000..eee3b8e038 --- /dev/null +++ b/fonts/variablelm/tex/ot1vlmr.fd @@ -0,0 +1,73 @@ +% +% This file is an extended version of the file ot1lmr.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{ot1vlmr.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{OT1}{vlmr}{} +\DeclareFontShape{OT1}{vlmr}{m}{n}% + {<-5.5> \alphabet@@scale rm-lmr5 + <5.5-6.5> \alphabet@@scale rm-lmr6 + <6.5-7.5> \alphabet@@scale rm-lmr7 + <7.5-8.5> \alphabet@@scale rm-lmr8 + <8.5-9.5> \alphabet@@scale rm-lmr9 + <9.5-11> \alphabet@@scale rm-lmr10 + <11-15> \alphabet@@scale rm-lmr12 + <15-> \alphabet@@scale rm-lmr17 + }{} +\DeclareFontShape{OT1}{vlmr}{m}{sl}% + {<-8.5> \alphabet@@scale rm-lmro8 + <8.5-9.5> \alphabet@@scale rm-lmro9 + <9.5-11> \alphabet@@scale rm-lmro10 + <11-15> \alphabet@@scale rm-lmro12 + <15-> \alphabet@@scale rm-lmro17 + }{} +\DeclareFontShape{OT1}{vlmr}{m}{it}% + {<-7.5> \alphabet@@scale rm-lmri7 + <7.5-8.5> \alphabet@@scale rm-lmri8 + <8.5-9.5> \alphabet@@scale rm-lmri9 + <9.5-11> \alphabet@@scale rm-lmri10 + <11-> \alphabet@@scale rm-lmri12 + }{} +\DeclareFontShape{OT1}{vlmr}{m}{sc}% + {<-> \alphabet@@scale rm-lmcsc10}{} +\DeclareFontShape{OT1}{vlmr}{m}{ui}% + {<-> \alphabet@@scale rm-lmu10}{} +% +% Is this the right 'shape'?: +\DeclareFontShape{OT1}{vlmr}{m}{scsl}% + {<-> \alphabet@@scale rm-lmcsco10}{} +%%%%%%% bold series +\DeclareFontShape{OT1}{vlmr}{b}{n} + {<-> \alphabet@@scale rm-lmb10}{} +\DeclareFontShape{OT1}{vlmr}{b}{sl} + {<-> \alphabet@@scale rm-lmbo10}{} +%%%%%%% bold extended series +\DeclareFontShape{OT1}{vlmr}{bx}{n} + {<-5.5> \alphabet@@scale rm-lmbx5 + <5.5-6.5> \alphabet@@scale rm-lmbx6 + <6.5-7.5> \alphabet@@scale rm-lmbx7 + <7.5-8.5> \alphabet@@scale rm-lmbx8 + <8.5-9.5> \alphabet@@scale rm-lmbx9 + <9.5-11> \alphabet@@scale rm-lmbx10 + <11-> \alphabet@@scale rm-lmbx12 + }{} +\DeclareFontShape{OT1}{vlmr}{bx}{it} + {<-> \alphabet@@scale rm-lmbxi10}{} +\DeclareFontShape{OT1}{vlmr}{bx}{sl} + {<-> \alphabet@@scale rm-lmbxo10}{} +%%%%%%% Font/shape undefined, therefore substituted +\DeclareFontShape{OT1}{vlmr}{b}{it} + {<->sub*vlmr/b/sl}{} +\endinput |