Gallery

71 figures · Open a figure to explore its code.

layout (11)

geometry (10)

plotting (16)

maps (9)

networks (6)

text (5)

math (12)

api (2)

(typography)

Type, ink, and line boxes

Gray rectangles show allocated line boxes and blue rules show measured baselines. The samples compare font weights, mixed font sizes on one baseline, tight line height, preserved whitespace, and centered lines.

The tight-leading sample puts 28px glyphs in a 12px line box. Its ink may overflow that allocation without shrinking the glyphs. The custom parent reads baseline guides from completed fragments to draw the diagnostic rules.

See Text for line-height and whitespace options, and the typography card for ordinary text composition.