dotnetprojects / PdfSharp

Adding barcode functionality to MigraDoc pdf rendering
3 stars 2 forks source link

Problems with custom fonts an export from XPS to PDF in Net6 #2

Open jogibear9988 opened 2 years ago

jogibear9988 commented 2 years ago

In dotnet6 something seems to be changed in xps format, so fonts could not be found in some way

jogibear9988 commented 2 years ago

seems already this call here: https://github.com/dotnetprojects/PdfSharp/blob/60003919ec30d4239b1932fbe9e04240f4e99f76/PDFsharp/code/PdfSharp.Xps/PdfSharp.Xps.XpsModel/FixedPayload.cs#L286

get's different font data if the xps is created with net6, but the xps seems correct (because windows and other tools can read it)