You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could not load type 'System.drawing.text.InstalledFontCollection' from assembly 'System.Drawing', Version=4.0.0.0,culture=neutral, publickeytoken= b03f5f7f11d50a3a
#181
Open
mycodings22 opened this issue
Nov 24, 2020
· 1 comment
I'm using .net core 2.0. I have installed pdfsharp and htmlrendererSharp latest versions. Exactly at the pdfGenerator.GeneratePdf() method it is throwing an exception. When I debugged the code, In pdfsharp adapter InstalledFontCollection is not being recognized. I tried install system.drawing.common through nuget but didn't work. But after installing System.Drawing.Common, I could initialize InstalledFontCollection(create an object) class in my class file. Could you able to tweak the code so that I can send my InstalledFontCollection Class as a parameter or Could you please fix the issue for the developers who are using .net Version Core 2.0.
The text was updated successfully, but these errors were encountered:
HTML-Renderer/Source/HtmlRenderer.PdfSharp/Adapters/PdfSharpAdapter.cs
Line 47 in a004aef
I'm using .net core 2.0. I have installed pdfsharp and htmlrendererSharp latest versions. Exactly at the pdfGenerator.GeneratePdf() method it is throwing an exception. When I debugged the code, In pdfsharp adapter InstalledFontCollection is not being recognized. I tried install system.drawing.common through nuget but didn't work. But after installing System.Drawing.Common, I could initialize InstalledFontCollection(create an object) class in my class file. Could you able to tweak the code so that I can send my InstalledFontCollection Class as a parameter or Could you please fix the issue for the developers who are using .net Version Core 2.0.
The text was updated successfully, but these errors were encountered: