Releases: galkahana/PDF-Writer
v4.6.8
With this version it is now possible to ask PDFWriter to generate an Xref table using PDF 1.5 Xref streams, instead of a default method of writing Xref table. This allows creating PDF files that are larger than 10gbs, a limitation created by how default xref tables are written.
To use this feature provide true
as the value of a new parameter in PDFCreationSettings, as in the following example:
EStatusCode status = pdfWriter.StartPDF(
"./myfile.pdf",
ePDFVersion15,
LogConfiguration::DefaultLogConfiguration(),
PDFCreationSettings(
true,
true,
EncryptionOptions::DefaultEncryptionOptions(),
// use true as the 4th parameter value to set WriteXrefAsXrefStream
// and generate xref table as xref stream
true
)
);
Make sure to set the version to one that's higher or equal to PDF1.5 on your PDFs to mark to readers that you are using this feature (or other 1.5 or higher features).
What's Changed
- conf: setup to allow building libtiff to support ia32 envs in node by @galkahana in #285
- feat: properly treat errors from recording out of bounds positions in very large files by @galkahana in #290
- feat: allow asking for using xref streams, which opens the option to build very large files by @galkahana in #291
Full Changelog: v4.6.7...v4.6.8
v4.6.7
What's Changed
- feat: resolving invalid parsing causing stack overflow by @galkahana in #280
Full Changelog: v4.6.6...v4.6.7
v4.6.6
Followup release adding the ability to run fuzz testing on PDFWriter, for developers.
What's Changed
- Add a simple fuzzing harness for PDFParser by @eknoes in #266
- Fuzz harness.galk by @galkahana in #271
Full Changelog: v4.6.5...v4.6.6
v4.6.5
Handling CVEs discovered through fuzztesting initiated by @eknoes. Thank you :).
What's Changed
- adding safeguards so input of oxffff glyph id isn't problematic by @galkahana in #256
- bug: not all true types can use winansiencoding. need to check cmaps by @galkahana in #257
- fuzz testing issues by @eknoes by @galkahana in #267
- bug: Fix possible null pointer when /First does not exist by @eknoes in #258
- bug: do not allow negative /Prev value by @eknoes in #259
- #259 followup: reusing test class, using own clip instead of clamp for earlier C++, adding to skip by @galkahana in #268
- bug: enforce minimal key length for decryption by @eknoes in #260
- #260 following, reuse test class by @galkahana in #269
- add multiplatform building, to be sure by @galkahana in #270
New Contributors
Full Changelog: v4.6.4...v4.6.5
v4.6.4
What's Changed
- avoiding dual hex encoding for TJ command by @galkahana in #254
Full Changelog: v4.6.3...v4.6.4
v4.6.3
Improved safety when using open type and type 1 fonts with PDFWriter.
What's Changed
- Galk.interpreters.limits implementation by @galkahana in #247
Full Changelog: v4.6.2...v4.6.3
v4.6.2
This release is the first one to drop PDFWriterTesting from the archived package. This reduces the download size from around ~100mb to 3mb, which is not bad for a day of work.
Thanks for a very good proposal @darcy-shen :).
What's Changed
- Add example for safe copying of annotation objects by @galkahana in #232
- feat: implement example for url replacment. replace pdfhummus.com wit… by @galkahana in #233
- feat: validate stack operations to avoid overflowing by @galkahana in #236
- bug: error in displaying certain characthers by @galkahana in #240
- exclude pdfwriter testing from git archives by @galkahana in #244
- chore: use NotoSerifCJK-Regular.ttc instead of NotoSerifCJKkr-Regular.otf by @darcy-shen in #245
- conf: updates to xmake config per #242 by @galkahana in #246
Full Changelog: v4.6.1...v4.6.2
v4.6.1
Minor correction. latest release caused a compilation error on GCC. thanks to @toge for submitting a correction.
What's Changed
- include cstdint to fix compilation error on gcc 13 by @toge in #229
- feat: use stdint instead of cstdint, conforming to c99 instead of c+11 by @galkahana in #230
New Contributors
Full Changelog: v4.6...v4.6.1
v4.6
In this release:
- XMake support. The project now includes the required lua file to make it an official xmake package. Thanks @darcy-shen for his contribution.
- Bundled Tiff library upgrade. Bundled tiff lib is upgraded to 4.6 (matching hummus version is unintentional haha). This might break your code if you have been using the bundled tiff code directly, which good chances you didn't and so nothing to worry about. I hope the upgrade process is not going to be too difficult. In the project it was just a matter of few type updates. The upgrade happened as part of the discussion in #226 to avoid a future deprecation of the basic types used in libtiff. Hope its not gonna inconvenience you.
What's Changed
- Add xmake build definition and enable ci by @darcy-shen in #228
- feat: upgrade bundled libtiff to 4.6 by @galkahana in #227
New Contributors
- @darcy-shen made their first contribution in #228
Full Changelog: v4.5.12...v4.6
v4.5.12
Emoji's support
What's Changed
- feat: implementation of Colrv1 fonts by @galkahana in #225
Full Changelog: v4.5.11...v4.5.12