Glossary

Advances

Unique to the space provider. A mapping of {character: width}.

Ascent

The height at which any pixels below it are part of the descender. By default, this is height - scale.

Bearings

Pairs of horizontal and vertical measurements from metrics. Width bearings are (left, right), height bearings are (bottom, top).

Canvas
Cell

Entire area for a glyph to be in. For instance, in bitmap glyphs, this is the size of the whole image.

Filter

See Filters.

Glyph

See Glyphs.

Glyph sizes

Unique to the legacy unicode provider. A binary format that defines how wide a character is. The high nibble is the left metric, and the lower nibble is the right metric. The byte's order is the codepoint it's assigned to.

Metric

A specific field of metrics.

Metrics

Series of 4 integers describing the bearings and boundaries of a glyph. In order, they are left, right, bottom, top. See Metrics.

Notdef

The special glyph that is used as a fallback for when a glyph for a codepoint does not exist.

Pack root

Path to the root of a resource pack. The root contains the assets/ folder.

Provider

An object storing a mapping of character to glyph. See Providers.

Resource location

String describing a path within a Minecraft resource pack. Optionally contains a namespace.