diff options
Diffstat (limited to 'tex/context/base/mkiv/lpdf-lmt.lmt')
-rw-r--r-- | tex/context/base/mkiv/lpdf-lmt.lmt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tex/context/base/mkiv/lpdf-lmt.lmt b/tex/context/base/mkiv/lpdf-lmt.lmt index fd0236fc7..ed385b4de 100644 --- a/tex/context/base/mkiv/lpdf-lmt.lmt +++ b/tex/context/base/mkiv/lpdf-lmt.lmt @@ -1706,9 +1706,11 @@ local finalize do if BleedBox then BleedBox = box end end - if TrimBox then pageattributes.TrimBox = pdfsharedobject(TrimBox ) end - if CropBox then pageattributes.CropBox = pdfsharedobject(CropBox ) end - if BleedBox then pageattributes.BleedBox = pdfsharedobject(BleedBox) end + -- Indirect objects don't work in all viewers. + + if TrimBox then pageattributes.TrimBox = TrimBox end -- pdfsharedobject(TrimBox ) + if CropBox then pageattributes.CropBox = CropBox end -- pdfsharedobject(CropBox ) + if BleedBox then pageattributes.BleedBox = BleedBox end -- pdfsharedobject(BleedBox) else |