Commit Graph

1483 Commits

Author SHA1 Message Date
Jason Nelson
6da9c90042 Add .NET 8.0 target 2024-03-15 13:10:25 +00:00
Jason Nelson
8e0500e833 Drop unsupported .NET frameworks 2024-03-15 13:10:25 +00:00
BobLd
845e3b4a7f Handle indirect references in document information factory and fix #706 2024-03-11 21:12:56 +00:00
BobLd
acfe8b5fdd Allow lenient parsing in DictionaryTokenizer and fix #791 2024-03-11 20:01:07 +00:00
BobLd
250362e015 Ensure string characters are escaped when encoding is Utf16BE and fix #789 2024-03-11 20:00:49 +00:00
BobLd
ac0276f1bf Use double in fonts instead of decimals and tidy up remaining decimals 2024-03-06 20:53:11 +00:00
BobLd
c25368e5ab Fix XML comment has badly formed XML 2024-02-18 14:53:38 +00:00
BobLd
189c0efbba Update src/UglyToad.PdfPig/Graphics/Colors/ColorSpaceDetails.cs
Co-authored-by: Eliot Jones <elioty@hotmail.co.uk>
2024-02-18 14:53:38 +00:00
BobLd
9f3d2745f6 Change NumericToken from IDataToken<decimal> to IDataToken<double> and fix #765 2024-02-18 14:53:38 +00:00
Richard Webb
f4e754da50 Set the RuntimeFrameworkVersion for the .NET Core 2.1 unit tests to 2.1.30 2024-02-16 18:20:04 +00:00
BobLd
f78b15a614 Improve UnpackComponents() method performance 2024-02-15 06:52:48 +00:00
BobLd
a6eb6c952c Make OtherEncodings Iso88591 readonly 2024-02-15 06:52:26 +00:00
BobLd
3bdc9498de Use double for pdf version instead of decimal 2024-02-14 21:09:16 +00:00
Richard Webb
19734142af Fix code analyzer suggestions coming from the updated xUnit packages 2024-02-07 20:03:46 +00:00
Richard Webb
23445c16a9 Retarget the unit test project to .NET Core 2.1 2024-02-07 00:25:24 +00:00
Richard Webb
5df8215608 Try updating Microsoft.NET.Test.Sdk to 17.3.3 2024-02-07 00:25:24 +00:00
Richard Webb
47cfcdb690 Update xunit to 2.6.6 2024-02-06 21:59:07 +00:00
Richard Webb
4b441505a8 Remove the code coverage packages 2024-02-06 21:13:27 +00:00
BobLd
f886e98705 Use StringToken.GetBytes() in ShowPositionedText() to fix #668 and add test 2024-01-27 15:36:21 +00:00
BobLd
04fc8d696d Use double instead of decimal in IPdfImage's Decode property 2024-01-20 18:52:26 +00:00
BobLd
6103cf13dc Fix CID / CFF font glyphs and add tests 2024-01-20 16:40:31 +00:00
BobLd
5345422a87 Clamp colors in ICCBasedColorSpaceDetails 2024-01-20 16:40:31 +00:00
BobLd
096ebdbf70 Replace Trace by Debug 2024-01-16 19:24:59 +00:00
BobLd
4e63e2c415 Add visual verification tests for letter glyphs 2024-01-15 13:01:24 +00:00
BobLd
0da7bbf3d4 Replace System.Drawing by SkiaSharp in Tests 2024-01-14 20:09:57 +00:00
Eliot Jones
5953ca9be3 handle escaping in pdf doc encoded strings #730 2024-01-13 19:14:37 +00:00
Eliot Jones
90f7e4bda2 #710 set colorspace based on jpeg info 2024-01-13 16:59:22 +00:00
Richard Webb
83519b27b1 Add a DynamicallyAccessedMembers attribute to AddPageFactory<TPage, TPageFactory> 2024-01-11 19:07:35 +00:00
Eliot Jones
5fadf9a388 write null token to output if null encountered #743 2024-01-11 16:20:54 +00:00
Eliot Jones
33e4ead379 remove localtests 2024-01-11 16:00:46 +00:00
Eliot Jones
966bf49e58 remove unsupported feature 2024-01-11 16:00:46 +00:00
Eliot Jones
d7a34c69ce handle duplicated invalid closing array/dict tokens in objects #6 2024-01-11 16:00:46 +00:00
Eliot Jones
88a148374e add script to easily target a single framework 2024-01-10 21:34:35 +00:00
Richard Webb
8cfaa099c8 Use the plain Aes.Create() instead of Aes.Create("AesManaged") 2024-01-08 10:54:53 +00:00
BobLd
181444afbc Fix typo in SystemFontFinder and fix #728 2024-01-07 16:47:12 +00:00
BobLd
4537ec3f02 Add TransformationMatrix.Transform(double, double) 2023-11-18 16:46:23 +00:00
BobLd
3a96af3dcd Add GetPage<TPage> and AddPageFactory<TPage and TPageFactory> methods 2023-11-18 16:46:23 +00:00
BobLd
3fbf8aaa6c Abstract away PageFactory main logic into BasePageFactory 2023-11-18 16:46:23 +00:00
BobLd
3d655c1fa4 Abstract away ContentStreamProcessor main logic into BaseStreamProcessor 2023-11-18 16:46:23 +00:00
BobLd
6befe2bbfc Add XObjectFactory to public API 2023-11-18 16:46:23 +00:00
BobLd
1bc0ee7105 Fix type 4 function Copy() stack operator and fix #724 2023-11-12 12:02:20 +00:00
BobLd
62bc32a4f7 Correctly parse FunctionBasedShading matrix and fix #702 2023-11-12 11:46:05 +00:00
Yufei Huang
17d50f071d Fix writing explicit XYZ coordinates 2023-10-28 10:07:47 +01:00
BobLd
63096de210 Add IPageFactory to the public API, remove InternalParsingOptions 2023-10-25 20:03:02 +01:00
BobLd
ba865b340e Make IResourceStore part of the public API and pass InternalParsingOptions to the ResourceStore constructor 2023-10-22 19:16:41 +01:00
BobLd
7ab3a6a2cd
Add more classes to the Public API (#717)
* Made interfaces and classes public

* Made NamedDestinations public and fixed namespace

* Fixed NamedDestinationsProvider namespace

* Expose more internal classes as public

* Update PublicApiScannerTests

* Make setters internal
2023-10-22 17:34:47 +01:00
Eliot Jones
96ba82ad4e
allow writing custom metadata to document builder #669 (#715)
* allow writing custom metadata to document builder #669

* skip null entries
2023-10-22 10:33:06 +01:00
BobLd
c6e2de1b0c
Make all structs readonly when possible 2023-10-18 23:44:11 +01:00
BobLd
f5b4b84dea Handle SetFlatness operator with no value and fix #682 2023-10-18 22:59:53 +01:00
BobLd
fe0e4db419 Properly handle page rotation for crop box and media box and fix #665 2023-10-18 21:27:56 +01:00