{
  "items": [
    {
      "type": "text",
      "rect": {
        "llx": 56.0,
        "lly": 784.0,
        "urx": 539.276,
        "ury": 800.8
      },
      "content": [
        "Rich text: styles, sizes, underlining, colour"
      ],
      "font": "DejaVuSans",
      "font_size": 14.0
    },
    {
      "type": "text",
      "rect": {
        "llx": 56.0,
        "lly": 720.4,
        "urx": 476.0,
        "ury": 760.0
      },
      "content": [
        "The amount due is ",
        {
          "text": "1 240.00 EUR",
          "underline": true
        },
        ", payable within thirty days. The balance carries interest at the statutory rate from the day it falls due, and no reminder has to be sent for it to do so."
      ],
      "font": "DejaVuSans",
      "font_size": 11.0,
      "align": "justify"
    },
    {
      "type": "text",
      "rect": {
        "llx": 56.0,
        "lly": 660.8,
        "urx": 476.0,
        "ury": 694.4
      },
      "content": [
        "A line is as tall as ",
        {
          "text": "the largest",
          "font_size": 17.0
        },
        " of the styles standing on it, and no taller."
      ],
      "font": "DejaVuSans",
      "font_size": 11.0
    },
    {
      "type": "text",
      "rect": {
        "llx": 56.0,
        "lly": 621.6,
        "urx": 476.0,
        "ury": 634.8
      },
      "content": [
        "A run can carry its own ",
        {
          "text": "colour",
          "color": [0.0, 0.35, 0.7]
        },
        ", set apart from the black around it."
      ],
      "font": "DejaVuSans",
      "font_size": 11.0
    },
    {
      "type": "text",
      "rect": {
        "llx": 56.0,
        "lly": 569.2,
        "urx": 476.0,
        "ury": 595.6
      },
      "content": [
        "A word may change style in the middle: under",
        {
          "text": "lined",
          "underline": true
        },
        " is still one word, and is never broken at the join."
      ],
      "font": "DejaVuSans",
      "font_size": 11.0
    },
    {
      "type": "text",
      "rect": {
        "llx": 56.0,
        "lly": 533.6,
        "urx": 476.0,
        "ury": 543.2
      },
      "content": [
        "The small print sits in small type, ",
        "flush right",
        ", below the body of the text."
      ],
      "font": "DejaVuSans",
      "font_size": 8.0,
      "align": "right"
    },
    {
      "type": "text",
      "rect": {
        "llx": 56.0,
        "lly": 466.8,
        "urx": 476.0,
        "ury": 507.6
      },
      "content": [
        "A heading set ",
        {
          "text": "hollow",
          "outline": {
            "width": 0.6,
            "color": [
              0.0,
              0.0,
              0.0
            ]
          }
        },
        ", or ",
        {
          "text": "thickened",
          "color": [
            0.0,
            0.35,
            0.7
          ],
          "outline": {
            "width": 0.8,
            "color": [
              0.0,
              0.2,
              0.45
            ],
            "filled": true
          }
        },
        " without a bolder font"
      ],
      "font": "DejaVuSans",
      "font_size": 17.0
    },
    {
      "type": "text",
      "rect": {
        "llx": 56.0,
        "lly": 427.4,
        "urx": 476.0,
        "ury": 453.8
      },
      "content": [
        "A rule can sit where it is told: ",
        {
          "text": "a heavy underline",
          "underline": {
            "position": -4.0,
            "thickness": 1.5
          }
        },
        " clear of the descenders, or ",
        {
          "text": "a hairline",
          "strikethrough": {
            "position": 3.0,
            "thickness": 0.4
          }
        },
        " through the letters."
      ],
      "font": "DejaVuSans",
      "font_size": 11.0
    },
    {
      "type": "text",
      "rect": {
        "llx": 56.0,
        "lly": 401.2,
        "urx": 476.0,
        "ury": 414.4
      },
      "content": [
        "A reference broken after its slashes, and cut where nothing else will do:"
      ],
      "font": "DejaVuSans",
      "font_size": 11.0
    },
    {
      "type": "text",
      "rect": {
        "llx": 56.0,
        "lly": 335.4,
        "urx": 206.0,
        "ury": 388.2
      },
      "content": [
        "hqf-pdf.com/examples/rich-text/overlong/ABCDEFGHJKLMNPQRSTUVWXYZ0123456789"
      ],
      "font": "DejaVuSans",
      "font_size": 11.0,
      "overlong": "break",
      "cut_mark": "-",
      "break_after": "/"
    },
    {
      "type": "rect",
      "rect": {
        "llx": 56.0,
        "lly": 249.4,
        "urx": 476.0,
        "ury": 309.4
      },
      "stroke": {
        "width": 0.5,
        "color": [
          0.7,
          0.7,
          0.7
        ]
      }
    },
    {
      "type": "text",
      "rect": {
        "llx": 76.0,
        "lly": 266.2,
        "urx": 456.0,
        "ury": 292.6
      },
      "content": [
        "This paragraph is centred, across and down, in the box drawn around it."
      ],
      "font": "DejaVuSans",
      "font_size": 11.0,
      "align": "center"
    },
    {
      "type": "text",
      "rect": {
        "llx": 56.0,
        "lly": 225.8,
        "urx": 476.0,
        "ury": 235.4
      },
      "content": [
        "2 lines, 26 pt tall together, the widest 341 pt wide."
      ],
      "font": "DejaVuSans",
      "font_size": 8.0
    }
  ]
}
