summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/optex/f-xcharter.opm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/optex/f-xcharter.opm')
-rw-r--r--Master/texmf-dist/tex/luatex/optex/f-xcharter.opm8
1 files changed, 2 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/luatex/optex/f-xcharter.opm b/Master/texmf-dist/tex/luatex/optex/f-xcharter.opm
index d889c8ba2b1..7f6ff7a3561 100644
--- a/Master/texmf-dist/tex/luatex/optex/f-xcharter.opm
+++ b/Master/texmf-dist/tex/luatex/optex/f-xcharter.opm
@@ -1,8 +1,9 @@
%% This is part of OpTeX project, see http://petr.olsak.net/optex
-\_fontdecl [XCharter] \XCharter {An extension of Bitstream Charter}
+\_famdecl [XCharter] \XCharter {An extension of Bitstream Charter}
{\caps \slant} {\rm \bf \it \bi} {}
{[XCharter-Roman]}
+ {\_def\_fontnamegen {[XCharter-\_currV]:\_capsV\_fontfeatures}}
\_wlog{\_detokenize{%
Modifiers:^^J
@@ -10,11 +11,6 @@ Modifiers:^^J
\slant ..... slanted variants used in \it, \bi^^J
}}
-\_protected\def \XCharter {%
- \_def \_currfamily {XCharter}%
- \_def \_fontnamegen {[XCharter-\_currV]:\_capsV\_fontfeatures}%
- \_resetmod
-}
\_moddef \resetmod {\_fsetV caps={} \_fvars Roman Bold Italic BoldItalic }
\_moddef \slant {\_fvars Roman Bold Slanted BoldSlanted }
\_moddef \caps {\_fsetV caps=+smcp;+onum; }