.NET Standard 2.0 API Limitations
- Because of the lack of Windows fonts in target OS (Android, macOS, Linux, etc), fonts used in documents are substituted with available fonts, this might lead to inaccurate document layout when rendering the document to PNG, JPG, and PDF.
- If GroupDocs.Watermark for .NET Standard is intended to be used in a Linux environment, an additional NuGet package should be referenced to make it work correctly with graphics: SkiaSharp.NativeAssets.Linux for Ubuntu (it also should work on most Debian-based Linux distributions) or Goelze.SkiaSharp.NativeAssets.AlpineLinux for Alpine Linux.
When using GroupDocs.Watermark 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