Version dev

# `Axis`

since version 5.5.12

Set a design axis of a variable font to a specific value. Use as a child element of `LoadFontfile` to create a static font instance from a variable font. Any OpenType variation axis can be specified, such as `wght` (weight), `wdth` (width), `opsz` (optical size), `ital` (italic), `slnt` (slant), or custom axes.

## Child elements

(none)

## Parent elements

`LoadFontfile`

## Attributes

`name` (text)
  The four-letter tag of the variation axis (e.g. `wght`, `wdth`, `opsz`).
`value` (number)
  The value to set for the axis.

## Example

    <LoadFontfile name="MyFont Semibold Condensed"
                  filename="MyFont-Variable.ttf">
      <Axis name="wght" value="600" />
      <Axis name="wdth" value="75" />
    </LoadFontfile>

#### On this page