Struct FontKey
The requested logical font for one run: family + weight + stretch + style, plus optional PANOSE hint and kerning threshold semantics.
public readonly struct FontKey : IEquatable<FontKey>
- Implements
- Inherited Members
Constructors
- FontKey(string, int, int, FontStyle, Twips, Panose?)
Initializes a font key.
Properties
- FamilyName
Gets the requested family name.
- KerningThreshold
Gets the minimum em size at which kerning applies; zero disables kerning.
- Panose
Gets the optional PANOSE hint used by fallback resolution.
- RequestsBold
Gets a value indicating whether bold synthesis may be required.
- RequestsItalic
Gets a value indicating whether italic synthesis may be required.
- Stretch
Gets the requested width class (1-9).
- Style
Gets the requested slant style.
- Weight
Gets the requested weight class (1-1000).
Methods
- ToString()
Formats the key for diagnostics.
Operators
- operator ==(FontKey, FontKey)
Determines equality.
- operator !=(FontKey, FontKey)
Determines inequality.