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