summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/f-libertine.opm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/optex/f-libertine.opm')
-rw-r--r--macros/luatex/optex/f-libertine.opm8
1 files changed, 2 insertions, 6 deletions
diff --git a/macros/luatex/optex/f-libertine.opm b/macros/luatex/optex/f-libertine.opm
index 041e3742f0..2aa52dad32 100644
--- a/macros/luatex/optex/f-libertine.opm
+++ b/macros/luatex/optex/f-libertine.opm
@@ -1,8 +1,9 @@
%% This is part of OpTeX project, see http://petr.olsak.net/optex
-\_fontdecl [Linux Libertine] \Libertine {Free Linux Libertine fonts}
+\_famdecl [Linux Libertine] \Libertine {Free Linux Libertine fonts}
{\sans \mono \caps \semi} {\rm \bf \it \bi \initials \displ \keybr} {Libertinus}
{[LinLibertine_R]}
+ {\_def\_fontnamegen {[Lin\_subfamV _\_currV]:\_capsV\_fontfeatures}}
\_wlog{\_detokenize{%
Modifiers:^^J
@@ -16,11 +17,6 @@ Special variants:^^J
\keybr ..... keyboard, emulates keyboard buttons^^J
}}
-\_protected\_def \Libertine {%
- \_def \_currfamily {Libertine}%
- \_def\_fontnamegen {[Lin\_subfamV _\_currV]:\_capsV\_fontfeatures}%
- \_resetmod
-}
\_moddef \resetmod {\_fsetV subfam=Libertine,caps={} \_fvars R RB RI RBI }
\_moddef \sans {\_fsetV subfam=Biolinum \_fvars R RB RI RBO }
\_moddef \mono {\_fsetV subfam=Libertine \_fvars M MB MO MBO }