Do not clip form XObject when bbox is invalid and fix #1371 - #1373
Merged
Conversation
BobLd
force-pushed
the
issues/1371
branch
2 times, most recently
from
August 5, 2026 19:06
ee38d49 to
930514f
Compare
This was referenced Aug 22, 2026
martin-stromberg
added a commit
to martin-stromberg/FinanceManager
that referenced
this pull request
Aug 23, 2026
Updated [PdfPig](https://github.com/UglyToad/PdfPig) from 0.1.15 to 0.1.16. <details> <summary>Release notes</summary> _Sourced from [PdfPig's releases](https://github.com/UglyToad/PdfPig/releases)._ ## 0.1.16 ## What's Changed * Bump version to 0.1.16 by @github-actions[bot] in UglyToad/PdfPig#1344 * Better deal with infinite recursion in GlyphDataTable.ReadCompositeGlyph and fix #1347 by @BobLd in UglyToad/PdfPig#1348 * Accept out of range characterCode in type 3 font and fix #1349 by @BobLd in UglyToad/PdfPig#1350 * Correctly clamp values in IndexedColorSpaceDetails and fix #1351 by @BobLd in UglyToad/PdfPig#1352 * Ensure abbreviated key name takes precedence in inline images by @BobLd in UglyToad/PdfPig#1353 * Prevent infinite recursion when resolving default substitute color space and fix #1354 by @BobLd in UglyToad/PdfPig#1355 * Properly handle missing ColorSpace entry in JPX image and fix #1356 by @BobLd in UglyToad/PdfPig#1357 * Expose annotation appearance streams and appearance state as public by @jeske in UglyToad/PdfPig#1359 * PageBuilder: Fix importing page contents stored as indirect array by @MultisoftPontus in UglyToad/PdfPig#1358 * Properly override Equals and GetHashCode methods for IToken and add tests by @BobLd in UglyToad/PdfPig#1362 * Cache values in DeviceNColorSpaceDetails.GetColor() and improve Transform() method to use array by @BobLd in UglyToad/PdfPig#1363 * Cache color spaces in ResourceStore when possible by @BobLd in UglyToad/PdfPig#1364 * Make PdfFunctionType4.Eval() allocation-free and boxing-free by @BobLd in UglyToad/PdfPig#1365 * Fix: brute-force xref scan loses stream position, missing recoverable trailers by @jeske in UglyToad/PdfPig#1360 * Add integration test for 28a1878 (#1360) by @BobLd in UglyToad/PdfPig#1366 * Expose font dictionary indirect reference on FontDetails by @jeske in UglyToad/PdfPig#1367 * BUGFIX: Decode Indexed colour-table bytes to the base space's component ranges by @jeske in UglyToad/PdfPig#1369 * Do not clip form XObject when bbox is invalid and fix #1371 by @BobLd in UglyToad/PdfPig#1373 * Expose XmpMetadata.GetXmlMemory() and add warning to GetXDocument() by @BobLd in UglyToad/PdfPig#1374 * Move Indexed table-byte decoding onto the base colour space (in place) by @jeske in UglyToad/PdfPig#1375 * Fix wrong number of components for DeviceNColorSpaceDetails and SeparationColorSpaceDetails, and ensure BaseType is correctly set by @BobLd in UglyToad/PdfPig#1376 * Unseal ParsingOptions by @BobLd in UglyToad/PdfPig#1377 * Change GetColor() signature to use ReadOnlySpan<double> and avoid allocation by @BobLd in UglyToad/PdfPig#1378 * Split color space details in their own files by @BobLd in UglyToad/PdfPig#1379 * Prefer double array over span in IColorSpaceContext so that operands can be saved without allocation by @BobLd in UglyToad/PdfPig#1380 * Fix #1234 and ensure documents are disposed in Merge() by @BobLd in UglyToad/PdfPig#1382 * Use StackDictionary<> for marked content, shadings and patterns in ResourceStore by @BobLd in UglyToad/PdfPig#1384 * PdfPageBuilder: fix ResetColor() and line width in Draw methods by @BobLd in UglyToad/PdfPig#1385 * Expose ILookupFilterProvider in the doc's Structure, address IFilterProvider propagation and fix #1243 by @BobLd in UglyToad/PdfPig#1386 * Properly concatenate matrix in GetGlobalTransform and fix #1163 by @BobLd in UglyToad/PdfPig#1387 * Allow skipping token that are not an IndirectReferenceToken in BasePageFactory.Create and fix #1286 by @BobLd in UglyToad/PdfPig#1388 * Add PdfDocEncoding as a valid encoding in ReadEncodingDictionary when lenient is on and fix #1284 by @BobLd in UglyToad/PdfPig#1389 * Improve caching: found tokens in token scanner, resolved resources and XObject forms by @BobLd in UglyToad/PdfPig#1391 * Prevent NullReferenceException in NameToken.GetHashCode() race condition by @BobLd in UglyToad/PdfPig#1392 * Check unencrypted metadata in DecryptInternal() and fix #1393 by @BobLd in UglyToad/PdfPig#1395 * Track stack depth in CMapParser and fix #1394 by @BobLd in UglyToad/PdfPig#1396 * Include time in nightly version date format by @BobLd in UglyToad/PdfPig#1397 * Tidy up netstandard2.1 by @BobLd in UglyToad/PdfPig#1400 ## New Contributors * @MultisoftPontus made their first contribution in UglyToad/PdfPig#1358 **Full Changelog**: UglyToad/PdfPig@v0.1.15...v0.1.16 Commits viewable in [compare view](UglyToad/PdfPig@v0.1.15...v0.1.16). </details> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
This was referenced Aug 23, 2026
Merged
github-actions Bot
pushed a commit
to Ank-KhoaHo/DocToolkit
that referenced
this pull request
Aug 24, 2026
…to 0.1.16 (#366) Updated [AngleSharp](https://github.com/AngleSharp/AngleSharp) from 1.7.1 to 1.7.2. <details> <summary>Release notes</summary> _Sourced from [AngleSharp's releases](https://github.com/AngleSharp/AngleSharp/releases)._ ## 1.7.2 Released on Sunday, August 23 2026 ## What's Changed - Fixed matching of `annotation-xml` encoding to be case-insensitive (#1284) @arpitjain099 - Fixed `<xmp>` usage in `<select>` elements - Added ability to parse immutable byte buffers without a stream (#1286) @dv00d00 - Released 1.7.2 by @FlorianRappl in AngleSharp/AngleSharp#1288 ## New Contributors * @arpitjain099 made their first contribution in AngleSharp/AngleSharp#1284 **Full Changelog**: AngleSharp/AngleSharp@1.7.1...v1.7.2 Commits viewable in [compare view](AngleSharp/AngleSharp@v1.7.1...v1.7.2). </details> Updated [OfficeIMO.Excel](https://github.com/EvotecIT/OfficeIMO) from 3.2.2 to 3.2.6. <details> <summary>Release notes</summary> _Sourced from [OfficeIMO.Excel's releases](https://github.com/EvotecIT/OfficeIMO/releases)._ No release notes found for this version range. Commits viewable in [compare view](https://github.com/EvotecIT/OfficeIMO/commits). </details> Updated [OfficeIMO.Excel.Pdf](https://github.com/EvotecIT/OfficeIMO) from 3.2.2 to 3.2.6. <details> <summary>Release notes</summary> _Sourced from [OfficeIMO.Excel.Pdf's releases](https://github.com/EvotecIT/OfficeIMO/releases)._ No release notes found for this version range. Commits viewable in [compare view](https://github.com/EvotecIT/OfficeIMO/commits). </details> Updated [OfficeIMO.PowerPoint](https://github.com/EvotecIT/OfficeIMO) from 3.2.2 to 3.2.6. <details> <summary>Release notes</summary> _Sourced from [OfficeIMO.PowerPoint's releases](https://github.com/EvotecIT/OfficeIMO/releases)._ No release notes found for this version range. Commits viewable in [compare view](https://github.com/EvotecIT/OfficeIMO/commits). </details> Updated [OfficeIMO.PowerPoint.Pdf](https://github.com/EvotecIT/OfficeIMO) from 3.2.2 to 3.2.6. <details> <summary>Release notes</summary> _Sourced from [OfficeIMO.PowerPoint.Pdf's releases](https://github.com/EvotecIT/OfficeIMO/releases)._ No release notes found for this version range. Commits viewable in [compare view](https://github.com/EvotecIT/OfficeIMO/commits). </details> Updated [OfficeIMO.Word](https://github.com/EvotecIT/OfficeIMO) from 3.2.2 to 3.2.6. <details> <summary>Release notes</summary> _Sourced from [OfficeIMO.Word's releases](https://github.com/EvotecIT/OfficeIMO/releases)._ No release notes found for this version range. Commits viewable in [compare view](https://github.com/EvotecIT/OfficeIMO/commits). </details> Updated [OfficeIMO.Word.Html](https://github.com/EvotecIT/OfficeIMO) from 3.2.2 to 3.2.6. <details> <summary>Release notes</summary> _Sourced from [OfficeIMO.Word.Html's releases](https://github.com/EvotecIT/OfficeIMO/releases)._ No release notes found for this version range. Commits viewable in [compare view](https://github.com/EvotecIT/OfficeIMO/commits). </details> Updated [OfficeIMO.Word.Markdown](https://github.com/EvotecIT/OfficeIMO) from 3.2.2 to 3.2.6. <details> <summary>Release notes</summary> _Sourced from [OfficeIMO.Word.Markdown's releases](https://github.com/EvotecIT/OfficeIMO/releases)._ No release notes found for this version range. Commits viewable in [compare view](https://github.com/EvotecIT/OfficeIMO/commits). </details> Updated [OfficeIMO.Word.Pdf](https://github.com/EvotecIT/OfficeIMO) from 3.2.2 to 3.2.6. <details> <summary>Release notes</summary> _Sourced from [OfficeIMO.Word.Pdf's releases](https://github.com/EvotecIT/OfficeIMO/releases)._ No release notes found for this version range. Commits viewable in [compare view](https://github.com/EvotecIT/OfficeIMO/commits). </details> Updated [PdfPig](https://github.com/UglyToad/PdfPig) from 0.1.15 to 0.1.16. <details> <summary>Release notes</summary> _Sourced from [PdfPig's releases](https://github.com/UglyToad/PdfPig/releases)._ ## 0.1.16 ## What's Changed * Bump version to 0.1.16 by @github-actions[bot] in UglyToad/PdfPig#1344 * Better deal with infinite recursion in GlyphDataTable.ReadCompositeGlyph and fix #1347 by @BobLd in UglyToad/PdfPig#1348 * Accept out of range characterCode in type 3 font and fix #1349 by @BobLd in UglyToad/PdfPig#1350 * Correctly clamp values in IndexedColorSpaceDetails and fix #1351 by @BobLd in UglyToad/PdfPig#1352 * Ensure abbreviated key name takes precedence in inline images by @BobLd in UglyToad/PdfPig#1353 * Prevent infinite recursion when resolving default substitute color space and fix #1354 by @BobLd in UglyToad/PdfPig#1355 * Properly handle missing ColorSpace entry in JPX image and fix #1356 by @BobLd in UglyToad/PdfPig#1357 * Expose annotation appearance streams and appearance state as public by @jeske in UglyToad/PdfPig#1359 * PageBuilder: Fix importing page contents stored as indirect array by @MultisoftPontus in UglyToad/PdfPig#1358 * Properly override Equals and GetHashCode methods for IToken and add tests by @BobLd in UglyToad/PdfPig#1362 * Cache values in DeviceNColorSpaceDetails.GetColor() and improve Transform() method to use array by @BobLd in UglyToad/PdfPig#1363 * Cache color spaces in ResourceStore when possible by @BobLd in UglyToad/PdfPig#1364 * Make PdfFunctionType4.Eval() allocation-free and boxing-free by @BobLd in UglyToad/PdfPig#1365 * Fix: brute-force xref scan loses stream position, missing recoverable trailers by @jeske in UglyToad/PdfPig#1360 * Add integration test for 28a1878 (#1360) by @BobLd in UglyToad/PdfPig#1366 * Expose font dictionary indirect reference on FontDetails by @jeske in UglyToad/PdfPig#1367 * BUGFIX: Decode Indexed colour-table bytes to the base space's component ranges by @jeske in UglyToad/PdfPig#1369 * Do not clip form XObject when bbox is invalid and fix #1371 by @BobLd in UglyToad/PdfPig#1373 * Expose XmpMetadata.GetXmlMemory() and add warning to GetXDocument() by @BobLd in UglyToad/PdfPig#1374 * Move Indexed table-byte decoding onto the base colour space (in place) by @jeske in UglyToad/PdfPig#1375 * Fix wrong number of components for DeviceNColorSpaceDetails and SeparationColorSpaceDetails, and ensure BaseType is correctly set by @BobLd in UglyToad/PdfPig#1376 * Unseal ParsingOptions by @BobLd in UglyToad/PdfPig#1377 * Change GetColor() signature to use ReadOnlySpan<double> and avoid allocation by @BobLd in UglyToad/PdfPig#1378 * Split color space details in their own files by @BobLd in UglyToad/PdfPig#1379 * Prefer double array over span in IColorSpaceContext so that operands can be saved without allocation by @BobLd in UglyToad/PdfPig#1380 * Fix #1234 and ensure documents are disposed in Merge() by @BobLd in UglyToad/PdfPig#1382 * Use StackDictionary<> for marked content, shadings and patterns in ResourceStore by @BobLd in UglyToad/PdfPig#1384 * PdfPageBuilder: fix ResetColor() and line width in Draw methods by @BobLd in UglyToad/PdfPig#1385 * Expose ILookupFilterProvider in the doc's Structure, address IFilterProvider propagation and fix #1243 by @BobLd in UglyToad/PdfPig#1386 * Properly concatenate matrix in GetGlobalTransform and fix #1163 by @BobLd in UglyToad/PdfPig#1387 * Allow skipping token that are not an IndirectReferenceToken in BasePageFactory.Create and fix #1286 by @BobLd in UglyToad/PdfPig#1388 * Add PdfDocEncoding as a valid encoding in ReadEncodingDictionary when lenient is on and fix #1284 by @BobLd in UglyToad/PdfPig#1389 * Improve caching: found tokens in token scanner, resolved resources and XObject forms by @BobLd in UglyToad/PdfPig#1391 * Prevent NullReferenceException in NameToken.GetHashCode() race condition by @BobLd in UglyToad/PdfPig#1392 * Check unencrypted metadata in DecryptInternal() and fix #1393 by @BobLd in UglyToad/PdfPig#1395 * Track stack depth in CMapParser and fix #1394 by @BobLd in UglyToad/PdfPig#1396 * Include time in nightly version date format by @BobLd in UglyToad/PdfPig#1397 * Tidy up netstandard2.1 by @BobLd in UglyToad/PdfPig#1400 ## New Contributors * @MultisoftPontus made their first contribution in UglyToad/PdfPig#1358 **Full Changelog**: UglyToad/PdfPig@v0.1.15...v0.1.16 Commits viewable in [compare view](UglyToad/PdfPig@v0.1.15...v0.1.16). </details> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Khoa Ho <khoahoelca@gmail.com>
This was referenced Aug 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix #1371