summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/f-schola.opm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/optex/f-schola.opm')
-rw-r--r--macros/luatex/optex/f-schola.opm8
1 files changed, 2 insertions, 6 deletions
diff --git a/macros/luatex/optex/f-schola.opm b/macros/luatex/optex/f-schola.opm
index d876582683..c891317265 100644
--- a/macros/luatex/optex/f-schola.opm
+++ b/macros/luatex/optex/f-schola.opm
@@ -1,19 +1,15 @@
%% This is part of OpTeX project, see http://petr.olsak.net/optex
-\_fontdecl [Schola] \Schola {TeX Gyre Schola fonts based on New Century}
+\_famdecl [Schola] \Schola {TeX Gyre Schola fonts based on New Century}
{\caps} {\rm \bf \it \bi} {Schola}
{[texgyreschola-regular]}
+ {\_def\_fontnamegen {[texgyreschola-\_currV]:\_capsV\_fontfeatures}}
\_wlog{\_detokenize{%
Modifier:^^J
\caps ...... caps & small caps^^J
}}
-\_protected\def \Schola {%
- \_def \_currfamily {Schola}%
- \_def\_fontnamegen {[texgyreschola-\_currV]:\_capsV\_fontfeatures}%
- \_resetmod
-}
\_moddef \resetmod {\_fsetV caps={} \_fvars regular bold italic bolditalic }
\_moddef \caps {\_fsetV caps=+smcp;+onum; }