summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/f-gfsbodoni.opm
blob: ccdef2126d7b256344d84ddd41517a9d81bd16ea (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
%% This is part of OpTeX project, see http://petr.olsak.net/optex

\_fontdecl [GFS Bodoni] \GFSBodoni {Based on Bodoni with greek letters}
        {} {\rm \bf \it \bi} {TX}
        "[GFSBodoni]"

\_wlog{\_detokenize{%
Modifier:^^J
 \caps ...... doesn't work even though otfinfo -f lists cmcp^^J
}}

\_protected\def \GFSBodoni {%
   \_def \_currfamily {GFSBodoni}%
   \_def \_fontnamegen {"[GFSBodoni\_currV]:\_fontfeatures"}% 
   \_resetmod
}
\_moddef \resetmod {\_fvars {} Bold It BoldIt }

\_initfontfamily % new font family must be initialized

\_endcode

See the file `f-heros.opm` for information about principles of such
font-macro-files.