summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/optex/base/f-draftingmono.opm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-05-24 22:26:14 +0000
committerKarl Berry <karl@freefriends.org>2023-05-24 22:26:14 +0000
commit2878bf11fe6ab8ebe50cf5697a9d8356c5324442 (patch)
tree4f1bcbc961b59de3ab36417fb10b26288e2bc499 /Master/texmf-dist/tex/optex/base/f-draftingmono.opm
parent72209885b314ca3f3f61a5b6597cbb85fc9b53d4 (diff)
optex (25may23)
git-svn-id: svn://tug.org/texlive/trunk@67208 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/optex/base/f-draftingmono.opm')
-rw-r--r--Master/texmf-dist/tex/optex/base/f-draftingmono.opm30
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/optex/base/f-draftingmono.opm b/Master/texmf-dist/tex/optex/base/f-draftingmono.opm
new file mode 100644
index 00000000000..a855348d3b8
--- /dev/null
+++ b/Master/texmf-dist/tex/optex/base/f-draftingmono.opm
@@ -0,0 +1,30 @@
+%% This is part of the OpTeX project, see http://petr.olsak.net/optex
+
+\_famdecl [DraftingMono] \DraftingMono {Drafting* Mono monospaced}
+ {\caps \allsc \nocaps \thin \light \medium} {\rm \bf \it \bi} {}
+ {[DraftingMono-Regular]}
+ {\_def\_fontnamegen {[DraftingMono-\_currV]:script=latn;\_capsV\_fontfeatures}}
+
+\_wlog{\_detokenize{%
+Modifiers (weight)^^J
+ \thin ..... \rm, \it: Thin, \bf, \bi: Light^^J
+ \light .... \rm, \it: Light, \bf, \bi: Medium^^J
+ \medium ... \rm, \it: Medium, \bf, \bi: Bold^^J
+Modifiers: (small caps)^^J
+ \caps ..... Caps and small caps^^J
+ \allsc .... Small caps only^^J
+ \nocaps ... No small caps^^J
+}}
+
+\_moddef \resetmod {\_fsetV caps={} \_fvars Regular Bold Italic BoldItalic }
+\_moddef \caps {\_fsetV caps=+smcp; }
+\_moddef \allsc {\_fsetV caps=+smcp;+c2sc; }
+\_moddef \nocaps {\_fsetV caps={} }
+
+\_moddef \thin {\_fvars Thin Light ThinItalic LightItalic }
+\_moddef \light {\_fvars Light Medium LightItalic MediumItalic }
+\_moddef \medium {\_fvars Medium Bold MediumItalic BoldItalic }
+
+\_initfontfamily
+
+\_endcode