Method AddSystemFonts
- Namespace
- SoftZenPdf.Layout
- Assembly
- SoftZenPdf.dll
AddSystemFonts()
Registers the fonts installed on this computer: the Windows fonts folders, /usr/share/fonts and the user's
font folders on Linux, and the font folders of macOS.
public int AddSystemFonts()
Returns
- int
How many fonts were registered.
Remarks
Installed fonts differ between machines, so a document can look different on a server; register the font files you rely on for predictable output.