Re: [NTG-context] /CropBox overflows /MediaBox

2023-03-07 Thread Pablo Rodriguez via ntg-context
On 3/6/23 23:06, Hans Hagen via ntg-context wrote: > On 3/6/2023 7:02 PM, Pablo Rodriguez via ntg-context wrote: > >> But I’m afraid that it is wrong to have a /TrimBox larger than the >> /MediaBox for the same page. > > Afaik the standard permits is to one gets what one asks. I will add some >

Re: [NTG-context] /CropBox overflows /MediaBox

2023-03-06 Thread Hans Hagen via ntg-context
On 3/6/2023 7:02 PM, Pablo Rodriguez via ntg-context wrote: But I’m afraid that it is wrong to have a /TrimBox larger than the /MediaBox for the same page. Afaik the standard permits is to one gets what one asks. I will add some checks plus a warning and hopefully not break something. Hans

Re: [NTG-context] /CropBox overflows /MediaBox

2023-03-06 Thread Pablo Rodriguez via ntg-context
On 3/2/23 00:20, Hans Hagen wrote: > On 2/28/2023 6:23 PM, Pablo Rodriguez via ntg-context wrote: >> [...] > I only see one size. Anyway, attached a fix for the different rounding. Sorry, Hans, I copied the wrong sample (value for "width" in "\setupinteractionscreen" should read "fit" instead of "

Re: [NTG-context] /CropBox overflows /MediaBox

2023-03-01 Thread Pablo Rodriguez via ntg-context
On 2/28/23 21:18, Hans Hagen via ntg-context wrote: > On 2/28/2023 6:23 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Could anyone be so kind to confirm the issue or to explain the >> rationale behind the oversized /CropBox? > different code path (dates from mkiv but i can adapt it for lmt

Re: [NTG-context] /CropBox overflows /MediaBox

2023-02-28 Thread Hans Hagen via ntg-context
On 2/28/2023 6:23 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following source: \nopdfcompression \setupinteractionscreen [width=max] \setuplayout [standard] [backspace=.7\textwidth, cutspace=\cutspace, width=middle] \starttext \sta