From 0a5f59a9aa25b3de7e9659b39ad201aaf7eb5a67 Mon Sep 17 00:00:00 2001
From: Hans Hagen <pragma@wxs.nl>
Date: Fri, 27 Sep 2019 20:24:34 +0200
Subject: 2019-09-27 18:10:00

---
 .../2017/context-2017-features-singletest.tex      | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 doc/context/presentations/context/2017/context-2017-features-singletest.tex

(limited to 'doc/context/presentations/context/2017/context-2017-features-singletest.tex')

diff --git a/doc/context/presentations/context/2017/context-2017-features-singletest.tex b/doc/context/presentations/context/2017/context-2017-features-singletest.tex
new file mode 100644
index 000000000..fb0326fa3
--- /dev/null
+++ b/doc/context/presentations/context/2017/context-2017-features-singletest.tex
@@ -0,0 +1,25 @@
+\setupbodyfont[dejavu]
+
+\startluacode
+    fonts.handlers.otf.addfeature {
+        name = "singletest",
+        type = "single",
+        data = {
+            B = { -30, 0, -50, 0 },
+        }
+    }
+\stopluacode
+
+\starttext
+
+\definecolor[tgray][s=.5,t=.5,a=1] \showfontkerns \showglyphs
+
+\definefontfeature[singletest] [mode=node,singletest=yes]
+
+\definedfont[file:dejavu-serif.ttf*singletest @ 48pt]
+
+\startTEXpage[offset=10pt,foregroundcolor=tgray]
+    ABCDEF
+\stopTEXpage
+
+\stoptext
-- 
cgit v1.2.3

