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