vididvidid
c319f5a047
not printing whole pdf file name but only the pdfversion
2025-10-02 05:16:03 +00:00
vididvidid
6e98635d91
moved the do pdfa test after the closing of inpdf
2025-10-02 05:07:30 +00:00
vididvidid
04c52a74f6
used or assignment to clearly update the status
2025-10-02 04:57:16 +00:00
vididvidid
c603a4e2b0
renamed the filename to testpdfio-pdfa-rc4.pdf and updated message clearly encryption allowed on pdf/a files
2025-10-02 04:53:19 +00:00
vididvidid
66f0c84621
renamed the test pdfa files to testpdfio-pdfa-
2025-10-02 04:46:03 +00:00
vididvidid
98f6b90b53
removed text[256] which is now being unused because we removed the snprintf
2025-10-02 04:43:55 +00:00
vididvidid
c1ecf3a1ed
used pdfioContentTextShow instead of snprintf
2025-10-02 04:42:29 +00:00
vididvidid
f417a25121
block usage of incompatible operators and functions, for example the pdfioFileCreateFontObjFromBase function, the use of transparency in pdfioFileCreateImageObjFrom..., and so forth.
2025-10-01 08:17:17 +00:00
vididvidid
1325c9cd61
removed the comment i made in the code
2025-10-01 07:40:14 +00:00
vididvidid
71790bb6c4
added the unit testcases for the pdfa feature in the testpdfio and removed the custom one
2025-10-01 07:38:54 +00:00
vididvidid
a08614911a
added the comment at the end of line tyepdef enum _pdfio_pdfa_e
2025-10-01 05:06:49 +00:00
vididvidid
7bc3e84aed
added string replacing the switch cases
2025-10-01 05:05:15 +00:00
vididvidid
0194feca6f
moved the comment outside of nested if for standard header
2025-10-01 04:52:16 +00:00
vididvidid
219a288488
renamed actual_version to file_version
2025-10-01 04:43:51 +00:00
vididvidid
2b4b20efe4
removed the numering in comments
2025-10-01 04:40:16 +00:00
vididvidid
6dcb2cdced
deleted the test files result
2025-09-30 07:11:46 +00:00
vididvidid
b1550fdc10
corrected the issue regarding the headers in the pdfa files
2025-09-30 07:09:56 +00:00
vididvidid
ef3a6cb1c0
created a test file
2025-09-30 05:21:48 +00:00
vididvidid
0d1d5413ee
pdf/a files must contains special xmp metadata that declares their conformance. so updated the write_metadata
2025-09-30 04:52:25 +00:00
vididvidid
f7db310942
added the enum for the conformance levels in the pdfio-private.h under _pdfio_file_s and updated the create_common() function which is used by pdfiofilecreate to recognize the new pdf/a-.. strings
2025-09-30 04:38:35 +00:00
Michael R Sweet
99d03ddf9c
Fallthrough attribute is Apple-specific at the moment...
2025-09-25 17:47:59 -04:00
Michael R Sweet
fe122d557b
Resolve clang warnings, update Xcode project.
2025-09-25 17:12:33 -04:00
Michael R Sweet
2582052377
More tagged PDF changes (Issue #123 ):
...
- Add MarkInfo dictionary to document catalog when generating marked content.
- Add basic structured tags to md2pdf example.
2025-09-18 12:08:55 -04:00
Michael R Sweet
af5c412c96
Add pdfioContentBegin/EndMarked functions (Issue #123 )
2025-09-16 20:33:02 -04:00
Michael R Sweet
e13526226a
Merge pull request #136 from uddhavphatak/master
...
Correct PDF trailer: output %%EOF instead of %EOF
2025-09-13 11:35:09 -04:00
Michael R Sweet
868794ab24
Changelog.
2025-09-13 11:34:48 -04:00
ThePhatak
604396c0e7
Correct PDF trailer: output %%EOF instead of %EOF
2025-09-13 19:25:39 +05:30
Michael R Sweet
156a184a45
Fix some Clang warnings.
2025-09-04 14:37:42 -04:00
Michael R Sweet
eb0c785d6d
Current autoconf triggers the obsolete AC_HEADER_STDC checks, so force things before zlib.
2025-08-30 13:37:51 -04:00
Michael R Sweet
359b65298e
Add underflow detection to TTF cmap code.
2025-08-27 11:19:35 -04:00
Michael R Sweet
ccf3a90c97
Document how warning messages work (Issue #118 )
2025-08-26 15:18:36 -04:00
Michael R Sweet
c8017f50f6
PDFio 1.5.4 was released today.
2025-08-26 12:35:41 -04:00
Michael R Sweet
4a1c53e31b
Fix typos.
2025-08-06 11:25:51 -04:00
Michael R Sweet
5e8c3eb0b2
Clarify token too large errors (Issue #131 )
2025-07-28 19:11:02 +01:00
Michael R Sweet
07ea310cd1
Fix copy_jpeg with invalid/corrupt JPEG data (Issue #132 )
2025-07-28 19:03:16 +01:00
Michael R Sweet
7ce8ec07ab
Limit generation numbers to 0 to 65535.
2025-07-28 12:51:39 +01:00
Michael R Sweet
f9ff913bb9
Changelog.
2025-05-03 10:14:07 -04:00
Michael R Sweet
0c41a14919
Don't set extension pointer if object is NULL.
2025-04-25 12:40:54 -04:00
Michael R Sweet
57a01a7317
Fix object map to use unique file hash instead of pointer values (Issue #125 )
2025-04-24 14:00:24 -04:00
Michael R Sweet
5b08046ece
Add more range checking for streams.
2025-04-24 13:17:31 -04:00
Michael R Sweet
d1bf9a92dc
Fix whitespace.
2025-04-24 12:29:20 -04:00
Michael R Sweet
749c0f845d
Drop Xpdf and other checks from test-corpus.sh script.
2025-04-24 12:07:07 -04:00
Michael R Sweet
cad8f450ab
Multiple fixes to allow PDFio to read more edge-case PDFs.
...
- Update _pdfioFileGets to allow for really long lines where it
doesn't matter if we lose the end of the line.
- Update "startxref" detection at the end of the file.
- Refactor repair logic so that you just get a single WARNING about
the repair (debug messages available for testing)
- Allow whitespace after the "obj" in the object header.
- Make sure to close xref stream on error.
- Update predictor code to support Colors <= 32 (some implementations
set Colors to the number of bytes per record in the xref stream,
which prevents the predictor from doing anything...)
- Allow CR CR in xref table.
- Clear old trailer/root/pages/etc. objects when repairing, update
existing objects that were already found in load_xref.
- Don't set current object in pdfioObjectCreate/OpenStream if the
stream can't be created/opened.
2025-04-24 11:09:54 -04:00
Michael R Sweet
278ddb7fa7
Clarify error callback API, and actually use the return value.
...
Improve repair implementation.
2025-04-23 14:43:14 -04:00
Michael R Sweet
1e6bb710e3
Changelog.
2025-04-23 10:13:35 -04:00
Michael R Sweet
4ca93bd34f
Add support for EncryptMetadata key in encryption dictionary.
2025-04-23 10:07:44 -04:00
Michael R Sweet
404ca72882
Protect against invalid predictor buffer size.
2025-04-23 10:07:26 -04:00
Michael R Sweet
67704ce493
Update corpus test script to use Xpdf's pdfinfo to weed out known-bad PDFs for now.
2025-04-21 16:59:59 -04:00
Michael R Sweet
e983ba98d8
Fix encrypted PDF files with P values >2^31-1.
2025-04-20 17:33:56 -04:00
Michael R Sweet
c23c6dec9a
Tweak script.
2025-04-18 20:00:14 -04:00