BobLd
bf7c3c01d0
Fix bug introduced in #1039
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-13 18:44:31 +01:00
ricflams
c3c477a2ba
Bugfix and optimize GetStartXrefPosition
...
The bugfix was the important part but the optimization is pretty nice too.
- Bugfix: If startxref was found so far back (eg in the very beginning which can be the case for Linearized PDFs) that we ended up setting actualStartOffset to 0 then the loop would exit immediately without actually searching that part.
- Optimization: GetStartXrefPosition would search for startxref in the last 2048 bytes and then double that search-range (looking back 4096, 8192, etc bytes) to look for startxref until the entire file was searched. This was rather inefficient since each step would search the same parts over and over again. This has been changed to properly search (still increasingly larger) chunks that doesn't overlap. On a test of 5000 PDFs that reduced their load-time by 10%.
- Change: No need for the exception to say that startxref couldn't be found "in the last 2048 characters" since the entire file was searched anyway.
2025-05-13 18:21:31 +01:00
BobLd
4dab2ef239
Add early support for Stencil masking, rename SoftMaskImage property into MaskImage and make sure IsInlineImage is true for InlineImage
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
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()
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
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
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
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()
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)
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
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
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
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
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
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)
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
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>'"
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
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