.NET Standard 2.0 API Limitations
Leave feedback
When running on Linux, install the following additional dependencies:
Windows Fonts. Due to the lack of Windows fonts in Linux, GroupDocs.Viewer replaces document fonts with available ones. This can result in incorrect document layout when rendering to JPG, PNG, and PDF.
SkiaSharp Native Assets. Install SkiaSharp.NativeAssets.Linux.NoDependencies 2.80.2 or later.
System.Drawing dependencies -
libgdiplus
6.0.1 or higher.WarningTo install the latest version oflibgdiplus
, add the Mono repository to your system. See more at https://www.mono-project.com/download/stable/#download-lin.
To install packages on Debian (Buster) based Linux distributions, use the apt-get utility:
- Windows Fonts:
apt-get update
apt-get install -y libfontconfig1
apt-get install -y ttf-mscorefonts-installer
- SkiaSharp - add package to your project:
dotnet add package SkiaSharp.NativeAssets.Linux.NoDependencies --version 2.80.3
- System.Drawing dependencies:
apt-get update
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-buster main" >> /etc/apt/sources.list.d/mono-official-stable.list
apt-get update
apt-get install -y gnupg
apt-get install -y libgdiplus
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.