summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/punknova/documentation/documentation-sources/sample.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/fonts/punknova/documentation/documentation-sources/sample.tex')
-rw-r--r--Master/texmf-dist/doc/fonts/punknova/documentation/documentation-sources/sample.tex22
1 files changed, 22 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/punknova/documentation/documentation-sources/sample.tex b/Master/texmf-dist/doc/fonts/punknova/documentation/documentation-sources/sample.tex
new file mode 100644
index 00000000000..ab23b460ebb
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/punknova/documentation/documentation-sources/sample.tex
@@ -0,0 +1,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