Re: [Dev-luatex] duplicated /MediaBox entry if pageattr is used

2023-01-20 Thread Ulrike Fischer
Am Tue, 17 Jan 2023 02:17:14 +0100 schrieb luigi scarso: >>> Would it be possible to copy the pdftex behaviour also in luatex? >> (sorry for the delay...) No need to excuse or to hurry ;-) >> Hans and I are talking about it, parsing here is a bit fragile thing . Yes, I thought so, and I woul

Re: [Dev-luatex] duplicated /MediaBox entry if pageattr is used

2023-01-16 Thread luigi scarso
On Sat, 14 Jan 2023 at 10:24, luigi scarso wrote: > > > On Wed, 11 Jan 2023 at 00:28, Ulrike Fischer wrote: > >> In pdftex "if the \pdfpageattr value contains the string /MediaBox, >> then pdfTEX omits outputting its own /MediaBox value". That means >> that the following produce a PDF with only

Re: [Dev-luatex] duplicated /MediaBox entry if pageattr is used

2023-01-14 Thread luigi scarso
On Wed, 11 Jan 2023 at 00:28, Ulrike Fischer wrote: > In pdftex "if the \pdfpageattr value contains the string /MediaBox, > then pdfTEX omits outputting its own /MediaBox value". That means > that the following produce a PDF with only one /MediaBox in the page > dictionary: > > \pdfcompresslevel0

[Dev-luatex] duplicated /MediaBox entry if pageattr is used

2023-01-10 Thread Ulrike Fischer
In pdftex "if the \pdfpageattr value contains the string /MediaBox, then pdfTEX omits outputting its own /MediaBox value". That means that the following produce a PDF with only one /MediaBox in the page dictionary: \pdfcompresslevel0 \pdfobjcompresslevel0 \pdfpageattr{/MediaBox [0 0 200 300]} abc