.. _document-xml-structure: ********************** Document XML structure ********************** .. sectnum:: :start: 2 .. Note: impossible with Sphinx to avoid numbering the document title .. See this issue: https://github.com/sphinx-doc/sphinx/issues/4628 .. contents:: Table of contents (levels match the document structure) :local: ======== Overview ======== .. code:: xml ================== ```` element ================== The ```` element contains one or more ```` elements. .. rubric:: Attributes - ``elidedfallbackname``: optional, string. STAT Style Attributes Header field ``elidedFallbackNameID``. See: `OTSpec STAT Style Attributes Header `_ .. versionadded:: 5.0 ```` element ================== - Define a single axis - Child element of ``axes`` - The axis can be either continuous (as in version 4.0) or discrete (new in version 5.0). Discrete axes have a list of values instead of a range minimum and maximum. .. rubric:: Attributes - ``name``: required, string. Name of the axis that is used in the location elements. - ``tag``: required, string, 4 letters. Some axis tags are registered in the OpenType Specification. - ``default``: required, number. The default value for this axis, in user space coordinates. - ``hidden``: optional, 0 or 1. Records whether this axis needs to be hidden in interfaces. For a continuous axis: - ``minimum``: required, number. The minimum value for this axis, in user space coordinates. - ``maximum``: required, number. The maximum value for this axis, in user space coordinates. For a discrete axis: - ``values``: required, space-separated numbers. The exhaustive list of possible values along this axis. .. versionadded:: 5.0 .. rubric:: Example .. code:: xml .. _labelname: ```` element (axis) ------------------------------ - Defines a human readable name for UI use. - Optional for non-registered axis names. - Can be localised with ``xml:lang`` - Child element of ```` or ``