diff options
| author | Khaled Hosny <khaledhosny@eglug.org> | 2009-12-31 20:45:47 +0200 | 
|---|---|---|
| committer | Khaled Hosny <khaledhosny@eglug.org> | 2009-12-31 21:33:49 +0200 | 
| commit | 9a9286967af9ded80bc2884588c5ce460c59dc77 (patch) | |
| tree | ef2e042dba39ae9700de3d1683c113d66c00751a | |
| parent | 1e73c17385ffdf341b803a2a8edb8c801c3db2e4 (diff) | |
| download | luaotfload-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.
| -rw-r--r-- | luaotfload.dtx | 4 | 
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 | 
