Skip to content

textmode.js / fonts / TextmodeGlyphAtlas

Interface: TextmodeGlyphAtlas

Backend-neutral glyph atlas contract used by the shared rendering pipeline.

Properties

PropertyModifierTypeDescription
cellDimensionsreadonlyGlyphDimensionsCombined glyph cell dimensions in pixels.
cellHeightreadonlynumberHeight of each glyph cell in pixels.
cellWidthreadonlynumberWidth of each glyph cell in pixels.
characterMapreadonlyMap<string, TextmodeGlyph>Lookup table from character string to glyph entry.
charactersreadonlyreadonly TextmodeGlyph[]Ordered glyph entries available in this atlas.
columnsreadonlynumberNumber of glyph columns in the atlas texture.
framebufferreadonlyTextmodeFramebufferFramebuffer containing the atlas texture data.
rowsreadonlynumberNumber of glyph rows in the atlas texture.