Breaking a paragraph up, and aligning it
A paragraph broken into lines, set four ways: left, right, centred, justified.
A shop marking its shelf down does it with a pen: a stroke across the old price, the new one written beside it, and a line over the sum at the foot so nobody reads it as one more item. On a page a program writes, those strokes have to be put there — and putting them there by hand means choosing a height for each one. Choose badly and the stroke lands across the middle of the figures on one machine and under them on the next, because the lettering changed and the number you wrote did not.
The card below asks for the mark by name instead. A line under the words, a line through the letters, a line over the top: for each of the three, the lettering itself says how far from the words its own line belongs and how thick it is, and the three follow whatever size the text is set in. The title and the red words laid across the foot carry one more trick — each is set a second time behind itself, shifted a little and in a paler grey, which is what keeps big lettering readable over a photograph. The pale copy under the slanted words leans with them, so it falls on the sheet the same way as the one under the title.
Whole programs, hundreds of lines long, for whoever writes your software. The third is not a program at all: it is a plain list of what the page has to say, which the service is sent.
Read the Rust source Read the Python source Read the JSON source
This document weighs 42.4 kB.
See what every document weighs.
The speed and weight figures on this site are measured with a licence key. See what a trial copy draws.
Exactly 42 443 bytes.
A kilobyte on this site is a thousand bytes.
A paragraph broken into lines, set four ways: left, right, centred, justified.
A word too wide for its column: left whole, or cut to the edge.
A justified column set twice: the long words breaking at their soft hyphens with a hyphen shown, or left whole, and a figure a no-break space keeps together.
A justified column set twice: file paths and compounds running past the edge with no break points, then wrapping where a break after a slash or a hyphen is allowed.
A title, a rule, two paragraphs, a heading, a table of twenty-six rows and a footnote, handed over in reading order and broken across two pages by the engine.
One line of statuses set twice: in a company font alone, where the marks it has no glyph for come out as empty boxes, then with a second font behind it that draws them.