Telerik report pdf export and print error on linux

2 Answers 385 Views
.NET Core Report Viewer - HTML5
guillaume.lebel
Top achievements
Rank 1
Iron
Iron
guillaume.lebel asked on 10 Nov 2023, 12:19 AM | edited on 11 Nov 2023, 01:15 PM

Hi Everyone,

I've recently upgrade telerik reporting to the last version. I'm currently using the report viewer in a .net core application on linux. Since the last version the print option and the pdf export doesn't work anymore.

On the front end i'm getting

telerik reporting The header contains invalid values at index 0: '<null>'

and on the server server side I'm getting an exception with 

telerik.Reporting.Pdf.Fonts.TrueType.FontDataProvider

I've set the appsettings to use the GDI and still have the system.drawing.common set at 6.0 for now. I never had any issues prior to this update with the same settings. Anyone had this issue before? All other export works perfectly fine, only the pdf and print options have issues.

Thank you very much,

Guillaume

2 Answers, 1 is accepted

Sort by
0
guillaume.lebel
Top achievements
Rank 1
Iron
Iron
answered on 13 Nov 2023, 12:37 AM

I just found the bug was already reported https://feedback.telerik.com/reporting/1629675-cannot-render-reports-to-pdf-using-the-libgdiplus-library-with-r3-2023. Any one has a workaround? 

Thank you,

Guillaume

0
Todor
Telerik team
answered on 14 Nov 2023, 01:15 PM

Hi Guillaume,

The issue is fixed and will be released tomorrow, November 15th, 2023 with the upcoming Service Pack.

The alternative is to use SkiaSharp with version 17.2.23.1010 on Linux.

Regards,
Todor
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
Tags
.NET Core Report Viewer - HTML5
Asked by
guillaume.lebel
Top achievements
Rank 1
Iron
Iron
Answers by
guillaume.lebel
Top achievements
Rank 1
Iron
Iron
Todor
Telerik team
Share this question
or