Commit Graph

29 Commits

Author SHA1 Message Date
Michael R Sweet
10ab119922
Initial documentation. 2021-05-29 21:21:45 -04:00
Michael R Sweet
a18b8fd606
Switch to using double for numbers, since they are also used to record lengths
and other potentially large contents.
2021-05-29 21:16:21 -04:00
Michael R Sweet
35d22705fa
Implement pdfioObjCopy and pdfioPageCopy, with tests. 2021-05-29 20:00:48 -04:00
Michael R Sweet
f1fb09c6c0
Switch back to compressed page content streams. 2021-05-28 22:24:39 -04:00
Michael R Sweet
94cb915885
Fix xref table - wrong total number of objects.
Update pdfioContentDrawImage to take x/y offsets and sizes.
2021-05-28 22:05:44 -04:00
Michael R Sweet
fb853dadda
Fix some issues with the core file writing code.
Add test images to the unit tests.
2021-05-28 10:41:21 -04:00
Michael R Sweet
45899f8a8d
Default CropBox should be the full MediaBox. 2021-05-16 18:31:45 -04:00
Michael R Sweet
548ff7d119
Initial writing support. 2021-05-16 11:39:05 -04:00
Michael R Sweet
17f2cc213e
Implement object mapping framework. 2021-05-13 13:18:01 -04:00
Michael R Sweet
7cb4d0a557
Update TODOs. 2021-05-10 21:33:26 -04:00
Michael R Sweet
18853ca3d5
Increase token buffer to 256 bytes, to avoid overflow scenarios.
Add _pdfioTokenFlush to manually flush the token buffer.

Add more debug printfs.
2021-05-10 17:37:57 -04:00
Michael R Sweet
5f43761537
Initial support for reading pages dictionary. 2021-05-08 22:50:18 -04:00
Michael R Sweet
e1c145b10a
Defer loading the Root, Info, and Encrypt objects until we have loaded all of
the xref tables.
2021-05-08 22:05:40 -04:00
Michael R Sweet
979ccf19ff
Fix pdfioFileFindObject, fix cross-reference streams, implement support for
compressed object streams.
2021-05-08 11:21:49 -04:00
Michael R Sweet
9a919d478f
Rework token reading to be separate from the PDF file so we can add support
for compressed object streams.
2021-05-08 07:38:44 -04:00
Michael R Sweet
44325ce2d9
Safe work on streams - still need to implement predictors 2021-05-07 08:47:49 -04:00
Michael R Sweet
d2a0484d93
Rework debug functions, start xref stream support. 2021-05-06 09:51:48 -04:00
Michael R Sweet
4abb91ca24
Save work on loading object dictionaries - have a memory issue someplace. 2021-05-04 21:31:58 -04:00
Michael R Sweet
7afdfc725c
Implement object loading. 2021-05-04 17:04:09 -04:00
Michael R Sweet
7733fbeb10
Rework object and xref processing to allow for sparse object lists and generation numbers. 2021-05-04 16:06:14 -04:00
Michael R Sweet
59ef6b48ed
Add some debug output, "debug" make target.
Fix loading of dicts, trailer.
2021-05-04 12:59:10 -04:00
Michael R Sweet
516c6b9ace
Load trailer dict. 2021-05-04 12:24:29 -04:00
Michael R Sweet
e107b94c83
Work on token parsing. 2021-05-01 17:50:52 -04:00
Michael R Sweet
f5f0e190b5
Initial working pdfioFileOpen, test program. 2021-05-01 11:50:17 -04:00
Michael R Sweet
d13364a4fd
Implement pdfioFileOpen reading of xref table. 2021-05-01 11:41:43 -04:00
Michael R Sweet
e6dbb256f1
Add an Xcode project and fix some Clang-reported issues. 2021-05-01 07:36:19 -04:00
Michael R Sweet
e2e2192ea9
Save work. 2021-04-27 21:22:34 -04:00
Michael R Sweet
899feb15c7
Start filling out internal APIs. 2021-04-16 21:09:43 -04:00
Michael R Sweet
c2610f2dd0
Fill out basic API functions. 2021-04-16 20:41:46 -04:00