summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/lpdf-wid.lmt
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-05-09 17:39:46 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-05-09 17:39:46 +0200
commit4396699cb99f42f6378ed7229788bbceb898851a (patch)
tree27558ace7551b158ad0d515aa7e761caef844e96 /tex/context/base/mkxl/lpdf-wid.lmt
parenta2ebcf294b4f2b10a3ecef1d1d3c7de7694c498c (diff)
downloadcontext-4396699cb99f42f6378ed7229788bbceb898851a.tar.gz
2021-05-09 17:14:00
Diffstat (limited to 'tex/context/base/mkxl/lpdf-wid.lmt')
-rw-r--r--tex/context/base/mkxl/lpdf-wid.lmt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/lpdf-wid.lmt b/tex/context/base/mkxl/lpdf-wid.lmt
index 268ca119e..53ba32812 100644
--- a/tex/context/base/mkxl/lpdf-wid.lmt
+++ b/tex/context/base/mkxl/lpdf-wid.lmt
@@ -459,7 +459,7 @@ function nodeinjections.attachfile(specification)
AP = appearance,
OC = analyzelayer(specification.layer),
-- F = pdfnull(), -- another rediculous need to satisfy validation
- F = bit32.band(bit32.bor(flags,4),(1023-1-2-32-256)), -- set 3, clear 1,2,6,9; PDF 32000-1, p385
+ F = (flags | 4) & (1023-1-2-32-256), -- set 3, clear 1,2,6,9; PDF 32000-1, p385
}
local width = specification.width or 0
local height = specification.height or 0