From 8379012d545fd6a59fae8842d97d14ec0c2b27d7 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 13 Feb 2020 03:00:51 +0000 Subject: CTAN sync 202002130300 --- macros/luatex/optex/f-xcharter.opm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 macros/luatex/optex/f-xcharter.opm (limited to 'macros/luatex/optex/f-xcharter.opm') diff --git a/macros/luatex/optex/f-xcharter.opm b/macros/luatex/optex/f-xcharter.opm new file mode 100644 index 0000000000..98db483ea4 --- /dev/null +++ b/macros/luatex/optex/f-xcharter.opm @@ -0,0 +1,27 @@ +%% This is part of OpTeX project, see http://petr.olsak.net/optex + +\_fontdecl [XCharter] \XCharter {An extension of Bitstream Charter} + {\caps \slant} {\rm \bf \it \bi} {TX} + "[XCharter-Roman]" + +\_wlog{\_detokenize{% +Modifier:^^J + \caps ...... caps & small caps^^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; } + +\_initfontfamily % new font family must be initialized + +\_endcode + +See the file `f-heros.opm` for information about principles of such +font-macro-files. + -- cgit v1.2.3