diff options
Diffstat (limited to 'fonts/gelasiomath/tex/ot1mingelasio.fd')
-rw-r--r-- | fonts/gelasiomath/tex/ot1mingelasio.fd | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/fonts/gelasiomath/tex/ot1mingelasio.fd b/fonts/gelasiomath/tex/ot1mingelasio.fd new file mode 100644 index 0000000000..1bfed27c98 --- /dev/null +++ b/fonts/gelasiomath/tex/ot1mingelasio.fd @@ -0,0 +1,78 @@ +\ProvidesFile{ot1mingelasio.fd} + [2024/04/11 (msharpe) Font definitions for OT1/mingelasio.] + +\ifcsname s@fct@alias\endcsname\else +\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo} +\gdef\@font@aliasinfo#1{% + \@font@info{Font\space shape\space `\curr@fontshape'\space will + \space be\space aliased\MessageBreak to\space `\mandatory@arg'}% +} +\fi + +\def\@textscalefactor{.92} +%xgelasio must be reduced by factor .92 to match xheight of newtxmath + +\@ifundefined{ntxmath@scale}{\let\ntxmath@scaled\@empty} +{\@tempdima\@textscalefactor\p@ +\@tempdima\ntxmath@scale\@tempdima +\edef\ntxmath@scaled{s*[\strip@pt\@tempdima]}}% locally, not globally + +\DeclareFontFamily{OT1}{mingelasio}{} + + +% ---- m = regular ---- + +\DeclareFontShape{OT1}{mingelasio}{m}{n}{ + <-> \ntxmath@scaled Gelasio-Regular-tlf-ot1G +}{} + +\DeclareFontShape{OT1}{mingelasio}{regular}{n}{ + <-> alias * mingelasio/m/n +}{} + +\DeclareFontShape{OT1}{mingelasio}{m}{it}{ + <-> \ntxmath@scaled Gelasio-Italic-tlf-ot1G +}{} + +\DeclareFontShape{OT1}{mingelasio}{regular}{it}{ + <-> alias * mingelasio/m/it +}{} + +\DeclareFontShape{OT1}{mingelasio}{m}{sl}{ + <-> ssub * mingelasio/m/it +}{} + +\DeclareFontShape{OT1}{mingelasio}{regular}{sl}{ + <-> ssub * mingelasio/regular/it +}{} + + +% ---- b = bold ---- + +\DeclareFontShape{OT1}{mingelasio}{b}{n}{ + <-> \ntxmath@scaled Gelasio-Bold-tlf-ot1G +}{} + +\DeclareFontShape{OT1}{mingelasio}{bold}{n}{ + <-> alias * mingelasio/b/n +}{} + +\DeclareFontShape{OT1}{mingelasio}{b}{it}{ + <-> \ntxmath@scaled Gelasio-BoldItalic-tlf-ot1G +}{} + +\DeclareFontShape{OT1}{mingelasio}{bold}{it}{ + <-> alias * mingelasio/b/it +}{} + +\DeclareFontShape{OT1}{mingelasio}{b}{sl}{ + <-> ssub * mingelasio/b/it +}{} + +\DeclareFontShape{OT1}{mingelasio}{bold}{sl}{ + <-> ssub * mingelasio/bold/it +}{} + + + +\endinput |