QuestPDF / QuestPDF

QuestPDF is a modern open-source .NET library for PDF document generation. Offering comprehensive layout engine powered by concise and discoverable C# Fluent API. Easily generate PDF reports, invoices, exports, etc.

Home Page:https://www.questpdf.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to find an entry point named 'svg_get_size' in DLL 'QuestPdfSkia'

alex-kukhtin opened this issue · comments

Problem description
Unhandled Exception: System.EntryPointNotFoundException: Unable to find an entry point named 'svg_get_size' in DLL 'QuestPdfSkia'.
at QuestPDF.Skia.SkSvgImage.API.svg_get_size(IntPtr svg, SkSvgImageSize& size, SkRect& viewBox)
at QuestPDF.Skia.SkSvgImage..ctor(String svgString, SkFontManager fontManager)
at QuestPDF.Infrastructure.SvgImage..ctor(String content)
at QuestPDF.Infrastructure.SvgImage.FromText(String svg)

To Reproduce

var svgImage = SvgImage.FromText("<svg></svg>");

Environment

  • QuestPDF 2024.3.2
  • .NET Framework 4.8
  • Windows 11 win-x64

By the way. In version 2024.3.1 it works correctly.

Would you please try the 2024.3.4 version?

Yes. It works. Thank you.
I've already closed the issue.