summaryrefslogtreecommitdiff
path: root/macros/optex/base/f-jost.opm
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-05-25 03:02:16 +0000
committerNorbert Preining <norbert@preining.info>2023-05-25 03:02:16 +0000
commited4c98e3a1f3e2160094ac1b05cfc304832cce4d (patch)
tree525f429dcbb1a32940c3c2b0564ec988ffdb5844 /macros/optex/base/f-jost.opm
parentcaf8f98f9740b34fca93a1a42058820632d0b35b (diff)
CTAN sync 202305250302
Diffstat (limited to 'macros/optex/base/f-jost.opm')
-rw-r--r--macros/optex/base/f-jost.opm32
1 files changed, 32 insertions, 0 deletions
diff --git a/macros/optex/base/f-jost.opm b/macros/optex/base/f-jost.opm
new file mode 100644
index 0000000000..27d64821a1
--- /dev/null
+++ b/macros/optex/base/f-jost.opm
@@ -0,0 +1,32 @@
+%% This is part of the OpTeX project, see http://petr.olsak.net/optex
+
+\_famdecl [Jost] \Jost {Jost* geometric sans-serif}
+ {\hairline \thin \light \medium}
+ {\rm \bf \it \bi \kf \ki} {}
+ {[Jost-400-Book]}
+ {\_def\_fontnamegen {[Jost-\_currV]:script=latn;\_fontfeatures}}
+
+\_wlog{\_detokenize{%
+Modifiers (weight):^^J
+ \hairline ... \rm, \it: Hairline, \bf, \bi: Book^^J
+ \thin ....... \rm, \it: Thin, \bf, \bi: Medium^^J
+ \light ...... \rm, \it: Light, \bf, \bi: SemiBold^^J
+ \medium ..... \rm, \it: Medium, \bf, \bi: Hevy^^J
+Extended Variants:^^J
+ \kf, \ki .... Black, BlackItalic^^J
+}}
+
+\_moddef \resetmod {\_fvars 400-Book 700-Bold 400-BookItalic 700-BoldItalic }
+\_moddef \hairline {\_fvars 100-Hairline 400-Book 100-HairlineItalic 400-BookItalic }
+\_moddef \thin {\_fvars 200-Thin 500-Medium 200-ThinItalic 500-MediumItalic }
+\_moddef \light {\_fvars 300-Light 600-Semi 300-LightItalic 600-SemiItalic }
+\_moddef \medium {\_fvars 500-Medium 800-Hevy 500-MediumItalic 800-HevyItalic }
+\_moddef \black {\_fvars 900-Black . 900-BlackItalic . }
+\_private \black ;
+
+\_famvardef \kf {\_black\_rm}
+\_famvardef \ki {\_black\_it}
+
+\_initfontfamily
+
+\_endcode