summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/optex/base/f-dejavu.opm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/optex/base/f-dejavu.opm')
-rw-r--r--Master/texmf-dist/tex/optex/base/f-dejavu.opm31
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/optex/base/f-dejavu.opm b/Master/texmf-dist/tex/optex/base/f-dejavu.opm
new file mode 100644
index 00000000000..76fd90c0db0
--- /dev/null
+++ b/Master/texmf-dist/tex/optex/base/f-dejavu.opm
@@ -0,0 +1,31 @@
+%% This is part of the OpTeX project, see http://petr.olsak.net/optex
+
+\_famdecl [DejaVu] \Dejavu {Derived from the Vera fonts}
+ {\sans \mono \cond \light \caps} {\rm \bf \it \bi} {TG-DejavuMath}
+ {[DejaVuSerif]}
+ {\_def\_fontnamegen {[DejaVu\_subfamV\_typfamV\_currV]:\_fontfeatures}}
+
+\_wlog{\_detokenize{%
+Modifiers:^^J
+ \sans ...... sans serif^^J
+ \serif ..... serif (default)^^J
+ \mono ...... non-proportional, only \sans^^J
+ \light ..... extra-light, only \sans, only \rm, others (\bf\it\bi) unchanged^^J
+ \cond ...... condensed (\sans or \serif, not \mono)
+}}
+
+\_def\_BIfvars{\_fvars {} -Bold -Italic -BoldItalic }
+\_def\_BOfvars{\_fvars {} -Bold -Oblique -BoldOblique }
+\_moddef \resetmod {\_fsetV subfam=Serif,typfam={} \_BIfvars }
+\_moddef \sans {\_fsetV subfam=Sans \_BOfvars }
+\_moddef \serif {\_fsetV subfam=Serif,typfam={} \_BOfvars }
+\_moddef \mono {\_fsetV subfam=Sans,typfam=Mono \_BOfvars }
+\_moddef \light {\_fsetV subfam=Sans,typfam={} \_fvars -ExtraLight -Bold -Oblique -BoldOblique }
+\_moddef \cond {\_fsetV typfam=Condensed }
+
+\_initfontfamily % new font family must be initialized
+
+\_loadmath {[texgyredejavu-math]}
+
+\_endcode
+