summaryrefslogtreecommitdiff
path: root/tex/context/modules/mkiv/s-fonts-tables.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2020-07-13 17:21:34 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2020-07-13 17:21:34 +0200
commitb821116421f0d942052ad225f4ea62aef2696817 (patch)
tree36fc7ba6a85e4dc34617f1ff89bbfef288bfa51d /tex/context/modules/mkiv/s-fonts-tables.lua
parentb4260c7c04f7e82a9987b7bb758040853ebc464e (diff)
downloadcontext-b821116421f0d942052ad225f4ea62aef2696817.tar.gz
2020-07-13 16:31:00
Diffstat (limited to 'tex/context/modules/mkiv/s-fonts-tables.lua')
-rw-r--r--tex/context/modules/mkiv/s-fonts-tables.lua12
1 files changed, 3 insertions, 9 deletions
diff --git a/tex/context/modules/mkiv/s-fonts-tables.lua b/tex/context/modules/mkiv/s-fonts-tables.lua
index d9d7205de..8673ef398 100644
--- a/tex/context/modules/mkiv/s-fonts-tables.lua
+++ b/tex/context/modules/mkiv/s-fonts-tables.lua
@@ -27,6 +27,8 @@ local setlink = nodes.setlink
local hpack = nodes.hpack
local applyvisuals = nodes.applyvisuals
+local lefttoright_code = nodes.dirvalues.lefttoright
+
local handle_positions = fonts.handlers.otf.datasetpositionprocessor
local handle_injections = nodes.injections.handler
@@ -285,17 +287,9 @@ function tabletracers.showpositionings(specification)
if resources then
- local direction = "TLT"
-
+ local direction = lefttoright_code -- not that relevant probably
local sequences = resources.sequences
local marks = resources.marks
-
- if tonumber(direction) == -1 or direction == "TRT" then
- direction = "TRT"
- else
- direction = "TLT"
- end
-
local visuals = "fontkern,glyph,box"
local datasets = fonts.handlers.otf.dataset(tfmdata,fontid,0)