summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/optex/f-xcharter.opm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-02-12 22:27:05 +0000
committerKarl Berry <karl@freefriends.org>2020-02-12 22:27:05 +0000
commit775445b47908bd8ef0417e2ff0e16209cc127a5d (patch)
tree14972217c2a8795ae79b7a7320500bd04546de74 /Master/texmf-dist/tex/luatex/optex/f-xcharter.opm
parentf33a8f19027f814bfd8f9f85e6fa004a47901584 (diff)
optex (12feb20)
git-svn-id: svn://tug.org/texlive/trunk@53764 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/optex/f-xcharter.opm')
-rw-r--r--Master/texmf-dist/tex/luatex/optex/f-xcharter.opm27
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/optex/f-xcharter.opm b/Master/texmf-dist/tex/luatex/optex/f-xcharter.opm
new file mode 100644
index 00000000000..98db483ea4e
--- /dev/null
+++ b/Master/texmf-dist/tex/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.
+