blob: ab23b460ebb687bd0db6a9039de90271ef33de84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
\definefontfeature[punk][mode=node,script=latn,rand=yes,kern=yes,tlig=yes]
\definefontfeature[punk-sl][punk][slant=0.2]
\starttypescript [serif] [punknova]
\definefontsynonym[Serif] [file:punknova-regular][features=punk]
\definefontsynonym[SerifBold] [file:punknova-bold] [features=punk]
\definefontsynonym[SerifItalic] [Serif] [features=punk-sl]
\definefontsynonym[SerifBoldItalic] [SerifBold] [features=punk-sl]
\stoptypescript
\starttypescript [punknova]
\definetypeface [punknova] [rm] [serif] [punknova] [default]
\stoptypescript
\setupbodyfont[punknova]
\starttext
\rm \input knuth\par
\bf \input knuth\par
\it \input knuth\par
\bi \input knuth\par
\stoptext
|