summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/f-gfsbodoni.opm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/optex/f-gfsbodoni.opm')
-rw-r--r--macros/luatex/optex/f-gfsbodoni.opm8
1 files changed, 2 insertions, 6 deletions
diff --git a/macros/luatex/optex/f-gfsbodoni.opm b/macros/luatex/optex/f-gfsbodoni.opm
index 4b743e0725..369f2474b2 100644
--- a/macros/luatex/optex/f-gfsbodoni.opm
+++ b/macros/luatex/optex/f-gfsbodoni.opm
@@ -1,19 +1,15 @@
%% This is part of OpTeX project, see http://petr.olsak.net/optex
-\_fontdecl [GFS Bodoni] \GFSBodoni {Based on Bodoni with greek letters}
+\_famdecl [GFS Bodoni] \GFSBodoni {Based on Bodoni with greek letters}
{} {\rm \bf \it \bi} {}
{[GFSBodoni]}
+ {\_def\_fontnamegen {[GFSBodoni\_currV]:\_fontfeatures}}
\_wlog{\_detokenize{%
Modifier:^^J
\caps ...... doesn't work even though otfinfo -f lists smcp^^J
}}
-\_protected\def \GFSBodoni {%
- \_def \_currfamily {GFSBodoni}%
- \_def \_fontnamegen {[GFSBodoni\_currV]:\_fontfeatures}%
- \_resetmod
-}
\_moddef \resetmod {\_fvars {} Bold It BoldIt }
\_initfontfamily % new font family must be initialized