Starting with version 26.9, GroupDocs.Signature for .NET no longer ships a .NET Standard build. On Linux and macOS use the .NET 6, .NET 8 or .NET 10 build; see System Requirements.
Linux and macOS
The .NET 6, .NET 8 and .NET 10 builds use System.Drawing for some image operations, for example image, stamp, barcode and QR-code signatures. On Linux and macOS this needs libgdiplus (see the recommendations below) and the System.Drawing.EnableUnixSupport switch in your application project:
Without them, these operations throw GroupDocsSignatureException with the message “The type initializer for ‘Gdip’ threw an exception”. Install the fonts your documents and signatures use as well: a font that is not installed can also stop signing, with a “Font … was not found” message.
Fonts
Fonts that a document uses but that are not installed on the machine are substituted with available fonts. This can change the layout when a document is rendered to PNG, JPG or PDF, so install the fonts your documents use.
Recommendations
When using GroupDocs.Signature in a non-Windows environment in order to improve rendering results we do recommend installing the following packages:
libgdiplus - is the Mono library that provides a GDI+-compatible API on non-Windows operating systems.
libc6-dev - package contains the symlinks, headers, and object files needed to compile and link programs which use the standard C library.
ttf-mscorefonts-installer - package with Microsoft compatible fonts.
To install packages on Debian-based Linux distributions use apt-get utility:
sudo apt-get install libgdiplus
sudo apt-get install libc6-dev
sudo apt-get install ttf-mscorefonts-installer
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.
On this page
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.