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