Skip to main content
A newer version of this page is available. .

PdfExportOptions.NeverEmbeddedFonts Property

Gets or sets a semicolon-delimited string of values with the font names which should not be embedded in the resulting PDF file.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll

Declaration

[DefaultValue("")]
[XtraSerializableProperty]
[TypeConverter(typeof(PdfNeverEmbeddedFontsConverter))]
public string NeverEmbeddedFonts { get; set; }

Property Value

Type Default Description
String String.Empty

A String which contains the font names delimited by a semicolon.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to NeverEmbeddedFonts
Cross-Platform Class Library ExportOptions
.Pdf.NeverEmbeddedFonts
WPF Controls ExportOptionsContainer
.Pdf.NeverEmbeddedFonts

Remarks

Use the NeverEmbeddedFonts property to specify which fonts should not be embedded into the resulting PDF file.

Never embedding any of the fonts used in your documents can greatly reduce the PDF file size, in case many fonts are used. However, note that if you don’t embed any font, it’s always required that this font persists on a client machine on which the PDF file will be viewed. Otherwise, symbols from this font will be substituted by the symbols from the default font, or even displayed incorrectly.

When using non-embedded fonts, the export engine can only use a subset of 256 characters from Adobe Glyph List.

All other fonts which are not listed by the NeverEmbeddedFonts property are automatically included into the resulting PDF file.

At present, the following limitations apply to PDF export.

  • Glyph Shaping does not work for non-embedded fonts.
  • Support for right-to-left languages with non-embedded fonts requires that your application runs under full trust.
See Also