summaryrefslogtreecommitdiff
path: root/macros/optex/base/f-librecaslon.opm
blob: 459cc90d1f1eca5126ad98a8d1772c3756640b14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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=\_ffonum; }

\_initfontfamily % new font family must be initialized

\_loadmath {[texgyretermes-math]}

\_endcode