summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2009-12-31 20:45:47 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2009-12-31 21:33:49 +0200
commit9a9286967af9ded80bc2884588c5ce460c59dc77 (patch)
treeef2e042dba39ae9700de3d1683c113d66c00751a /luaotfload.dtx
parent1e73c17385ffdf341b803a2a8edb8c801c3db2e4 (diff)
downloadluaotfload-9a9286967af9ded80bc2884588c5ce460c59dc77.tar.gz
Make transparency work with adobe reader
Switch to pdfliteral default (indirect) mode which will make sure text blocks are surrounded by BT ET (see PDFTeX manual, 7.12), which, for some obscure reason, adobe reader needs for transparency to work.
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r--luaotfload.dtx4
1 files changed, 2 insertions, 2 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx
index fd6a8b1..6c776e1 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -718,14 +718,14 @@ local function colorize(head)
if prev.id == glyph and fonts.ids[prev.font].color == tfmdata.color then
else
local push = node.new(whatsit, 8)
- push.mode = 2
+ push.mode = 1
push.data = pushcolor
head = node.insert_before(head, n, push)
end
if next.id == glyph and fonts.ids[next.font].color == tfmdata.color then
else
local pop = node.new(whatsit, 8)
- pop.mode = 2
+ pop.mode = 1
pop.data = popcolor
head = node.insert_after(head, n, pop)
end