Commit Graph

582 Commits

Author SHA1 Message Date
BobLd
4dab2ef239 Add early support for Stencil masking, rename SoftMaskImage property into MaskImage and make sure IsInlineImage is true for InlineImage
Some checks failed
Build and test / build (push) Has been cancelled
Build and test [MacOS] / build (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
2025-05-11 16:05:55 +01:00
BobLd
afdd1f8924 Fix issue #1013 2025-04-20 18:03:04 +01:00
BobLd
eeac910e44 Fix CanFilterClippedLetters() failing on MacOS because font is not available 2025-04-06 12:04:24 +01:00
BobLd
5439c07ef5 Make ExplicitDestinationType a byte a fix CanCreateDocumentWithOutline() failing test 2025-04-06 12:04:24 +01:00
BobLd
4fbcc112d3 Fix bug where FormXObject bbox needs to be normalised 2025-03-30 22:01:12 +01:00
BobLd
5fb36d452f Handle SoftMask 2025-03-30 10:33:27 +01:00
BobLd
74d61bd985 Fix PatternColor Equals() method and fix #1016 2025-03-26 19:48:51 +00:00
Matěj Štágl
ba8e1e1b45 fix #1017
fix test name
2025-03-26 18:59:39 +00:00
BobLd
0754e7f003 Implement clipping in ProcessFormXObject()
Some checks failed
Build and test / build (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
Nightly Release / tests (push) Has been cancelled
Nightly Release / Check latest commit (push) Has been cancelled
Nightly Release / build_and_publish_nightly (push) Has been cancelled
2025-03-23 21:18:29 +00:00
BobLd
204f488ebf Improve Jpeg2000Helper to support J2K codec and add test
Some checks failed
Build and test / build (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
2025-03-09 14:05:05 +00:00
BobLd
1b3c7bd355 Better handle integer overflow in DocstrumBoundingBoxes
Some checks failed
Build and test / build (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
Nightly Release / tests (push) Has been cancelled
Nightly Release / Check latest commit (push) Has been cancelled
Nightly Release / build_and_publish_nightly (push) Has been cancelled
2025-03-02 18:29:21 +00:00
BobLd
67d8f56366 Do not throw exception when lenient parsing in GetExtendedGraphicsStateDictionary() and improve StackDictionary.TryGetValue() to not throw on empty 2025-03-02 11:51:26 +00:00
BobLd
f26e7d90a3 Pass IFilterProvider to IFilter.Decode() and handle null in PdfExtensions.Resolve()
Some checks failed
Build and test / build (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
2025-02-23 09:37:25 +00:00
BobLd
7ceeb5bff8 Update Microsoft and SkiaSharp NuGet packages
Some checks failed
Build and test / build (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
2025-02-20 20:36:20 +00:00
BobLd
b9bcfa5997 Make DecodeParameterResolver class public 2025-02-20 19:53:39 +00:00
BobLd
5a06e1e1cc Assess if transformedGlyphBounds and use transformedPdfBounds as fallback and fix #987
Some checks are pending
Build and test / build (push) Waiting to run
Run Integration Tests / build (push) Waiting to run
2025-02-20 00:11:06 +00:00
BobLd
1660c734e2 Add JPX bits per component decoding
Some checks failed
Build and test / build (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
2025-02-08 11:08:44 +00:00
BobLd
fdb8835b37 CcittFaxDecodeFilter: do not check for input length, invert bitmap with ref byte and fix #982
Some checks failed
Build and test / build (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
2025-02-02 14:26:16 +00:00
BobLd
c4576e4ffa Do not throw error on Pop when stack size is 1 in lenient mode and fix #973 2025-01-19 11:19:32 +00:00
BobLd
53cf4f2ced Properly handle ZapfDingbats font for TrueTypeSimpleFont and add tests 2025-01-05 17:28:32 +00:00
BobLd
4430a01e43 Properly handle ZapfDingbats font for Type1FontSimple and Type1Standard14Font and add tests 2025-01-05 16:17:59 +00:00
BobLd
585e940acf Always check for additional glyph list and add tests 2025-01-05 16:17:59 +00:00
BobLd
2b14ae03c1 Return a copy of the ArrayPoolBufferWriter buffer in Ascii85, AsciiHex and RunLength filters and fix #964 2024-12-31 14:05:17 +01:00
BobLd
366fc4fe04 Fix out of range exception in AnnotationProvider 2024-12-31 11:54:58 +01:00
BobLd
50dca593da Do not throw exception when lenient parsing in ON in CrossReferenceParser and fix #959 2024-12-28 12:29:28 +01:00
BobLd
9ad51067b0 Handle odd ligatures names and fix #945 (#946) 2024-11-27 19:44:17 +00:00
BobLd
20804245d0 Handle alternate Unicode name representation cXXX and fix #943 (#944) 2024-11-24 20:24:36 +00:00
BobLd
132ada7fac Upgrade tests project NuGet packages 2024-11-02 10:07:48 +00:00
BobLd
d3bf63fdbf Move Paths, GetAnnotations() and GetOptionalContents() outside of ExperimentalAccess and mark Experimental class and reference as obsolete 2024-10-30 19:22:13 +00:00
BobLd
40af401364 Default page number to 0 in ExplicitDestination when the Dest has no page number and fix #736
Some checks failed
Build and test / build (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
Nightly Release / tests (push) Has been cancelled
Nightly Release / Check latest commit (push) Has been cancelled
Nightly Release / build_and_publish_nightly (push) Has been cancelled
2024-10-25 21:28:11 +01:00
BobLd
e10609e4e1 Use pdfScanner in ReadVerticalDisplacements and fix #693 and return 0 in CMap on exception in ReadByte() if useLenientParsing is true and fix #692
Some checks failed
Build and test / build (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
2024-10-19 00:29:42 +01:00
Arnaud TAMAILLON
ea95a7ae7a Support decrypting V4/R4 files with AESV2 and no Length property
Some checks failed
Build and test / build (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
2024-10-17 20:43:21 +01:00
BobLd
8cee4f480f Introduce ParsingOptions.FilterProvider and BaseFilterProvider and make CcittFaxCompressionType a byte 2024-10-17 20:27:24 +01:00
BobLd
4b5cb4736f Make IFilter implementation classes public 2024-10-17 20:27:24 +01:00
BobLd
c6793da4f4 Reorganise Filters folder 2024-10-17 20:27:24 +01:00
BobLd
a258090e1c Fix GetTextOrientation by cleanly checking if rotation is divisible by 90 and fix #913
Some checks failed
Build and test / build (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
2024-10-07 20:08:24 +01:00
BobLd
f6566d6007 Fix #878
Some checks are pending
Build and test / build (push) Waiting to run
Run Integration Tests / build (push) Waiting to run
2024-09-29 16:45:33 +01:00
BobLd
5260c4ba3d Fix Separation color space and add tests 2024-09-29 16:45:05 +01:00
BobLd
8ce6bcc2a7 Fix ByteEncodingCMapTable.CharacterCodeToGlyphIndex() to account for glyph mapping length, add test and fix #881 2024-09-29 16:44:43 +01:00
BobLd
ad785328e1 Handle unpacking components for 16 bits per component images and use Span in RemoveStridePadding 2024-09-29 16:44:13 +01:00
BobLd
5c168f9cd0 Handle null token in DirectObjectFinder, handle null state in SetNamedGraphicsState(), add and test and fix #874 2024-09-29 16:43:50 +01:00
Arnaud TAMAILLON
4845f43696 Support reading files with missing white space after xref in lenient mode (#906)
Support missing white space after xref

---------

Co-authored-by: Arnaud TAMAILLON <arnaud.tamaillon@younited-credit.fr>
2024-09-09 07:09:04 +01:00
yjagota
09bddba778 Enabled ClipPaths option to filter letters. (#905)
* Enabled ClipPaths option to filter letters.

* parsingOptions is not passed as  an argument now.
2024-09-08 13:36:26 +01:00
Arnaud TAMAILLON
fc3cd81c96 Support relaxed parsing of missing or garbage-prepended endobj/endtream tokens 2024-09-03 05:09:03 +01:00
Arnaud TAMAILLON
f4d1456489 Support parsing lines after references count in lenient mode 2024-09-02 21:22:56 +01:00
Arnaud TAMAILLON
cf45dcf6ad Support not finding the Pages dictionary in lenient mode (#897)
* Support not finding the Pages dictionary in lenient mode and support Kids object not referencing a page object in lenient mode

---------

Co-authored-by: Arnaud TAMAILLON <arnaud.tamaillon@younited-credit.fr>
2024-09-01 15:09:48 +01:00
Arnaud TAMAILLON
1bfd6dedb4 Support finding object declarations without endobj on previous object 2024-09-01 13:12:36 +01:00
Arnaud TAMAILLON
68e48d04f0 Support decrypting AES data where only IV is present 2024-09-01 10:00:06 +01:00
Arnaud TAMAILLON
4f2a0976e3 Fix parsing of hexadecimal strings with odd number of characters 2024-09-01 09:02:37 +01:00
Arnaud TAMAILLON
05e6a894d0 Fix reading encryption byte strings 2024-09-01 08:54:20 +01:00