
Writing was shaped by human eyesight. Scripts, and later page layouts, use the shapes and arrangements that human eyes pick out easily. A PDF is the latest form of that. Software that reads a document has to read the shapes and arrangements, not just the letters.
Writing fits the eye
Eyes are far older than writing. The vertebrate eye took its form about 500 million years ago (Lamb et al. 2007). The earliest writing, Sumerian cuneiform, dates from about 3300–3100 BC (Cuneiform). That is too short a time for evolution to build a part of the brain for reading. So reading uses a part that was already there: the part that recognises objects by their edges and by the places where edges meet. Stanislas Dehaene calls this neuronal recycling (Dehaene & Cohen 2007; Dehaene 2009).
Mark Changizi measured this. Where lines meet in a letter they make a shape like an L, a T or an X. Across about a hundred writing systems, these shapes occur in roughly the proportions they occur in photographs of natural scenes (Changizi et al. 2006). Letters look like pieces of objects because pieces of objects are what the brain is built to see. The shapes were not chosen because they are easy to draw; they were chosen because they are easy to see.
Olivier Morin compared 116 scripts and found horizontal and vertical strokes far more common than chance. These are the directions human eyes see best. He found no sign that scripts gain more of these strokes as they age; recently invented scripts have them too (Morin 2018).
Letters do get simpler with use. The Vai script was invented in Liberia in the 1830s, and over its first 171 years its letters became simpler (Kelly et al. 2021).
The page works the same way
Our observation: a page is made of the same lines at a larger scale. Columns, margins, ruled lines, indents, a heading in bigger type. Each one tells the eye where a group starts and ends, what order to read in, and what matters. Position and shape carry this, not the letters.
Our argument: nobody worked this out from a theory. Scribes and printers kept what readers could follow and dropped what they could not.
Our observation: a PDF fixes the layout. Copy the text out of a PDF and the letters survive, but the grouping, the reading order and the emphasis are gone.
Our argument: this is what PDF does that formats which reflow text do not. It keeps the page in the form human readers need.
What this means for reading by machine
Software that reduces a page to a string of letters throws away the layout that was made for the eye. To read a page the way a person does, software must first measure the lines, the gaps, the alignments and the type sizes, and work out the groups and the reading order from them.
Layout is positions and sizes on a page. These can be measured exactly, and the measurement can be checked. So the first step in reading a PDF should be measurement. Interpretation comes after, and starts from numbers that are known to be right.
References
- Changizi, M. A., Zhang, Q., Ye, H. & Shimojo, S. (2006). The structures of letters and symbols throughout human history are selected to match those found in objects in natural scenes. American Naturalist 167(5), E117–E139.
- Dehaene, S. & Cohen, L. (2007). Cultural recycling of cortical maps. Neuron 56, 384–398.
- Lamb, T. D., Collin, S. P. & Pugh, E. N. (2007). Evolution of the vertebrate eye: opsins, photoreceptors, retina and eye cup. Nature Reviews Neuroscience 8, 960–976.
- Dehaene, S. (2009). Reading in the Brain. Viking.
- Morin, O. (2018). Spontaneous emergence of legibility in writing systems: the case of orientation anisotropy. Cognitive Science 42, 664–677.
- Kelly, P., Winters, J., Miton, H. & Morin, O. (2021). The predictable evolution of letter shapes: an emergent script of West Africa recapitulates historical change in writing systems. Current Anthropology 62(6).
peter@docs2info.com