Commit Graph

1640 Commits

Author SHA1 Message Date
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 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
BobLd
97ae62ce6f
Update additional glyph list to latest from PDFBox (#948) 2024-11-27 19:52:23 +00: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
bcc8ccecbe
Stop treating Warnings as Errors (#941) 2024-11-23 18:23:22 +00:00
madelson
7db347e9f7
Enable trimming and AOT (#939)
* Enable trimming and AOT analysis for all none-test projects

* Try annotating various XmlSerializer related functions with RequiresUnreferencedCode

* fix remaining AOT warnings

* fix attribute warning message

---------

Co-authored-by: Richard Webb <richard.webb@helpsystems.com>
2024-11-20 07:42:37 +00:00
madelson
8ca539942d
Optimize cross reference object offset validation by avoiding nested loop
* Optimize cross reference object offset validation by avoiding nested loops

* Address https://github.com/UglyToad/PdfPig/pull/935#discussion_r1839585652
2024-11-13 19:47:50 +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