numr — Numerators
numr (Numerators) replaces digits preceding a slash (U+002F) with numerator forms, and replaces the slash itself with the fraction slash (U+2044).
The specification’s Application interface says that, in recommended usage, this feature is applied automatically by the application as part of its implementation for frac (Fractions). Direct user control is not expected.
Example
Section titled “Example”Without numr
12
With numr
12
.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. The preview text has no slash, so this example only shows the digit substitution.
Without rules
12
With rules12
Compiling…