{
  "fonts": [
    {
      "name": "HqfColor",
      "part": "HqfColor.ttf"
    }
  ],
  "color_fonts": [
    {
      "name": "signs",
      "from": "HqfColor",
      "characters": "★◉▲⚑"
    },
    {
      "name": "dark_star",
      "from": "HqfColor",
      "characters": "★",
      "palette": 1
    }
  ],
  "type3_fonts": [
    {
      "name": "marks",
      "matrix": [0.001, 0, 0, 0.001, 0, 0],
      "box": {"llx": 0, "lly": -200, "urx": 1000, "ury": 800},
      "glyphs": [
        {
          "character": "✓",
          "width": 1000,
          "items": [
            {
              "type": "path",
              "segments": [
                {"move_to": {"x": 140, "y": 480}},
                {"line_to": {"x": 390, "y": 230}},
                {"line_to": {"x": 870, "y": 740}}
              ],
              "stroke": {"width": 150, "color": [0.15, 0.55, 0.25]}
            }
          ]
        },
        {
          "character": "✗",
          "width": 1000,
          "items": [
            {
              "type": "path",
              "segments": [
                {"move_to": {"x": 200, "y": 230}},
                {"line_to": {"x": 810, "y": 740}},
                {"move_to": {"x": 810, "y": 230}},
                {"line_to": {"x": 200, "y": 740}}
              ],
              "stroke": {"width": 150, "color": [0.75, 0.15, 0.15]}
            }
          ]
        },
        {
          "character": "–",
          "width": 1000,
          "items": [
            {
              "type": "rect",
              "rect": {"llx": 160, "lly": 400, "urx": 840, "ury": 550},
              "fill": [0.55, 0.55, 0.55]
            }
          ]
        }
      ]
    },
    {
      "name": "shapes",
      "matrix": [0.001, 0, 0, 0.001, 0, 0],
      "box": {"llx": 0, "lly": -200, "urx": 1000, "ury": 800},
      "glyphs": [
        {
          "character": "■",
          "width": 1000,
          "box": {"llx": 200, "lly": 150, "urx": 800, "ury": 750},
          "items": [
            {
              "type": "rect",
              "rect": {"llx": 200, "lly": 150, "urx": 800, "ury": 750},
              "fill": [0]
            }
          ]
        }
      ]
    }
  ],
  "items": [
    {
      "type": "text",
      "rect": {"llx": 72, "lly": 700, "urx": 522, "ury": 760},
      "content": ["Letters you draw yourself"],
      "font": "DejaVuSans",
      "font_size": 18
    },
    {
      "type": "text",
      "rect": {"llx": 72, "lly": 640, "urx": 522, "ury": 724.4},
      "content": [
        "The three marks below are not in any font file. Each one is a drawing this program made, added to the document as a font, and set in a line of text like any other letter. Copy the line out of this file and the marks come back as the characters they stand for."
      ],
      "font": "DejaVuSans",
      "font_size": 10
    },
    {
      "type": "text",
      "rect": {"llx": 72, "lly": 620, "urx": 522, "ury": 662.4},
      "content": ["Marks that paint themselves"],
      "font": "DejaVuSans",
      "font_size": 12
    },
    {
      "type": "text",
      "rect": {"llx": 72, "lly": 600, "urx": 522, "ury": 638},
      "font": "DejaVuSans",
      "font_size": 11,
      "content": [
        {"text": "✓", "font": "marks"},
        {"text": " Invoice sent"},
        {"text": "    "},
        {"text": "✗", "font": "marks"},
        {"text": " Payment received"},
        {"text": "    "},
        {"text": "–", "font": "marks"},
        {"text": " Delivery note"}
      ]
    },
    {
      "type": "text",
      "rect": {"llx": 72, "lly": 560, "urx": 522, "ury": 598.8},
      "content": ["Marks that take the colour around them"],
      "font": "DejaVuSans",
      "font_size": 12
    },
    {
      "type": "text",
      "rect": {"llx": 72, "lly": 540, "urx": 522, "ury": 574.4},
      "font": "DejaVuSans",
      "font_size": 11,
      "content": [
        {"text": "■", "font": "shapes", "color": [0.75, 0.15, 0.15]},
        {"text": " Overdue", "color": [0.75, 0.15, 0.15]}
      ]
    },
    {
      "type": "text",
      "rect": {"llx": 72, "lly": 520, "urx": 522, "ury": 557.2},
      "font": "DejaVuSans",
      "font_size": 11,
      "content": [
        {"text": "■", "font": "shapes", "color": [0.15, 0.35, 0.75]},
        {"text": " Settled", "color": [0.15, 0.35, 0.75]}
      ]
    },
    {
      "type": "text",
      "rect": {"llx": 72, "lly": 460, "urx": 522, "ury": 518},
      "content": [
        "A mark of the first kind carries its own colour. A mark of the second kind states a shape and nothing else, so the colour of the words it sits among is the colour it comes out in."
      ],
      "font": "DejaVuSans",
      "font_size": 10
    },
    {
      "type": "text",
      "rect": {
        "llx": 72,
        "lly": 452.4,
        "urx": 522,
        "ury": 480
      },
      "content": [
        "The painted font: glyphs, 3; box, [0 -200 1000 1000]; matrix, [0.001 0 0 0.001 0 0]; ✓ is its glyph 1, 1000 wide."
      ],
      "font": "DejaVuSans",
      "font_size": 9
    },
    {
      "type": "text",
      "rect": {
        "llx": 72,
        "lly": 424.8,
        "urx": 522,
        "ury": 452.4
      },
      "content": [
        "The shaped font: glyphs, 1; box, [0 -200 1000 1000]; matrix, [0.001 0 0 0.001 0 0]; ■ is its glyph 0, 1000 wide."
      ],
      "font": "DejaVuSans",
      "font_size": 9
    },
    {
      "type": "text",
      "rect": {
        "llx": 72,
        "lly": 384.8,
        "urx": 522,
        "ury": 404.8
      },
      "content": [
        "Signs a font file paints in colour"
      ],
      "font": "DejaVuSans",
      "font_size": 12
    },
    {
      "type": "text",
      "rect": {
        "llx": 72,
        "lly": 360.4,
        "urx": 522,
        "ury": 380.4
      },
      "font": "DejaVuSans",
      "font_size": 11,
      "content": [
        {
          "text": "Each step is marked: "
        },
        {
          "text": "★",
          "font": "signs"
        },
        {
          "text": " approved,"
        },
        {
          "text": " "
        },
        {
          "text": "◉",
          "font": "signs"
        },
        {
          "text": " under review,"
        },
        {
          "text": " "
        },
        {
          "text": "▲",
          "font": "signs"
        },
        {
          "text": " awaiting signature."
        }
      ]
    },
    {
      "type": "text",
      "rect": {
        "llx": 72,
        "lly": 339.2,
        "urx": 522,
        "ury": 359.2
      },
      "font": "DejaVuSans",
      "font_size": 11,
      "content": [
        {
          "text": "★",
          "font": "signs"
        },
        {
          "text": " The star from the font’s first palette;"
        },
        {
          "text": " "
        },
        {
          "text": "★",
          "font": "dark_star"
        },
        {
          "text": " the same star from its second."
        }
      ]
    },
    {
      "type": "text",
      "rect": {
        "llx": 72,
        "lly": 318,
        "urx": 522,
        "ury": 338
      },
      "font": "DejaVuSans",
      "font_size": 11,
      "content": [
        {
          "text": "⚑",
          "font": "signs",
          "color": [
            0.75,
            0.15,
            0.15
          ]
        },
        {
          "text": " Overdue",
          "color": [
            0.75,
            0.15,
            0.15
          ]
        },
        {
          "text": "    "
        },
        {
          "text": "⚑",
          "font": "signs",
          "color": [
            0.15,
            0.35,
            0.75
          ]
        },
        {
          "text": " Settled",
          "color": [
            0.15,
            0.35,
            0.75
          ]
        }
      ]
    },
    {
      "type": "text",
      "rect": {
        "llx": 72,
        "lly": 270.8,
        "urx": 522,
        "ury": 310.8
      },
      "content": [
        "This program draws none of these signs: the font file paints each one in layers of colour, and the document sets them like any other letter. The flag’s pole takes the colour of the text around it; its cloth keeps its own."
      ],
      "font": "DejaVuSans",
      "font_size": 10
    }
  ]
}
