summaryrefslogtreecommitdiff
path: root/tex/context/base/typo-drp.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2014-06-22 19:58:00 +0200
committerHans Hagen <pragma@wxs.nl>2014-06-22 19:58:00 +0200
commita9c288d372917c485a2882593ed18c8044bf82f1 (patch)
tree5dde88ef6591400030e42184ec2913b08ad394b9 /tex/context/base/typo-drp.lua
parent460d0ab518e3f51383c332b82045fe3ee14ca255 (diff)
downloadcontext-a9c288d372917c485a2882593ed18c8044bf82f1.tar.gz
beta 2014.06.22 19:58
Diffstat (limited to 'tex/context/base/typo-drp.lua')
-rw-r--r--tex/context/base/typo-drp.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/tex/context/base/typo-drp.lua b/tex/context/base/typo-drp.lua
index 9151100b6..ec1b52699 100644
--- a/tex/context/base/typo-drp.lua
+++ b/tex/context/base/typo-drp.lua
@@ -324,6 +324,15 @@ actions[v_default] = function(head,setting)
if dynamic > 0 then
setattr(current,0,dynamic)
end
+-- apply font
+
+-- local g = nodes.copy(tonode(current))
+-- g.subtype = 0
+-- nodes.handlers.characters(g)
+-- nodes.handlers.protectglyphs(g)
+-- setfield(current,"char",g.char)
+-- nodes.free(g)
+
-- can be a helper
if ca and ca > 0 then
setattr(current,a_colorspace,ma == 0 and 1 or ma)