Click or drag to resize
Pdftools logo

FontOptionsRemoveStandardFonts Property

Whether to remove standard fonts

Enable or disable un-embedding of the font programs of all embedded standard fonts, such as Arial, Courier, CourierNew, Helvetica, Symbol, Times, TimesNewRoman and ZapfDingbats. This decreases the file size.

The fonts are replaced with one of the 14 PDF Standard Fonts, all of which have no associated font program. A PDF viewer must be able to display these 14 PDF Standard Fonts correctly. Therefore, enabling this property usually does not visually alter the PDF when it is displayed.

Un-embedding the font works based on the font's Unicode information, i.e. the un-embedded font's characters are mapped to those of the original font with the same Unicode. Therefore, only fonts with Unicode information are un-embedded.

If a font's Unicode information is incorrect, un-embedding may lead to visual differences. The correctness of a Unicode information can be verified by extracting text that uses the font.

If the extracted text is meaningful, the font's Unicode information is correct, and un-embedding of the font does not cause visual differences.

Default: (disabled) except in the profile MinimalFileSize.


Namespace: PdfTools.Optimization
Assembly: PdfTools (in PdfTools.dll) Version: 1.5.0+84bd4d36da7e2449ee09fddee89e23a99b6ffcca
Syntax
C#
public bool RemoveStandardFonts { get; set; }

Property Value

Boolean
See Also