lnum — Lining Figures
lnum (Lining Figures) replaces figures with lining figures.
Since lining figures match the height of capitals, this feature suits headlines and other lines set together with capitals. Characters designed for use with figures, such as separators, may also be included.
The counterpart in the figure-style axis is onum (Oldstyle Figures). The specification defines lnum as mutually exclusive with onum. The figure-width axis (pnum and tnum) is independent of this, and the two axes are combined in use. zero, which adds a slash through the 0, applies only to the lining form of the zero.
Example
Section titled “Example”Without lnum
2026
With lnum
2026
.fea source
Compiling…
Writing it in a feature file
Section titled “Writing it in a feature file”The rules are written with Lookup Type 1.
Without rules
2026
With rules2026
Compiling…