Advertisement
Data Processing

SmartDataAI Lab Notes: Type Point Sizes — The Longer Point

A Paris print shop's job ticket from the letterpress era reads "12 pt", and a modern layout program's file reads "12.0 pt", and the two sizes are not...

A Paris print shop's job ticket from the letterpress era reads "12 pt", and a modern layout program's file reads "12.0 pt", and the two sizes are not the same size. We built a 300-row register of type sizes on the PostScript point grid — half-point steps from 4.0 to 60.0 — and spelled each row five ways, one of them as a Didot-point shop would write it: the same number style, the same "pt", but counted in the Didot point of 0.3759 mm instead of the PostScript point of 25.4/72 mm. That spelling returned none of its 60 rows. Not one row was lost, either: all 60 came back with a wrong value, each exactly the printed number read as PostScript points, each about 6.2 percent smaller than the size in the register. The spelled text is byte-identical to the honest PostScript spelling. No parser, however careful, can tell the two apart — because on the page, there is nothing to tell apart.

SmartDataAI Lab Notes: Type Point Sizes — The Longer Point

How the register was built and read

The register holds 300 sizes drawn with replacement from the 0.5-point grid between 4.0 and 60.0 PostScript points. Each size is spelled five ways, 60 rows per spelling: PostScript points at one decimal; millimetres at one decimal; the Didot spelling — the count of Didot points equal to the size, at one decimal, in the same "N.N pt" text shape; pixels at 96 dpi, rounded to whole pixels; and the traditional size name, the nearest name on the fifteen-name ladder from Nonpareil (6) to Canon (48). Parsers work in three stages — PostScript points first, then millimetres, then all five — and every parser takes its text at face value, which is the point of the exercise: the register's readers cannot see which point wrote a row. Both the harness and the file of its results are included in the evidence folder.

Counted by stage, recovery runs 60 of 300, then 120, and finally 162 under the full parse.

SpellingStage addedRows recovered of 60Wrong size returned
PostScript points, 1 decimal1600
Millimetres, 1 decimal2600
Didot points, 1 decimal3060
Pixels at 96 dpi, integer33624
Traditional name (nearest ladder)3654

The Longer Point, defined

The Longer Point is a unit name that covers two lengths: "point" names the PostScript point of 0.3528 mm and the Didot point of 0.3759 mm, a ratio of 1.0655, and a size counted in the longer unit and read in the shorter one comes back at 93.85 percent of its true value — wrong by a constant factor, on every row, with the text giving no sign. It is distinct from The False Friend, the earlier concept for a word that means different things in different systems, where the surrounding text usually betrays which system wrote the row — a language, a spelling habit, a neighbouring unit. The two points share a trade, a symbol and a notation; a Didot row and a PostScript row in the same register are the same characters. The other spellings show the ordinary failures for contrast. Millimetres are exact here because a tenth of a millimetre is finer than the half-point grid. Whole pixels at 96 dpi return 36 of 60: a pixel is three-quarters of a point, so sizes whose pixel count rounds kindly survive and the rest land a half-point off. The traditional names return 6 of 60 — not because the names are vague (Brevier is exactly 8) but because the register's grid is finer than the ladder: only rows already sitting on a named size can come back, and the nearest-name rule drags every other row to a rung it never occupied.

The worked example, two sizes

The register's first size is 8.0 points. Its PostScript spelling, "8.0 pt", returns 8.0. Its millimetre spelling, "2.8 mm", returns 8.0. Its name, Brevier, returns 8.0 — one of the six name rows in its block that can. Its pixel spelling, "11 px", returns 8.5, a half-point high. And its Didot spelling, "7.5 pt", returns 7.5: the Didot count of an 8-point size is smaller because each Didot point is longer, and the parser reads the count as PostScript. The showcase size is 59.0 points, near the top of the register. PostScript and millimetre spellings ("59.0 pt", "20.8 mm") return it exactly. The Didot spelling, "55.4 pt", returns 55.4 — 3.6 points small, a different text block on any page. The pixel spelling, "79 px", returns 59.5. And the name spelling reaches for the nearest rung and falls eleven points: the largest traditional name is Canon at 48, so a 59-point row spelled by name returns as 48. Read together, the two rows show the register's whole taxonomy of error: rounding errors that cost half a point, ladder errors that cost eleven, and the unit error that costs a fixed 6.2 percent and leaves the text looking perfect.

Migrating a register from Didot-spelled rows to PostScript

A migration that mixes the two points must begin with an inventory, not a conversion. Pre-migration inventory: count the rows whose provenance is a Didot-using source (continental European foundries and printers before the desktop era, and any file that passed through their hands); rows without provenance are suspect by default, because the text cannot clear them. Switch steps, in order: freeze the register; tag every row with its unit of record — PostScript, Didot or unknown; convert the Didot-tagged rows by multiplying by 1.0655 and rounding to the register's half-point grid; hold the unknown rows out of the converted register entirely, in a quarantine table, rather than guessing their unit. Parallel-run arrangement: for one full cycle, every new row is stored twice, once as spelled and once converted, and the two stores are diffed weekly; any row whose two forms disagree by the Didot ratio is a provenance error caught in the act. Rollback plan: the pre-migration snapshot is kept untouched, the conversion is a derived table and never an edit in place, and a rollback is a re-pointing of readers to the snapshot — possible precisely because the original spellings, ambiguous as they are, were preserved. The consequence of skipping the inventory is the measured one: a silent 6.2 percent shrink applied to a subset of rows that no later audit can identify from the data itself.

The checklist for any point-sized register

A point register is migrated, not merely converted, when each of these holds: every row carries a unit of record (PostScript point, Didot point or unknown); Didot rows were converted by the 1.0655 ratio and rounded to the grid, never re-typed from their printed numbers; unknown-provenance rows sit in quarantine, not in the main table under an assumed unit; the pre-migration snapshot survives unedited; and a sample of converted rows has been re-measured against a physical or millimetre source — the one spelling in this register that never lied.

FAQ

Why does the Didot spelling return a wrong value on every row instead of failing? Because its text is a valid PostScript spelling. "7.5 pt" parses cleanly; it simply names a smaller size than the row holds. The failure is total (0 of 60) and silent (60 wrong values, no rejections), which is what makes the shared unit name dangerous.

How large is the error, exactly? The Didot point is 0.3759 mm against the PostScript point's 0.3528 mm, a ratio of 1.0655. A Didot count read as PostScript returns 93.85 percent of the true size — an 8-point row returns 7.5, a 59-point row returns 55.4.

Why do pixels return only 36 of 60? At 96 dpi a pixel is 0.75 points, and whole-pixel rounding moves a size by up to half a pixel — 0.375 points — against a half-point grid. Sizes whose pixel count rounds back onto the grid survive; the other 24 rows land a half-point away.

Why do the traditional names do so badly when they are exact terms? The names are exact but sparse: fifteen rungs between 6 and 48 points, against a register grid of half-point steps from 4 to 60. Only 42 of the 300 drawn rows sit on a rung at all, and in the name block just 6 of 60 rows did; every other row is dragged to its nearest rung.

Sources: own measurement. Files: the harness at evidence/sd-harness-batch33.py, the results at evidence/sd-results-batch33.json, and design notes at evidence/sd-run-notes-batch33.md. Figure: original chart, recovery by spelling in the point-size register.

Know someone who needs this? Share it.

Advertisement