Table of Contents

Enum PdfFontEmbedding

Namespace
PdfSharp.Pdf
Assembly
PdfSharp-gdi.dll

Specifies the embedding options of an XFont when converted into PDF. Font embedding is not optional anymore. So Always is the only option.

public enum PdfFontEmbedding

Fields

[Obsolete("Renamed to EmbedCompleteFontFile.")] Always = 1

Use EmbedCompleteFontFile.

[Obsolete("Renamed to TryComputeSubset.")] Automatic = 0

Use TryComputeSubset.

[Obsolete("Treated as Automatic.")] Default = 0

Not yet implemented. Treated as Default.

EmbedCompleteFontFile = 1

The font file is completely embedded. No subset is computed.

[Obsolete("Fonts must always be embedded. Treated as Automatic.")] None = 0

Fonts are not embedded. This is not an option anymore. Treated as Automatic.

TryComputeSubset = 0

OpenType font files with TrueType outline are embedded as a font subset. OpenType font files with PostScript outline are embedded as they are, because PDFsharp cannot compute subsets from this type of font files.