Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gitversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ branches:
release: # Release and preview versions.
# branch: release/6.0.0-preview-3 -- must be same as git tag without leading 'v'.
# version: {6-0-0-preview-3} -- taken from git tag only
regex: ^(release[/-]|master)
regex: ^(release[/-]|master|pdfsharp-extended)
# Must not have mode set to be mainline?
increment: None
tag: ''
Expand Down
4 changes: 2 additions & 2 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<Product>PDFsharp</Product>
<Company>empira Software</Company>
<Copyright>© 2025 empira</Copyright>
<Authors>PDFsharp Team</Authors>
<Owners>empira Software GmbH</Owners>
<Authors>PDFsharp Team, KDS-NTG</Authors>
<Owners>KDS-NTG</Owners>
</PropertyGroup>

<PropertyGroup>
Expand Down
12 changes: 6 additions & 6 deletions src/foundation/nuget/src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project>
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />

<ItemGroup>
Expand All @@ -12,11 +12,11 @@
<NuGetReleaseNotes>@(ReleaseNotesFileContents->'%(Identity)', '%0d')</NuGetReleaseNotes>
<DebugBuildMessage>***** THIS IS A DEBUG BUILD - DO NOT PUBLISH *****%0d</DebugBuildMessage>

<!--<NuGetProjectUrl>https://docs.pdfsharp.net</NuGetProjectUrl>-->
<NuGetProjectUrl>https://docs.pdfsharp.net</NuGetProjectUrl>
<NuGetTags_PdfSharp>PDFsharp PDF creation</NuGetTags_PdfSharp>
<NuGetTags_MigraDoc>MigraDoc PDFsharp PDF Document Generation</NuGetTags_MigraDoc>
</PropertyGroup>
<!--<NuGetProjectUrl>https://docs.pdfsharp.net</NuGetProjectUrl>-->
<NuGetProjectUrl>https://github.com/KDS/PDFsharp/tree/pdfsharp-6-2-1-extended</NuGetProjectUrl>
<NuGetTags_PdfSharp>PDFsharp PDF creation signature</NuGetTags_PdfSharp>
<NuGetTags_MigraDoc>MigraDoc PDFsharp PDF Document Generation</NuGetTags_MigraDoc>
</PropertyGroup>

<Target Name="SetNuspecProperties" BeforeTargets="GenerateNuspec">

Expand Down
8 changes: 8 additions & 0 deletions src/foundation/nuget/src/PDFsharp.NuGet/Description.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@ PDFsharp is the Open Source library for creating and modifying PDF documents usi
This package does not depend on Windows and can be used on any .NET compatible platform including Linux and macOS.

See https://docs.pdfsharp.net for details.

EXTENDED: this is an extended version with additional features:
* Do not override XMP metadata if using option ManualXmpGeneration
* File attachment annotations
* Embedded file checksum property
And bug fixes:
* https://github.com/empira/PDFsharp/issues/248 (signature failing when document is malformed)
* https://github.com/empira/PDFsharp/issues/71 (Exception when pointing multiple PdfFileSpecification to a single PdfEmbeddedFileStream)
6 changes: 3 additions & 3 deletions src/foundation/nuget/src/PDFsharp.NuGet/PDFsharp.NuGet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
<IsPackable>true</IsPackable>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<NuspecFile>$(MSBuildThisFileDirectory)$(MSBuildProjectName).nuspec</NuspecFile>
<NuGetId>PDFsharp</NuGetId>
<NuGetTitle>PDFsharp for Windows and Linux</NuGetTitle>
<NuGetId>PDFsharp-extended</NuGetId>
<NuGetTitle>PDFsharp for Windows and Linux, with extra features: file attachment annotations, embedded file checksum, preservation of XMP data, and bug fixes.</NuGetTitle>
<NuGetDescription Condition=" '$(Configuration)'=='Debug' ">$(DebugBuildMessage)%0D$(NuGetDescription)</NuGetDescription>
<NuGetSummary>A .NET library for processing PDF.</NuGetSummary>
<NuGetSummary>A .NET library for processing PDF. With extra features: file attachment annotations, embedded file checksum, preservation of XMP data, and bug fixes.</NuGetSummary>
<NuGetTags>$(NuGetTags_PdfSharp)</NuGetTags>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<releaseNotes>$releaseNotes$</releaseNotes>
<copyright>$copyright$</copyright>
<tags>$tags$</tags>
<repository type="git" url="https://github.com/empira/PDFsharp" branch="master" commit="" />
<repository type="git" url="https://github.com/KDS/PDFsharp" branch="pdfsharp-6-2-1-extended" commit="" />
<title>$title$</title>
<dependencies>
<group targetFramework="net6.0">
Expand Down
8 changes: 8 additions & 0 deletions src/foundation/nuget/src/PDFsharp.NuGet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@ PDFsharp is the Open Source library for creating and modifying PDF documents usi
This package does not depend on Windows and can be used on any .NET compatible platform including Linux and macOS.

