![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 7/9/2020 9:08 AM, Taco Hoekwater wrote:
On 9 Jul 2020, at 08:32, Hans Hagen
wrote: On 7/8/2020 8:14 PM, Gerben Wierda wrote:
I found out this in the PDF spec: The minimum page size should be 3 by 3 units in default user space; the
I never noticed that ... what section/paragraph in the spec?
It’s in the implementation limits for Acrobat, not in the normative section.
Great. That used to be 1 bp so now it's more. As it happens, we do have a check for this in context so we can adapt it ... but, as this 3 bp is kind of arbitrary and because 3 bp becomes a float and thereby ends up slightly less than the integer 3 we can best play safe and revert to the usual tex joke, so i now set the minumum to \luaexpr{math.pi}\onebasepoint which then gives: /MediaBox [ 0 0 3.141539539 3.141539539 ] because after all, any rediculous minimum will do and that way a user can still figure out that it's a value set by context. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------