{
  "simple_fonts": [
    {
      "name": "coded",
      "from": "DejaVuSans",
      "fitted_to": "HQF DevelopmentAn invoice, a payslip, a delivery note.One byte a letter, and the file says which.Words a reader can push apart."
    }
  ],
  "items": [
    {
      "type": "flow",
      "rect": { "llx": 72, "lly": 758.4, "urx": 522, "ury": 780 },
      "content": "A page addressed by one-byte codes",
      "font": "DejaVuSans",
      "font_size": 18
    },
    {
      "type": "flow",
      "rect": { "llx": 72, "lly": 684.4, "urx": 522, "ury": 744.4 },
      "content": "Every letter on the three lines below costs one byte of this file's page stream instead of two. A font is reached by glyph index unless it is told otherwise, two bytes a glyph, which puts every glyph the face holds within reach. Reached through an encoding it is addressed by one-byte codes instead: at most 255 of them, each standing for one character, and the file states which character each of them stands for.",
      "font": "DejaVuSans",
      "font_size": 10
    },
    {
      "type": "flow",
      "rect": { "llx": 72, "lly": 648, "urx": 522, "ury": 662.4 },
      "content": "Set through one-byte codes",
      "font": "DejaVuSans",
      "font_size": 12
    },
    {
      "type": "flow",
      "rect": { "llx": 72, "lly": 619.2, "urx": 522, "ury": 636 },
      "content": "HQF Development",
      "font": "coded",
      "font_size": 14
    },
    {
      "type": "flow",
      "rect": { "llx": 72, "lly": 594.4, "urx": 522, "ury": 611.2 },
      "content": "An invoice, a payslip, a delivery note.",
      "font": "coded",
      "font_size": 14
    },
    {
      "type": "flow",
      "rect": { "llx": 72, "lly": 569.6, "urx": 522, "ury": 586.4 },
      "content": "One byte a letter, and the file says which.",
      "font": "coded",
      "font_size": 14
    },
    {
      "type": "flow",
      "rect": { "llx": 72, "lly": 533.2, "urx": 522, "ury": 547.6 },
      "content": "The codes it settled",
      "font": "DejaVuSans",
      "font_size": 12
    },
    {
      "type": "flow",
      "rect": { "llx": 72, "lly": 475.2, "urx": 522, "ury": 523.2 },
      "content": "The encoding is fitted to the words this page draws: the space keeps code 32, and every other character takes the lowest code free from 33 up, so nothing in the stream is a byte a reader has to escape. The first of them are H 33 · Q 34 · F 35 · D 36 · e 37 · v 38 · l 39 · o 40.",
      "font": "DejaVuSans",
      "font_size": 10
    },
    {
      "type": "flow",
      "rect": { "llx": 72, "lly": 440.8, "urx": 522, "ury": 455.2 },
      "content": "What the stream weighs",
      "font": "DejaVuSans",
      "font_size": 12
    },
    {
      "type": "flow",
      "rect": { "llx": 72, "lly": 394.8, "urx": 522, "ury": 430.8 },
      "content": "Drawn by glyph index, the three lines above cost 541 bytes of page stream; drawn through one-byte codes, 347 bytes, which is 194 less. Both figures are measured by the program that drew this page, not written in by hand.",
      "font": "DejaVuSans",
      "font_size": 10
    },
    {
      "type": "flow",
      "rect": { "llx": 72, "lly": 360.4, "urx": 522, "ury": 374.8 },
      "content": "What the single byte 32 buys",
      "font": "DejaVuSans",
      "font_size": 12
    },
    {
      "type": "flow",
      "rect": { "llx": 72, "lly": 334, "urx": 522, "ury": 348.4 },
      "content": "Words a reader can push apart.",
      "font": "coded",
      "font_size": 12
    },
    {
      "type": "flow",
      "rect": { "llx": 72, "lly": 311.6, "urx": 522, "ury": 326 },
      "content": "Words a reader can push apart.",
      "font": "coded",
      "font_size": 12,
      "word_spacing": 6
    },
    {
      "type": "flow",
      "rect": { "llx": 72, "lly": 245.6, "urx": 522, "ury": 293.6 },
      "content": "The two lines above hold the same characters. The second is drawn with word spacing set, which moves the pen at the single byte 32 and at no other code. Under glyph indices no code is a single byte 32, so the operator has nothing to reach and the words never move; the space of this encoding sits at 32, so they do.",
      "font": "DejaVuSans",
      "font_size": 10
    },
    {
      "type": "flow",
      "rect": { "llx": 72, "lly": 182.4, "urx": 522, "ury": 225.6 },
      "content": "One byte addresses 255 characters at a time, so a page of several alphabets is still reached by glyph index. No ligature and no small capital is drawn through an encoding either: those are glyphs no character stands for, and a code stands for a character. A file that claims archival conformance states the Windows encoding as the one its codes are read against, which this one does.",
      "font": "DejaVuSans",
      "font_size": 9
    }
  ]
}
