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
An unhandled exception was thrown by the application.
Exception: Scryber.PDFLayoutException: The layout of component \u0027text1\u0027 failed. The initialization of the fonts failed. The type initializer for \u0027Gdip\u0027 threw an exception.
System.Configuration.ConfigurationErrorsException: The initialization of the fonts failed. The type initializer for \u0027Gdip\u0027 threw an exception.
System.TypeInitializationException: The type initializer for \u0027Gdip\u0027 threw an exception. ---\u003E System.PlatformNotSupportedException: System.Drawing.Common is not supported on non-Windows platforms.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have problems to run scryber in a .net 6 linux container.
The Installation the library
libgdiplus
does not seem to solve the problem.https://github.com/richard-scryber/scryber.core/blob/master/docs/libgdiplus.md
System.Drawing is a windows only library.
https://docs.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only
Recommended action is to migrate to one of the following libraries:
What is the meaning about this? Should we migrate scryber.core to SkiaSharp?
@richard-scryber If you want, I can try to do this migration.
By the way.
I think the culture info in the unit test should be defined otherwise some tests f.e. with datetime will failing in some
environments.
Or is there an other solution for this problem?
Thank you for your feedback.
Beta Was this translation helpful? Give feedback.
All reactions