fonts (example config files)

Machine config examples

Here are some example machine-wide config files that show real-world examples of how these configs are used.

#config_version=5

displays:
  window:
    width: 800
    height: 600
  dmd:
    width: 128
    height: 32
    default: yes

slides:
  window:
    - type: display
      width: 640
      height: 160
      effects:
        type: dmd
    - type: text
      text: DMD FONT & POSITIONING TEST
      font_size: 50
      y: 410
    - type: rectangle
      width: 642
      height: 162
      color: gray
  dmd_small:
    - type: text
      style: dmd_small
      text: DMD_SMALL
      anchor_y: top
      y: top
    - type: text
      style: dmd_small
      text: DMD_SMALL
      anchor_y: bottom
      y: bottom
  dmd_med:
    - type: text
      style: dmd_med
      text: DMD_MED
      anchor_y: top
      y: top
    - type: text
      style: dmd_med
      text: DMD_MED
      anchor_y: bottom
      y: bottom
  dmd_big:
    - type: text
      style: dmd_big
      text: DMD_BIG
      anchor_y: top
      y: top
    - type: text
      style: dmd_big
      text: DMD_BIG
      anchor_y: bottom
      y: bottom

slide_player:
  window_slide:
    window:
      target: window
  dmd_small: dmd_small
  dmd_med: dmd_med
  dmd_big: dmd_big