PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Jul 21, 2024 5:14 pm

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Jul 01, 2024 11:07 am 
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
Hello, everybody!

As of today, PDFsharp 6.1.1 final is available.
Note: "final" means it is a "stable" release of 6.1.1, not a prerelease. The project is alive and there are plans for PDFsharp 6.2.0.

You can find the source code on github.com:

You can find binaries (assemblies) on NuGet.

Note: On NuGet there are Core, GDI, and WPF packages.

The six new preview NuGet packages:

All packages target .NET 6 and can also be used with .NET 7 or .NET 8.
The Core packages also target .NET Standard 2.0 and should work with all compatible platforms including Windows and Linux.
The GDI and WPF packages also target .NET 4.7.2 and should also work with higher versions like 4.8.1, but depend on Windows.

If you are using .NET Framework 4.7.1 or older and cannot upgrade to 4.7.2 or newer, you can use the Core build packages.
Alternatively you can download the PDFsharp source code and change the target to .NET 4.6.2. This allows using the GDI and WPF builds with .NET 4.6.2 or newer.

Samples can be found on GitHub:

Changes since 6.1.0 Final:
  • Bug fix for images from MemoryStream (PDFsharp) or BASE64 (MigraDoc) - it seems only the GDI build was affected by this bug
  • Bug fix for user permissions where the MSB is set

Changes since 6.1.0-Preview-3:
  • Improved image handling, eventually leads to smaller PDF files
  • Other bug fixes

Changes since 6.1.0-Preview-2:
  • Improved font handling, should lead to smaller PDF files
  • Strong name keys, so assemblies created with .NET Framework can be copied to the GAC
  • Core build supports more PNG and JPEG variations
  • Resolved issues with encrypted PDF files
  • Other bug fixes

Changes since 6.1.0-Preview-1:
  • Improved font handling
  • Fixed: PDF files can now be opened under .NET 4.7.2
  • Other bug fixes

Changes since 6.0.0:
  • The Core packages now target .NET 6 and .NET Standard 2.0
  • The GDI and WPF packages now target .NET 6 and .NET 4.7.2
  • Bug fixes for encrypted files
  • Bug fixes for PDF files with incremental updates where earlier versions did not find all pages
  • Several other bug fixes

Changes versus PDFsharp 1.5:
  • Uses .NET 6.0 and .NET Standard 2.0 or .NET 6.0 and .NET 4.7.2
  • Core build can be used under Windows, Linux, and all other platforms where .NET 6 is running on.
  • People using PDFsharp Core 1.5 should consider switching to PDFsharp-GDI 6 to get similar functionality
  • MigraDoc table rendering got faster again.

Note that there is only one source code repository containing PDFsharp and MigraDoc.
Note that there is only one sample repository containing PDFsharp and MigraDoc samples.

New PDFsharp website http://docs.pdfsharp.net

Information about breaking changes:
https://docs.pdfsharp.net/General/Overv ... arp-6.html

Please report all regressions versus 1.51.
Several bugs have been fixed - and hopefully there are no new bugs.
There are still some known issues.

Thomas Hoevel
PDFsharp Team

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 3 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group