summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/f-antt.opm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/optex/f-antt.opm')
-rw-r--r--macros/luatex/optex/f-antt.opm12
1 files changed, 4 insertions, 8 deletions
diff --git a/macros/luatex/optex/f-antt.opm b/macros/luatex/optex/f-antt.opm
index d7015ed28d..4ec379ab39 100644
--- a/macros/luatex/optex/f-antt.opm
+++ b/macros/luatex/optex/f-antt.opm
@@ -1,8 +1,9 @@
%% This is part of OpTeX project, see http://petr.olsak.net/optex
-\_fontdecl [Antykwa Torunska] \Antt {Traditional Polish font family}
- {\cond \medium \light \caps} {\rm \bf \it \bi} {Pagella}
- {[AntykwaTorunska-Regular]}
+\_famdecl [Antykwa Torunska] \Antt {Traditional Polish font family}
+ {\cond \medium \light \caps} {\rm \bf \it \bi} {Pagella}
+ {[AntykwaTorunska-Regular]}
+ {\_def\_fontnamegen {[AntykwaTorunska\_sfamxV\_sfamyV-\_currV]:\_capsV\_fontfeatures}}
\_wlog{\_detokenize{%
Modifiers:^^J
@@ -13,11 +14,6 @@ Modifiers:^^J
\cond ...... condensed^^J
}}
-\_protected\def \Antt {%
- \_def \_currfamily {Antt}%
- \_def \_fontnamegen {[AntykwaTorunska\_sfamxV\_sfamyV-\_currV]:\_capsV\_fontfeatures}%
- \_resetmod
-}
\_moddef \resetmod {\_fsetV sfamx={},sfamy={},caps={} \_fvars Regular Bold Italic BoldItalic }
\_moddef \cond {\_fsetV sfamx=Cond \_fvars Regular . Italic .
\_onlyif sfamy={}: {\_fvars Regular Bold Italic BoldItalic }}