Skip to content

Releases: galkahana/PDF-Writer

v4.6.7

28 Aug 05:11
Compare
Choose a tag to compare

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

28 Jun 13:55
Compare
Choose a tag to compare

Followup release adding the ability to run fuzz testing on PDFWriter, for developers.

What's Changed

Full Changelog: v4.6.5...v4.6.6

v4.6.5

26 Jun 06:17
Compare
Choose a tag to compare

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

01 Jun 10:01
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.6.3...v4.6.4

v4.6.3

12 Jan 13:17
Compare
Choose a tag to compare

Improved safety when using open type and type 1 fonts with PDFWriter.

What's Changed

Full Changelog: v4.6.2...v4.6.3

v4.6.2

27 Dec 09:47
Compare
Choose a tag to compare

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

17 Oct 10:34
Compare
Choose a tag to compare

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

  • @toge made their first contribution in #229

Full Changelog: v4.6...v4.6.1

v4.6

15 Oct 18:32
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v4.5.12...v4.6

v4.5.12

02 Oct 18:56
Compare
Choose a tag to compare

Emoji's support

What's Changed

Full Changelog: v4.5.11...v4.5.12

v4.5.11

22 Aug 16:08
Compare
Choose a tag to compare

What's Changed

  • Color emoji support for true type COLR version 0. that is, the simpler implementation by @galkahana in #224

WriteText method has now a limited but not inexistent ability to handle true type color emojis via support of COLR table version 0. This is the simple version supporting solid colors, but not gradients. I'll probably need to add COLR table version 1 and maybe even support SVG fonts for a full support. TBD on when/if that's gonna happen.

As a side effect I added support for setting opacity in either of the following manners:

  • as a parameter to WriteText method inOptions parameter (inOptions.opacity).
  • as a parameter to Draw* methods inOptions paraemter (inOptions.opacity)
  • directly set via SetOpacity method

Value should be double 0..1 with 0 being completely transparent, and 1 is fully opaque. a special value of 255.0 means not-set on options structures.

The implementation follows @chunyenHuang work in hummusRecipe, creating an ExternalGState object for every opacity value provided, and reusing them when given the same value, as well as setting the opacity for both fill and stroke drawing at the same time, for the sake of convenience.

Full Changelog: v4.5.10...v4.5.11