summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/optex/base/f-librecaslon.opm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-03-18 21:11:41 +0000
committerKarl Berry <karl@freefriends.org>2021-03-18 21:11:41 +0000
commit7f1b1d619ecdc820d2c871cfa3869a09f2d95680 (patch)
tree1423b3c1977020e0b36d7184ed5de3e0a483d7f7 /Master/texmf-dist/tex/luatex/optex/base/f-librecaslon.opm
parentf8aecfdeab164d4ab39c42c303e9d94e8a200a67 (diff)
optex (18mar21) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2020.0@58516 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/optex/base/f-librecaslon.opm')
-rw-r--r--Master/texmf-dist/tex/luatex/optex/base/f-librecaslon.opm22
1 files changed, 22 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/optex/base/f-librecaslon.opm b/Master/texmf-dist/tex/luatex/optex/base/f-librecaslon.opm
new file mode 100644
index 00000000000..53f61834f1d
--- /dev/null
+++ b/Master/texmf-dist/tex/luatex/optex/base/f-librecaslon.opm
@@ -0,0 +1,22 @@
+%% This is part of the OpTeX project, see http://petr.olsak.net/optex
+
+\_famdecl [LibreCaslon] \Librecaslon {Libre Caslon Text, inspired by Caslon}
+ {\onum} {\rm \bf \it \bi} {Termes}
+ {[LibreCaslonText-Regular]}
+ {\_def\_fontnamegen {[Libre\_currV]:\_capsV\_fontfeatures}}
+
+\_wlog{\_detokenize{%
+Modifier:^^J
+ \onum ...... oldstyle figures^^J
+}}
+
+\_moddef \resetmod {\_fsetV caps={},csl={CaslonText}
+ \_fvars \_cslV-Regular \_cslV-Bold \_cslV-Italic Csln-Bolditalic }
+\_moddef \onum {\_fsetV caps=+onum; }
+
+\_initfontfamily % new font family must be initialized
+
+\_loadmath {[texgyretermes-math]}
+
+\_endcode
+