Skip to content

Commit 6e12654

Browse files
authored
Merge pull request #44 from bwnek/fix/improve-xref
Fix/improve xref object size
2 parents 30932ed + e8c414e commit 6e12654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Document.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ public function render(): string
918918
$offset = \strlen($this->buffer);
919919
$this->buffer .= implode("\n", [
920920
'xref',
921-
'0 ' . ($objectSize + 1),
921+
'0 ' . $objectSize,
922922
'0000000000 65535 f ',
923923
$xref,
924924
]);

0 commit comments

Comments
 (0)