[]
Various flags describing the font.
[Flags]
public enum FontFlags
Bold = 128Characters are emboldened.
BoldItalic = Italic | BoldBit mask for Bold and Italic flags.
CannotEmbed = 4Indicates if the font is prohibited for embedding.
CannotSubset = 8Indicates if the font can not be serialized as a subset of the source font data.
Collection = 16384Indicates if the font was loaded from .ttc or .otc font collection.
Compressed = 2Indicates if the font is in WOFF format.
DisableHinting = 131072Prevents executing TrueType instructions.
FixedPitch = 16False if the font is proportionally spaced, True if the font is not proportionally spaced (i.e. monospaced).
HasMathTable = 1048576For internal use only.
Hollow = 4096Hollow (outlined) characters, otherwise they are solid.
Italic = 64Font contains italic or oblique characters, otherwise they are upright.
ItalicOrOblique = Italic | ObliqueBit mask for Italic and Oblique flags.
LastResort = 8192If set, indicates that the glyphs encoded in the cmap subtables are simply generic symbolic representations of code point ranges and don’t truly represent support for those code points.
LongOffsets = 524288For internal use only.
Negative = 2048Characters have their foreground and background reversed.
NoBitmapCache = 32768Prevents using bitmap glyph cache and OpenType embedded bitmaps.
NoGlyphInstructions = 65536Indicates if the TrueType font has no glyph instructions.
None = 0No flags are set.
Oblique = 256Font contains oblique characters.
PermissionToEmbedGranted = 262144Indicates that the developer of the software has obtained explicit permission from the legal owner of the font to embed it in documents produced by the software.
PostScript = 1Indicates if the font contains PostScript outlines.
RequiredTables = 2097152For internal use only.
Strikeout = 1024Characters are overstruck.
Underscore = 512Characters are underscored.
Vertical = 32Gets a value indicating if this is a vertical font.