blob: 4bc31ead65d23b38670e2e0cbaedbf591607ed5e (
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
27
28
29
30
31
32
|
%% This is part of the OpTeX project, see http://petr.olsak.net/optex
\_famdecl [Kerkis] \Kerkis {Free Bookman alternative with Greek letters}
{\semibold \sans \sanssemi \caps} {\rm \bf \it \bi \calli} {}
{[Kerkis]}
{\_def\_fontnamegen {[Kerkis\_currV]:script=latn;\_fontfeatures}}
\_wlog{\_detokenize{%
Modifiers:^^J
\semibold .. semibold weight (changed only \bf, \bi)^^J
\caps ...... caps & small caps (only \rm \bf, bad accents in \bf)^^J
\sans ...... sans serif^^J
\sanssemi .. semibold sans serif (only \rm, accented letters not available)^^J
Variant:^^J
\calli ..... Calligraphic (only upercase, lowercase letters equal to Italic)^^J
}}
\_moddef \resetmod {\_fvars {} -Bold -Italic -BoldItalic }
\_moddef \semibold {\_fvars {} -SemiBold -Italic -SemiBold-Italic }
\_moddef \caps {\_fvars -SmallCaps.otf -BoldSmallCaps . . }
\_moddef \sans {\_fvars Sans Sans-Bold Sans-Italic Sans-BoldItalic }
\_moddef \sanssemi {\_fvars Sans-SmallCaps . . . }
\_famvardef \calli {\_fvars -Calligraphic . . . \rm}
\_initfontfamily % new font family must be initialized
\_endcode
See the file `f-heros.opm` for information about principles of such
font-macro-files.
|