Non-Windows Environment
Sheetize SDKs support .NET Standard 2.0, enabling them to be used in .NET Core applications running on Linux or other non-Windows environments. To ensure optimal performance and accurate text rendering, follow the steps below:
Recommended Setup for Linux
1. Install libgdiplus Package
The libgdiplus package provides essential GDI+ functionality, critical for rendering and processing spreadsheets. Install it by running the following command in your terminal:
sudo apt-get install libgdiplus
2. Install Microsoft Compatible Fonts
To ensure correct text rendering, install Microsoft TrueType fonts using:
sudo apt-get install ttf-mscorefonts-installer
These fonts should be located in the /usr/share/fonts/truetype/msttcorefonts
directory. If your system uses a different directory, update the path in your code before performing any operations with Sheetize SDKs:
Sheetize.Text.FontRepository.Sources.Add(new FolderFontSource("<path to ms fonts>"))
By installing these packages and configuring the font path correctly, you can maximize the performance of Sheetize SDKs on Linux or other non-Windows systems.