summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-ocl.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-04-20 22:56:41 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-04-20 22:56:41 +0200
commitf2a20e191bf71094aa21d37dee2ecd2f804dbc56 (patch)
tree5c94b5e2d5c0ec7e1946bf967a982c27f99a5fdc /tex/context/base/mkiv/font-ocl.lua
parent218228536ed709be8ab2dde4a00dc27249ceed8a (diff)
downloadcontext-f2a20e191bf71094aa21d37dee2ecd2f804dbc56.tar.gz
2017-04-20 21:37:00
Diffstat (limited to 'tex/context/base/mkiv/font-ocl.lua')
-rw-r--r--tex/context/base/mkiv/font-ocl.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/tex/context/base/mkiv/font-ocl.lua b/tex/context/base/mkiv/font-ocl.lua
index 2cb0c1eb7..c1ab2e592 100644
--- a/tex/context/base/mkiv/font-ocl.lua
+++ b/tex/context/base/mkiv/font-ocl.lua
@@ -141,10 +141,10 @@ local function initializecolr(tfmdata,kind,value) -- hm, always value
-- are somewhat inefficient as each glyph gets the font set. It's a
-- side effect of the fact that a font is handled when a character gets
-- flushed.
- -- { "special", "pdf:page:q" },
- -- { "special", "pdf:raw:" .. b }
- -- This seems to be okay too:
- { "special", "pdf:direct:q " .. b },
+ { "special", "pdf:page:q" },
+ { "special", "pdf:raw:" .. b }
+ -- This is not ok:
+ -- { "special", "pdf:direct:q " .. b },
}
local n = #t
for i=1,s do
@@ -155,10 +155,10 @@ local function initializecolr(tfmdata,kind,value) -- hm, always value
n = n + 1 t[n] = { "right", -w }
end
end
- -- n = n + 1 t[n] = { "special", "pdf:page:" .. e }
- -- n = n + 1 t[n] = { "special", "pdf:raw:Q" }
- -- This seems to be okay too:
- n = n + 1 t[n] = { "special", "pdf:direct:" .. e .. " Q"}
+ n = n + 1 t[n] = { "special", "pdf:page:" .. e }
+ n = n + 1 t[n] = { "special", "pdf:raw:Q" }
+ -- This is not ok:
+ -- n = n + 1 t[n] = { "special", "pdf:direct:" .. e .. " Q"}
character.commands = t
end
end