536 Commits

Author SHA1 Message Date
Michael R Sweet
89c2a75376
Fix a potential heap overflow in the TrueType cmap code. 2025-02-24 10:55:28 -05:00
Michael R Sweet
1237599dea
Clean up some compiler warnings. 2025-02-22 19:48:09 -05:00
Michael R Sweet
6e2e4bbcc6
Remove unnnecessary length remaining check. 2025-02-22 11:04:31 -05:00
Michael R Sweet
d535067c91
Fix pkg-config dependencies. 2025-02-22 08:30:38 -05:00
Michael R Sweet
e996898b57
Back out object stream changes, as they would require much more significant
reworking of the "write value" private API that I don't want to do right now.
2025-02-21 16:57:01 -05:00
Michael R Sweet
aa6a20c042
Lay the groundwork for object streams. 2025-02-21 15:33:27 -05:00
Michael R Sweet
f09105dd3f
Add support for writing the PCLm subset of PDF (Issue #99) 2025-02-20 18:18:53 -05:00
Michael R Sweet
5be5552b2b
Turn write_obj_header into private API. 2025-02-20 17:37:31 -05:00
Michael R Sweet
492a4f51b2
Allocate stream compression buffer. 2025-02-16 13:20:51 -05:00
Michael R Sweet
44827bac1a
Cleanup. 2025-02-16 12:40:39 -05:00
Michael R Sweet
3fad0d6f15
Support xref streams with encrypted output. 2025-02-16 12:35:45 -05:00
Michael R Sweet
aeee24b856
Add xref stream support (Issue #10) 2025-02-15 21:54:16 -05:00
Michael R Sweet
8d72f22efe
Add support for 'repairing' damaged PDF files (Issue #45) 2025-02-15 17:26:23 -05:00
Michael R Sweet
77117ac789
Update MD5 code with proper coding style/documentation for this project. 2025-02-15 13:35:54 -05:00
Michael R Sweet
fceb5a807d
Update AES code with proper coding style/documentation for this project. 2025-02-15 12:56:27 -05:00
Michael R Sweet
4f123c2a01
Update makesrcdist script to report all issues before exiting and fix major/minor version checks. 2025-02-15 12:30:19 -05:00
Michael R Sweet
c4c8fa6036
Make sure we have all the version numbers in pdfio.h. 2025-02-15 12:25:09 -05:00
Michael R Sweet
9a5c5ec65d
Add support for the sRGB chunk in PNG files in addition to the cHRM and gAMA
chunks.
2025-02-14 14:51:06 -05:00
Michael R Sweet
3f4308b68d
Add ICC support to PNG files. 2025-02-14 14:37:08 -05:00
Michael R Sweet
9e930a7c5d
Add new pdfioFileCreateICCObjFromData API to DLL exports. 2025-02-14 13:23:01 -05:00
Michael R Sweet
afa010cea2
Add ICC color profile support for JPEG files (Issue #7) 2025-02-14 13:22:30 -05:00
Michael R Sweet
c26b200a83
Add missing symbol to DLL. 2025-02-13 19:27:04 -05:00
Michael R Sweet
eff02198ab
Clean up pdfioinfo example changes. 2025-02-13 19:25:44 -05:00
Michael R Sweet
5f98c7838c
Rename pdfioFileGetModDate to pdfioFileGetModificationDate.
Add pdfioFileSetModificationDate API.

Update DLL exports file.

Update docos and changelog.
2025-02-13 18:56:43 -05:00
Michael R Sweet
4f880bc0c1
Merge pull request #88 from tlaronde/info
Extend by adding pdfioGetModDate and extend the pdfioinfo example
2025-02-13 18:47:28 -05:00
Thierry LARONDE
d032483ed4
Merge branch 'michaelrsweet:master' into info 2025-02-12 15:54:47 +01:00
Michael R Sweet
b2fc82f3a8
Update CI dependencies.
Add libpng_native to VC++ projects.
2025-02-12 09:25:57 -05:00
Michael R Sweet
b81d01f319
Fix builds without libpng. 2025-02-11 22:59:23 -05:00
Michael R Sweet
1b35321615
Add PngSuite to testpdfio (Issue #90) 2025-02-11 22:54:59 -05:00
Michael R Sweet
990342f2a5
Add masking, color space, and variable bit depth support (Issue #90) 2025-02-11 22:07:02 -05:00
Michael R Sweet
7f5fc456bc
Fix image dictionary for new libpng-based PNG image support (Issue #90) 2025-02-11 20:23:59 -05:00
Michael R Sweet
7c527cc908
Fix pdfio-512.png file. 2025-02-11 20:23:28 -05:00
Michael R Sweet
41d17fc4e3
Update version number in NuGet files. 2025-02-11 20:23:17 -05:00
Michael R Sweet
4e89137689
Use pkg-config for compiler options.
Fix some issues with the image2pdf example code.
2025-02-11 20:22:36 -05:00
Michael R Sweet
e686669b9d
Save work on libpng PNG loader (Issue #90) 2025-02-10 21:25:59 -05:00
Michael R Sweet
1e5cc6ffd5
Do cleanup of PNG loading code, in preparation of adding full support (Issue #90) 2025-02-10 15:54:29 -05:00
Michael R Sweet
4f1b373232
Add PngSuite from http://www.schaik.com/pngsuite/ for testing PNG image
support (Issue #90)
2025-02-10 11:04:39 -05:00
Michael R Sweet
6f4bfe107f
Refactor pdfioFileCreateImageObjFromData to do the image writing in a separate
function (Issue #90)
2025-02-10 10:28:28 -05:00
Michael R Sweet
5b5de3aff6
Update pdf2txt example to support font encodings. 2025-01-28 14:26:33 -05:00
Michael R Sweet
48fe8d1bc9
Bump version. v1.4.1 2025-01-24 15:31:31 -05:00
Michael R Sweet
a4026bfe00
Prep for release. 2025-01-24 15:30:59 -05:00
Michael R Sweet
1e945cb750
Add LICENSE files to example install list. 2025-01-24 14:44:44 -05:00
Michael R Sweet
4cb4ceaadd
Update docos with fixed codedoc. 2025-01-24 14:42:41 -05:00
Michael R Sweet
cca7383c73
Fix support for UTF-16 string values in dictionaries (Issue #92)
Specifically to support Unicode Title and Author values.
2025-01-24 10:43:41 -05:00
Michael R Sweet
6c68b9fa5a
Add URLs and copyrights for Code 128 font and ProPhoto ICC profile (Issue #91) 2025-01-24 09:56:51 -05:00
Michael R Sweet
dd7ed67ec1
Update makesrcdist to validate CHANGES.md. 2025-01-23 15:34:43 -05:00
Michael R Sweet
9e2f3aba10
Fix reading of compressed object streams (Issue #92) 2025-01-23 15:27:22 -05:00
Michael R Sweet
fca4dbd395
Make sure we have license files for the example fonts (Issue #91) 2025-01-23 13:03:23 -05:00
Michael R Sweet
41ac7a0b4b
Changelog. 2025-01-18 09:45:29 -05:00
Michael R Sweet
5fc571b711
Merge pull request #89 from vlasovsoft1979/master
Fix undefined behavior in _pdfioFileSeek
2025-01-18 09:42:58 -05:00