Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
The most likely scenario is that you are using Aspose.Cells to convert spreadsheets to PDF. If you are doing this on a non‑Windows based operating system such as Linux, then this topic explains how to ensure that Aspose.Cells renders your spreadsheets with best fidelity.
To make sure that spreadsheets converted by Aspose.Cells appear as close to the original as possible, you might need to install “Windows fonts” or “TrueType fonts” on your Linux system because the most commonly used TrueType fonts don’t come pre‑installed with Linux distributions by default.
There are two main ways to get TrueType fonts on a Linux system:
An easy and quick way is to copy .TTF and .TTC files from the C:\Windows\Fonts directory on a Windows machine to some directory on your Linux machine. You do not need to install or register these fonts on Linux in any way; you just need to specify the location of the fonts using the FontConfigs.setFontFolder method in your application.
The information provided below will guide you step by step to install Microsoft’s most famous TrueType fonts on Linux distributions such as Fedora and Red Hat Enterprise Linux (RHEL).
Here’s how to do it using the Terminal.
Make sure you have the following RPM packages installed.
yum install rpm-build cabextract ttmkfdir
wget: If not installed, use the following command
yum -y install wget
Download the latest msttcorefonts spec file from SourceForge using the command as follows,
wget http://corefonts.sourceforge.net/msttcorefonts-2.5-1.spec
Build an RPM file using the previously downloaded spec file and the following command,
rpmbuild -ba msttcorefonts-2.5-1.spec
The RPM file will be stored in /root/rpmbuild/RPMS/noarch/; install it as follows,
rpm -ivh /root/rpmbuild/RPMS/noarch/msttcorefonts-2.5-1.noarch.rpm
Restart the machine to make the changes take effect.
The instructions provided above will install the Microsoft TTFs package, including the following font families:
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.