@@ 728-737 (lines=10) @@ | ||
725 | } |
|
726 | ||
727 | $res .= "\n>>"; |
|
728 | if (isset($o['info']['mediaBox'])) { |
|
729 | $tmp = $o['info']['mediaBox']; |
|
730 | $res .= "\n/MediaBox [" . sprintf( |
|
731 | '%.3F %.3F %.3F %.3F', |
|
732 | $tmp[0], |
|
733 | $tmp[1], |
|
734 | $tmp[2], |
|
735 | $tmp[3] |
|
736 | ) . ']'; |
|
737 | } |
|
738 | } |
|
739 | ||
740 | $res .= "\n >>\nendobj"; |
|
@@ 1558-1567 (lines=10) @@ | ||
1555 | ||
1556 | case 'out': |
|
1557 | $res = "\n$id 0 obj\n<< /Type /Page"; |
|
1558 | if (isset($o['info']['mediaBox'])) { |
|
1559 | $tmp = $o['info']['mediaBox']; |
|
1560 | $res .= "\n/MediaBox [" . sprintf( |
|
1561 | '%.3F %.3F %.3F %.3F', |
|
1562 | $tmp[0], |
|
1563 | $tmp[1], |
|
1564 | $tmp[2], |
|
1565 | $tmp[3] |
|
1566 | ) . ']'; |
|
1567 | } |
|
1568 | $res .= "\n/Parent " . $o['info']['parent'] . " 0 R"; |
|
1569 | ||
1570 | if (isset($o['info']['annot'])) { |