Rag Right

A typesetting proof tool

Every line deserves a good break.

Paste your copy, set the measure, and Rag Right marks up widows, holes and wedges the way a proofreader’s red pencil would. Then it resets the breaks so the rag reads clean.

—
Setting type…
Lines
0
Widows
0
Short ends
0
Holes
0
Wedges
0
RAG RIGHT · PROOF 01
K. HALSTEAD · HALSTEADK.COM

Non-photo blue shows the white space each line leaves at the measure.Red pencil marks the breaks that need a pass.

The marks

Four things a good proofreader never lets through.

Widow

One word stranded alone on the last line of a paragraph. It reads as an accident and breaks the shape of the block.

Short end

Two words, but still less than a third of the measure. Legal, not lovely. Worth a second look in display type.

Hole

A line that falls far short of its neighbors. It punches a bite out of the rag and pulls the eye off the text.

Wedge

Three or more lines stepping steadily in or out. The rag turns into a staircase instead of a gentle, irregular edge.

How it works

Set by the browser, reset by the rules.

  1. 01

    Measure every word

    Your copy is set live in the real typeface, then every word and word space is measured exactly as the browser draws it.

  2. 02

    Read the rag

    Each line is checked against the measure and against its neighbors for widows, short ends, holes and wedges.

  3. 03

    Reset the breaks

    A minimum-raggedness pass, a cousin of the Knuth–Plass algorithm behind TeX, weighs every possible break and picks the set with the cleanest edge.