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