Default CropBox should be the full MediaBox.

This commit is contained in:
Michael R Sweet
2021-05-16 18:31:45 -04:00
parent 35ea209c73
commit 45899f8a8d
3 changed files with 9 additions and 18 deletions

View File

@@ -313,8 +313,8 @@ write_page(pdfio_file_t *pdf, // I - PDF file
fputs("pdfioStreamPuts(...): ", stdout);
if (pdfioStreamPuts(st,
"0 g 18 18 559 760 re 72 72 451 648 re f*\n"
"1 0 0 RG 18 18 559 760 re 72 72 451 648 re S\n"))
"1 0 0 RG 0 g 5 w\n"
"18 18 559 760 re 72 72 451 648 re B*\n"))
puts("PASS");
else
return (1);