summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/optex/base/f-kurier.opm
blob: ca1a6e381e064828e6f0e1e15de68bff6c751e03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
%% This is part of the OpTeX project, see http://petr.olsak.net/optex

\_famdecl [Kurier] \Kurier {Two element sans serif typeface}
     {\caps \cond \light \medium \bolder} {\rm \bf \it \bi} {}
     {[Kurier-Regular]}
     {\_def\_fontnamegen{[Kurier\_condV\_weightV-\_currV]:\_capsV\_fontfeatures}}

\_wlog{\_detokenize{%
Modifiers:^^J
 \caps ...... caps & small caps^^J
 \cond ...... condensed variants^^J
 \light ..... light (only \rm \it)^^J
 \medium .... medium (only \rm \it)^^J
 \bolder .... heavy (only \rm \it)
}}

\_moddef \resetmod {\_fsetV caps={},cond={},weight={} \_fvars Regular Bold Italic BoldItalic }
\_moddef \caps     {\_fsetV caps=+smcp;\_ffonum; }
\_moddef \nocaps   {\_fsetV caps={} }
\_moddef \cond     {\_fsetV cond=Cond }
\_moddef \light    {\_fsetV weight=Light \_fvars Regular . Italic . }
\_moddef \medium   {\_fsetV weight=Medium \_fvars Regular . Italic . }
\_moddef \bolder   {\_fsetV weight=Heavy \_fvars Regular . Italic . }
\_moddef \nocond   {\_fsetV cond={} }

\_initfontfamily % new font family must be initialized