Skip to main content

Interface: FontAtlas

Defined in: text/font-atlas/font-atlas.ts:8

A fully loaded font atlas: normalized metrics plus the atlas texture image, ready to be uploaded to the GPU by the rendering module. Produced by FontAtlasCache.

Properties​

data​

readonly data: FontAtlasData

Defined in: text/font-atlas/font-atlas.ts:10

The atlas's normalized metrics and glyph data.


image​

readonly image: HTMLImageElement

Defined in: text/font-atlas/font-atlas.ts:13

The loaded atlas texture image, not yet uploaded to the GPU.