These steps will help you install the standard set of fonts provided by Microsoft, known as the Microsoft core fonts.
We are not permitted to distribute the Microsoft Core fonts with our AMI directly, but they are free and easily accessible for you to install.
Embedding fonts in your output PDF document ensures that the document can be opened and viewed on any machine, because the fonts travel with that document. Quite literally, the necessary font files are saved within that PDF file. This is required for all PDF/A specifications to support long-term preservation.
Subsetting the fonts that are embedded in the document is an important step to reduce PDF file size. The subset of the font contains only those font characters actually used in the PDF document.
Once installed, these MS Core fonts are available to use with Watermark PDF, expanding the set of fonts that can be applied with a text-based watermark.
Inside the docker container, run: sudo rpm -i
https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
Inside the docker container, edit /opt/datalogics/pdf-utility/config/settings.js
and update msCoreFontsInstalled
to true
.
Then apply the settings with sudo node apply_settings.js
from the same directory.