1749 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
0bed135bad Make sure the value of the ImageMask / Im token is check in ColorSpaceDetailsParser 2025-05-11 14:34:40 +01:00
BobLd
47584716ec Add support for MacCatalyst in SystemFontFinder
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
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-04-24 19:17:48 +01:00
BobLd
afdd1f8924 Fix issue #1013 2025-04-20 18:03:04 +01:00
BobLd
580858348b Seal PdfSubpath class and IPathCommand implementations, fix Close.GetHashCode() and fix #1027 2025-04-12 16:39:48 +01:00
BobLd
24902f1839 Update README.md 2025-04-06 12:06:36 +01:00
BobLd
87f5735b26 Refactor AesEncryptionHelper and check for sting length when using < net8 2025-04-06 12:04:24 +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
b8bd40e486 Create build_and_test_macos.yml 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
ede77c20f5 Update README.md 2025-03-30 11:39:47 +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
306642a234 Add SetStrokeDetails() and SetFillDetails() to PdfPath and tidy up ContentStreamProcessor 2025-03-23 20:07:43 +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
a4a0fe220a Bump version to 0.1.11-alpha001
Some checks are pending
Build and test / build (push) Waiting to run
Run Integration Tests / build (push) Waiting to run
2025-03-08 13:42:57 +00:00
BobLd
f1f27a63e1 Update run_integration_tests.yml v0.1.10 2025-03-08 13:15:40 +00:00
BobLd
d36e9a900f version 0.1.10 2025-03-08 13:00:43 +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
d973e03206 Resolve image data (implementation from @kasperdaff)
Some checks are pending
Build and test / build (push) Waiting to run
Run Integration Tests / build (push) Waiting to run
2025-02-22 20:58:17 +00:00
BobLd
c4a235fb62 Update Microsoft NuGet packages for UglyToad.PdfPig.Package
Some checks are pending
Build and test / build (push) Waiting to run
Run Integration Tests / build (push) Waiting to run
2025-02-22 12:55:11 +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
1298356f10 Fix typo in CharacterBoundingBox and small optimisation in TrueTypeFont and seal both classes 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
5209850af7 Update UnpackComponents() to account for 1bpc + DeviceGray (hack for Jbig2)
Some checks failed
Build and test / build (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
2025-01-21 06:49:46 +00:00
BobLd
b7e2245eca Refactor XObjectFactory
Some checks failed
Build and test / build (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
2025-01-19 21:31:33 +00:00
BobLd
24b9a99b8a Fix warnings about "type 'K' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'"
Some checks are pending
Build and test / build (push) Waiting to run
Run Integration Tests / build (push) Waiting to run
2025-01-19 11:45:19 +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
92d3439465 Update UglyToad.PdfPig.ConsoleRunner target framework to net8
Some checks failed
Build and test / build (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
2025-01-14 22:00:18 +00:00
simonedd
1ca52f4d70 Update OptionalContentGroupElement.cs
Add HexToken case in OptionalContent parsing
2025-01-14 21:42:20 +00:00
BobLd
f86cc582ab Execute RemoveStridePadding in place when possible 2025-01-05 17:42:53 +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
d1779cc739 Make ColorSpaceDetails.BaseNumberOfColorComponents public to allow for external image factories 2025-01-04 09:29:28 +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
b6474dda4c Improve UnwrapIndexedColorSpaceBytes 2024-12-31 11:09:57 +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
7ec4e692a9 Fix "Nightly Release" pipeline following csproj changes 2024-12-15 10:58:38 +00:00
GrabzIt
952a07ef41 Fix for IndexOutOfRangeException exception
Fixes issue: https://github.com/UglyToad/PdfPig/issues/954
2024-12-12 19:21:16 +00:00
Kizaemon
a2ae1f16d6 New GetText() option: NegativeGapAsWhitespace
When parsing PDF files with tables containing multiple lines in a cell or "merged" cells, the separate words can appear out of horizontal order. This option can better predict the spaces between the words.
2024-12-09 20:39:25 +00:00