See [docs.pdfsharp.net](https://docs.pdfsharp.net) for details.

EXTENDED: this is an extended version with additional features:
* Do not override XMP metadata if using option ManualXmpGeneration
* File attachment annotations
* Embedded file checksum property
And bug fixes:
* https://github.com/empira/PDFsharp/issues/248 (signature failing when document is malformed)
* https://github.com/empira/PDFsharp/issues/71 (Exception when pointing multiple PdfFileSpecification to a single PdfEmbeddedFileStream)
18 changes: 17 additions & 1 deletion src/foundation/nuget/src/PDFsharp.NuGet/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
This is a version of PDFsharp compatible with .NET 6 and higher.
This is a version of PDFsharp compatible with .NET 6 and higher.
The package ‘PdfSharp’ can be used on any platform including Windows and Linux. The Target Frameworks are ‘net6.0’, ‘net8.0’ and ‘netstandard2.0’.
The packages ‘PDFsharp-gdi’ and ‘PDFsharp-wpf’ can be used under Windows only. The Target Frameworks are ‘net6.0-windows’, ‘net8.0-windows’ and ‘net462’.
We also publish packages that contain PDFsharp plus MigraDoc.
See the project docs site for further information:
https://docs.pdfsharp.net/link/readme-v6.2.html



PDFsharp-extended:

v1.2.0
* Synchronized with PdfSharp 6.2.1 (including natively multi-targeting netstandard/fx/net6 and digital signatures)
v1.1.1
* Fix issue #80 (allow detection of JPEG APP2 ICC_PROFILE headers)
v1.1.0
* Merged PR#2 (ability to define on which page the signature is attached)
v1.0.2
* Workaround for issue #69 (rendering special chars as unknown char instead of just crashing. proper support/fix is still to be done)
* Fix issue #71 (multiple PdfFileSpecification referencing the same PdfEmbeddedFileStream is now handled without crash)
v1.0.1
* Fixed issue #61 (XImage.PointHeight returning width)
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
<AssemblyOriginatorKeyFile>..\..\..\..\..\StrongnameKey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup>
<SignAssembly>true</SignAssembly>
<DelaySign>false</DelaySign>
<AssemblyOriginatorKeyFile>..\..\..\..\..\..\StrongnameKey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
Expand Down
6 changes: 6 additions & 0 deletions src/foundation/src/PDFsharp/src/PdfSharp/PdfSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">true</IsAotCompatible>
</PropertyGroup>

<PropertyGroup>
<SignAssembly>true</SignAssembly>
<DelaySign>false</DelaySign>
<AssemblyOriginatorKeyFile>..\..\..\..\..\..\StrongnameKey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static class PdfSharpProductVersionInformation
/// <summary>
/// The title of the product.
/// </summary>
public const string Title = "PDFsharp";
public const string Title = "PDFsharp-extended";

/// <summary>
/// A characteristic description of the product.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<AssemblyOriginatorKeyFile>..\..\..\..\..\StrongnameKey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup>
<SignAssembly>true</SignAssembly>
<DelaySign>false</DelaySign>
<AssemblyOriginatorKeyFile>..\..\..\..\..\..\StrongnameKey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
<AssemblyOriginatorKeyFile>..\..\..\..\..\StrongnameKey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup>
<SignAssembly>true</SignAssembly>
<DelaySign>false</DelaySign>
<AssemblyOriginatorKeyFile>..\..\..\..\..\..\StrongnameKey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<GenerateDocumentationFile>false</GenerateDocumentationFile>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">true</IsAotCompatible>
</PropertyGroup>

<PropertyGroup>
<SignAssembly>true</SignAssembly>
<DelaySign>false</DelaySign>
<AssemblyOriginatorKeyFile>..\..\..\..\..\..\StrongnameKey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\..\..\..\StrongnameKey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup>
<SignAssembly>true</SignAssembly>
<DelaySign>false</DelaySign>
<AssemblyOriginatorKeyFile>..\..\..\..\..\..\StrongnameKey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand Down