Class KnownVariationAxes
Defines the registered design-variation axis tags for variable fonts. These tags are used with FontVariation to control font design axes. https://learn.microsoft.com/en-us/typography/opentype/spec/dvaraxisreg
public static class KnownVariationAxes
- Inheritance
-
KnownVariationAxes
- Inherited Members
Fields
Italic
Italic axis ('ital'). Controls the italic angle of the font. Value range: 0 (upright) to 1 (italic). https://learn.microsoft.com/en-us/typography/opentype/spec/dvaraxistag_ital
public const string Italic = "ital"
Field Value
OpticalSize
Optical size axis ('opsz'). Adjusts the design for a specific text size in points. Typical range: 6 to 144. Larger values optimize for display use; smaller for body text. https://learn.microsoft.com/en-us/typography/opentype/spec/dvaraxistag_opsz
public const string OpticalSize = "opsz"
Field Value
Slant
Slant axis ('slnt'). Controls the slant angle of upright glyphs in degrees. Typical range: -90 to 90. Negative values slant to the right (the common direction). https://learn.microsoft.com/en-us/typography/opentype/spec/dvaraxistag_slnt
public const string Slant = "slnt"
Field Value
Weight
Weight axis ('wght'). Controls the weight (boldness) of the font. Range: 1 to 1000. Common values: 100 (Thin), 300 (Light), 400 (Regular), 700 (Bold), 900 (Black). https://learn.microsoft.com/en-us/typography/opentype/spec/dvaraxistag_wght
public const string Weight = "wght"
Field Value
Width
Width axis ('wdth'). Controls the relative width of the font as a percentage of normal. Typical range: 75 (condensed) to 125 (expanded). 100 represents the normal width. https://learn.microsoft.com/en-us/typography/opentype/spec/dvaraxistag_wdth
public const string Width = "wdth"