4

I have the feeling that $\mathbb{Z}_{31}$, once compiled, look strange. It seems that the digit 1 is just slightly above the digit 3, or the other way around: the curly lower part of the digit 3 is slightly below the bottom of the digit 1. Is this the expected look from a typographical point of view?

I certainly dislike how it looks, but the picture below is a screenshot from a pdf, so it might be due to a rendering error.

enter image description here

However, the following small example shows the same output:

\documentclass{article}
\usepackage{amssymb}

\begin{document}
A $\mathbb{Z}_{01}$ b $\mathbb{Z}_{11}$ c $\mathbb{Z}_{21}$ d $\mathbb{Z}_{31}$

E $\mathbb{Z}_{41}$ f $\mathbb{Z}_{51}$ g $\mathbb{Z}_{61}$ h $\mathbb{Z}_{71}$

I $\mathbb{Z}_{81}$ j $\mathbb{Z}_{91}$ k $\mathbb{Z}_{101}$ l $\mathbb{Z}_{131}$
\end{document}

enter image description here

Staring this picture above for a while reveals that even the bottom part of the subscript 41 looks misaligned, that is, the digit 1 is slightly higher than the digit 4. Are these subscripts of different hight? Is there something wrong here, or is this just an optical illusion?

Note: this might have nothing to do with the \mathbb{} command.

Edit: this is a 6400x zoom with Adobe pdf: the rounded bottom of the digit 3 is clearly below than the bottom of the digit 1.

enter image description here

3
  • 3
    I see nothing strange regarding the vertical placement of 1 and 4. The digit 3 (like 6 and 8) has an “overshoot”, which is what typographers have been using for centuries. In the small picture, artifacts due to rasterization can be visible.
    – egreg
    Commented Apr 24, 2016 at 12:19
  • Wikipedia claims that "overshoot" is used to "compensate for inaccuracies in human visual perception". I feel like then that the amount of overshoot used in the digits 3, 6, and 8, is too much. But I guess this is subjective.
    – Matsmath
    Commented Apr 24, 2016 at 12:36
  • I see nothing wrong with the 1 and 4 either, but there may be an alternative explanation when rendering this on a computer display. The PostScript version of the font may contain some "rendering hints" (not in the original MetaFont source code) to force the thin horizontal line of the 4 to align vertically with the pixels of the display. Changes in the "blackness" of thin lines in different copies of the same character, caused by "random" aliasing artefacts, can be much more visually disturbing than minor irregularities in the character spacing.
    – alephzero
    Commented Apr 24, 2016 at 15:54

1 Answer 1

7

There is nothing wrong. When a glyph forms a curve at the top or bottom, it usually overshoots it; similarly, some overshoot is allowed at diagonal junctions. Without this overshoot, combinations such as

AT IS

would appear not aligned, due to how the eye perceives shapes. This has been used for centuries. Here's the relevant part from cmr10.mf:

o#:=8/36pt#;      % amount of overshoot for curves
apex_o#:=8/36pt#;    % amount of overshoot for diagonal junctions

This says the maximum overshoot is 0.22222pt; here's a visual proof, where A and S are rescaled not to have the overshoot.

\documentclass{article}
\usepackage{graphicx}

\newcommand{\addkern}[2]{%
  \sbox0{#1#2}\sbox2{#1{}#2}%
  \kern\dimexpr\wd0-\wd2\relax
}
\newcommand{\sA}{\resizebox{\width}{\dimexpr\height-.22222pt}{A}}
\newcommand{\sS}{\raisebox{0.22222pt}{\resizebox{\width}{\dimexpr\height-.44444pt}{S}}}

\begin{document}

MANHATTAN ISLAND

M\sA NH\sA\addkern{A}{T}TT\addkern{T}{A}\sA N I\sS L\sA ND

\fboxsep=0pt\fboxrule=0.1pt

\fbox{MANHATTAN ISLAND}

\fbox{M\sA NH\sA\addkern{A}{T}TT\addkern{T}{A}\sA N I\sS L\sA ND}

\end{document}

First a “low resolution” picture:

enter image description here

where, unfortunately, snapping to the raster gives a false impression for the S. But the A clearly appears too low in the second line.

Here's a high resolution picture

enter image description here

Maybe the effect is not striking for the A, but it certainly is for S. The amount of overshooting is a font designer's decision. Some fonts have large overshoots, others prefer the contrary.

In any case, you shouldn't be staring at a high resolution picture from a short distance: make a printout and hang it to the wall, which emulates reading a 10pt font.

1
  • I appreciate your detailed post. I am quite surprised that I have never realized the overshooting phenomenon before.
    – Matsmath
    Commented Apr 24, 2016 at 13:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .