page = doc.newPage(title='Primary', name='primary.html', template='home') box = page['Introduction']

Primary axes

Definitions and recipes

box = page['Main']['Content']

xtra

docs/images/animation-xtra.gif

  • Tag xtra
  • Name: x transparent
  • Type: Primary axis
  • Description: Assigns a “white” per mille value to each instance of the design space, by changing the counters.
  • Recipe: Counter width varies. Axis value scales the width of counters, if they exist. Stems and side-bearings are constant. Outline points within the vertical projection of counters interpolate between the counter edges. Points outside the projection of counters just move relative. Component positions and their outlines behave as decomposed points.
  • Valid numeric range: -1000 to 2000 Scale interpretation: values can be interpreted as per-mille-of-em. Note that with this range, counters are valid to get negative width.
  • Recommended “normal” value: sample value 400
  • Suggested programmatic interactions:
  • Suggested user interactions:
  • Related axis information:

xopq

docs/images/animation-xtra.gif

  • Tag: xopq
  • Name: x opaque
  • Type: Primary axis
  • Description: Assigns a “black” per mille value to each instance of the design space.
  • Recipe: Stem width varies. Counter widths, if they exist, and side-bearings are contant. Outline points within the vertical projection of stems interpolate between the middle of stems. Points outside the projection of stems just move relative. Component positions and their outlines behave as decomposed points.
  • Valid numeric range: -1000 to 2000
  • Scale interpretation: values can be interpreted as per-mille-of-em. The minimum value is also defined so that stems don’t get negative width.
  • Suggested programmatic interactions:
  • Suggested user interactions:
  • Related axis information:

xtrk

  • Tag: xtrk
  • Name: x tracking
  • Type: Primary axis
  • Description: assigns a “white” per mille value to both side-bearings for each instance of the design space.
  • Recipe: Counter widths, if they exist, and stems are contant. The axis value is added to the side-bearings on both sides, so the netto increase in with is double the axis amount.
  • Valid numeric range: -1000 to 2000
  • Scale interpretation: Values can be interpreted as per-mille-of-em. The minimum value is also defined so that stems don’t get negative width.
  • Suggested programmatic interactions:
  • Suggested user interactions: Change distance between glyphs, only affecting the total width. Weight counters and vertical metrics don't change, while that be room for extending serif length and position of connecting strokes. The behavior of this axis is comparable with the tracking in a page-layout program. Here it allows the design to change the glyph shape (e.g. touching script glyphs) if necessary.
  • Related axis information:

ytra

docs/images/animation-xtra.gif

  • Tag: ytra
  • Name: y transparent
  • Type: Primary axis
  • Description: Assigns a “white” per mille value to each instance of the design space, by changing the vertical counters.
  • Recipe: Vertical counter width varies. Axis value scales the width of vertical counters, if they exist. Bars are constant. Outline points within the vertical projection of counters interpolate between the counter edges. Points outside the projection of counters just move relative. Component positions and their outlines behave as decomposed points.
  • Valid numeric range: 0 to 2000
  • Scale interpretation: Values can be interpreted as per-mille-of-em
  • Recommended “‘normal”’ value: Sample value 884
  • Suggested programmatic interactions:
  • Suggested user interactions:
  • Related axis information:

yopq

docs/images/animation-xtra.gif

  • Tag: yopq
  • Name: y opaque
  • Type: Primary axis
  • Description: Assigns a “white” per mille value to each instance of the design space, by changing the vertical counters.
  • Recipe: Bar width varies. Vertical counter heights, if they exist contant. Outline points within the vertical projection of stems interpolate between the middle of stems. Points outside the projection of stems just move relative. Component positions and their outlines behave as decomposed points.
  • Valid numeric range: -1000 to 2000
  • Scale interpretation: Values can be interpreted as per-mille-of-em
  • Recommended “‘normal”’ value: Sample value 116
  • Suggested programmatic interactions:
  • Suggested user interactions:
  • Related axis information:

ytlc

docs/images/animation-xtra.gif

  • Tag: ytlc
  • Name: y transparent lowercase
  • Type: Primary axis
  • Description: assigns a “white” per mille value to each instance of the design space
  • Recipe: Stem width varies. Counter widths, if they exist, and side-bearings are contant. Outline points within the vertical projection of stems interpolate between the middle of stems. Points outside the projection of stems just move relative. Component positions and their outlines behave as decomposed points.
  • Valid numeric range: 0 to 1000
  • Scale interpretation: Values can be interpreted as per-mille-of-em
  • Recommended “normal” value: Sample value, 500
  • Suggested programmatic interactions:
  • Suggested user interactions:
  • Related axis information:

ytuc

docs/images/animation-xtra.gif

  • Tag: ytuc
  • Name: y transparent uppercase
  • Type: Primary axis
  • Description: a “white” per mille value for each uppercase height in the design space
  • Recipe: Stem width varies. Counter widths, if they exist, and side-bearings are contant. Outline points within the vertical projection of stems interpolate between the middle of stems. Points outside the projection of stems just move relative. Component positions and their outlines behave as decomposed points.
  • Valid numeric range: -1000 to 1000 Scale interpretation: values can be interpreted as per-mille-of-em
  • Recommended “normal” value: sample value 725
  • Suggested programmatic interactions:
  • Suggested user interactions:
  • Related axis information:

ytde

docs/images/animation-xtra.gif

  • Tag: ytde
  • Name: y transparent descender
  • Type: Primary axis
  • Description: assigns a “white” per mille value to each instance of the design space
  • Recipe: Stem width varies. Counter widths, if they exist, and side-bearings are contant. Outline points within the vertical projection of stems interpolate between the middle of stems. Points outside the projection of stems just move relative. Component positions and their outlines behave as decomposed points.
  • Valid numeric range: -1000 to 0
  • Scale interpretation: values can be interpreted as per-mille-of-em
  • Recommended “normal” value: sample value -250
  • Suggested programmatic interactions:
  • Suggested user interactions:
  • Related axis information:

ytas

docs/images/animation-xtra.gif

  • Tag: ytas
  • Name: y transparent ascender
  • Type: Primary axis
  • Description: assigns a “white” per mille value to each instance of the design space
  • Recipe: Stem width varies. Counter widths, if they exist, and side-bearings are contant. Outline points within the vertical projection of stems interpolate between the middle of stems. Points outside the projection of stems just move relative. Component positions and their outlines behave as decomposed points.
  • Valid numeric range: 0 to 1000
  • Scale interpretation: values can be interpreted as per-mille-of-em
  • Recommended “normal” value: sample value 750
  • Suggested programmatic interactions:
  • Suggested user interactions:
  • Related axis information: