diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-07-30 00:12:09 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-07-30 00:12:09 +0200 |
commit | 488dc02c27841eced466d9b6594666c923fef649 (patch) | |
tree | 4f47b6abe28679284a27f6edcfa1f4e7af782730 /tex/context/base/mkiv/font-fbk.lua | |
parent | c6715fb7e284831f7172cbac1df945f63c0abbed (diff) | |
download | context-488dc02c27841eced466d9b6594666c923fef649.tar.gz |
2017-07-29 23:14:00
Diffstat (limited to 'tex/context/base/mkiv/font-fbk.lua')
-rw-r--r-- | tex/context/base/mkiv/font-fbk.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tex/context/base/mkiv/font-fbk.lua b/tex/context/base/mkiv/font-fbk.lua index 5008887b8..8c706e9f6 100644 --- a/tex/context/base/mkiv/font-fbk.lua +++ b/tex/context/base/mkiv/font-fbk.lua @@ -65,10 +65,10 @@ local function composecharacters(tfmdata) local vfspecials = backends.tables.vfspecials --brr local red, green, blue, black if trace_combining_visualize then - red = vfspecials.red - green = vfspecials.green - blue = vfspecials.blue - black = vfspecials.black + red = vfspecials.startcolor("red") + green = vfspecials.startcolor("green") + blue = vfspecials.startcolor("blue") + black = vfspecials.stopcolor end local compose = fonts.goodies.getcompositions(tfmdata) if compose and trace_combining_visualize then @@ -214,15 +214,15 @@ local function composecharacters(tfmdata) dy = - deltaxheight + extraxheight end if trace_combining_visualize then - t.commands = { push, {"right", dx+dd}, {"down", dy}, green, acc_t, black, pop, chr_t } + t.commands = { push, { "right", dx+dd }, { "down", dy }, green, acc_t, black, pop, chr_t } else - t.commands = { push, {"right", dx+dd}, {"down", dy}, acc_t, pop, chr_t } + t.commands = { push, { "right", dx+dd }, { "down", dy }, acc_t, pop, chr_t } end else if trace_combining_visualize then - t.commands = { push, {"right", dx+dd}, blue, acc_t, black, pop, chr_t } + t.commands = { push, { "right", dx+dd }, blue, acc_t, black, pop, chr_t } else - t.commands = { push, {"right", dx+dd}, acc_t, pop, chr_t } + t.commands = { push, { "right", dx+dd }, acc_t, pop, chr_t } end end end |