ststeiger / PdfSharpCore

Port of the PdfSharp library to .NET Core - largely removed GDI+ (only missing GetFontData - which can be replaced with freetype2)
Other
1.06k stars 236 forks source link

When use OwnerPassword Outlines tex gets corrupted #264

Closed ProDInfo closed 2 years ago

ProDInfo commented 2 years ago

When I generate a document with Outlines if I set the OwnerPassword the Outline text gets corrupted.

If I use PdfSharp-Gdi with net framework 4.8 I have no problems. But if I use this library with net6.0 the problem appears


c.SecuritySettings.OwnerPassword = "abc"

Attached image to see the error. Captura de pantalla 2022-06-08 100821