Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Mar 6, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

chooblarin and others added 2 commits December 23, 2022 13:12
* test: Upgrade jest 26 to 28

Signed-off-by: koooge <koooooge@gmail.com>

* test: Use jsdom instead of node

Signed-off-by: koooge <koooooge@gmail.com>

* test: Delete 12 in CI for jest@28

Signed-off-by: koooge <koooooge@gmail.com>

* test: Upgrade jest 28 to 29

Signed-off-by: koooge <koooooge@gmail.com>

* test: Delete 14 in CI for jest@29

Signed-off-by: koooge <koooooge@gmail.com>

---------

Signed-off-by: koooge <koooooge@gmail.com>
@pull pull bot added the ⤵️ pull label Mar 6, 2023
koooge and others added 7 commits March 7, 2023 09:30
* test: CI node16 and 18

Signed-off-by: koooge <koooooge@gmail.com>

* chore: Replace jest-screenshot with jest-image-snapshot

Signed-off-by: koooge <koooooge@gmail.com>

* test: git mv snapshots

Signed-off-by: koooge <koooooge@gmail.com>

* test: Minor-upgrade canvas

Signed-off-by: koooge <koooooge@gmail.com>

---------

Signed-off-by: koooge <koooooge@gmail.com>
* Added PDF/A-2 and PDF/A-3 subsets A and B

It seems like PDF/A-2 and PDF/A-3 are not very different from PDF/A-1 as far as the A and B subsets are concerned (A requires tagging which PDFKit supports already). With this change, we can let the generated PDF present itself as PDF/A-2 or PDF/A-3.

* Updated docs and changelog for new PDF/A subsets

* Fixed an issue where ICC profile path can be wrong for built package but good for tests
Added note to docs regarding PDF/A not supporting the standard AFM fonts
Bump crypto-js from 4.0.0 to 4.2.0 to fix CVE-2023-46233
liborm85 and others added 19 commits November 10, 2023 14:16
Co-authored-by: Franklin Strube <fstrube@morevang.com>
Co-authored-by: Luiz Américo Pereira Câmara <blikblum@users.noreply.github.com>
* Added PDF/UA subset and its metadata

* Added PDF/UA metadata unit tests

* Added PDF/UA subset to accessibility docs

* Updated change log for PDF/UA subset
* adds test case with line-breaks in list items

reproduces #1486

* use LineBreaker per item and only draw `firstLine` once

fixes #1486

* boyscout: consistent naming

* boyscout: test multiple line break versions

* update changelog for fix of #1486

---------

Co-authored-by: David <filecage@users.noreply.github.com>
Co-authored-by: Your Name <you@example.com>
* Replace soft hyphen with visible hyphen if line break demands it

* Add changelog entry for #457

* Add soft hyphen support in readme
This makes the resulting PDF files smaller. It's cumbersome to filter out all commands that could result in identity transforms in code that's using PDFKit, so it makes sense to have the check in the transform() function.
…1496)

* Add an option check to acroform mixin _resolveFlags().

This resolves #1495.

* Reworked fix to remove flags from options, if they are falsey.

* Added unit test for ignoring false flags in acroforms

* Added entry for removing false flags in changelog.
* Generate ToUnicodeMap bfrange in multiple ranges (#1498)

This resolves #1498.

* Add unit test for bfrange lines in toUnicodeMap

* Add changelog line
Update webpack example dependencies
liborm85 and others added 30 commits January 18, 2025 14:54
* Add page size utilities

- Added page.contentWidth
- Added page.contentHeight

* Add table support

- Tables support cell customization (including colors)
- Tables also support rotatable text (with alignment support)
- Tables have accessibility support

* chore: fix code generation context

- code generation now respects the current document positioning to allow use of page dependent operations

* chore: remove comments from build

* removed unnecessary config optimisations

* Optimize table minification

* Performance improvements to tables

* Improve font handling in tables
* Handle null values in table text

* Add test case for null value in table text

* Update CHANGELOG.md
* Fix further LineWrapper precision issues

* add test of bounded text precision issue

* add rowSpanning table example

* add failure threshold

* implement toContainText jest matcher

* create a unit test for bounded text precision

* remove round up rounding code path

---------

Co-authored-by: Luiz Américo Pereira Câmara <blikblum@users.noreply.github.com>
* fix: use dynamic count for beginbfrange declaration

Fixes garbled text copying in Chrome/Edge for PDFs with >256 unique characters

* Add changelog line

Addressed an issue with garbled text copying in Chrome/Edge for PDFs containing more than 256 unique characters.

* test: add tests for beginbfrange count declaration

Add test cases to verify that the beginbfrange count declaration
in ToUnicode CMap matches the actual number of bfrange entries.

- Test for fonts with >256 characters (multiple ranges)
- Test for fonts with <=256 characters (single range)

These tests ensure the fix for the beginbfrange count bug is
correct and prevent regression.

Related to #1659

* Revert "test: add tests for beginbfrange count declaration"

This reverts commit dda6f4a.

* Rewrite tests for beginbfrange count declaraton. Fix code style issue.

* fix(tests): remove unused variables in font.spec.js

Replace for loops with unused match variables with spread operator
to directly get array length, fixing ESLint no-unused-vars errors.

- Replace loop counting with [...rangeMatches].length
- Fixes ESLint errors at lines 152 and 197 in tests/unit/font.spec.js
- All tests pass successfully

---------

Co-authored-by: zhang_xiaoning <zxn@winning.com.cn>
…cture element (#1664)

* Accessibility: Fixed Link annotation is not nested inside a Link structure element

* Accessibility: Fixed Link annotation is not nested inside a Link structure element

* Changelog

* Fix links leakage into subsequent structures

* Prettier

---------

Co-authored-by: akowalczewski <akowalczewski@gn.com>
* Accessibility Issue: CS / cs Operator Error in Tagged Table #1640

* Fix Table Accessibility Issue: Operator CS/cs not allowed in this current state

* revert modifications at debug line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.