Enum PdfFontEmbedding
Specifies the embedding options of an XFont when converted into PDF. Font embedding is not optional anymore. So TryComputeSubset and EmbedCompleteFontFile are the only options.
public enum PdfFontEmbedding
Fields
[Obsolete("Renamed to EmbedCompleteFontFile.")] Always = 1Use EmbedCompleteFontFile.
[Obsolete("Renamed to TryComputeSubset.")] Automatic = 0Use TryComputeSubset.
[Obsolete("Treated as Automatic.")] Default = 0Not yet implemented. Treated as Default.
EmbedCompleteFontFile = 1The font file is completely embedded. No subset is computed.
[Obsolete("Fonts must always be embedded. Treated as Automatic.")] None = 0Fonts are not embedded. This is not an option anymore. Treated as Automatic.
TryComputeSubset = 0OpenType 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.