Skip to content

performance

Tunes internal cache sizes. The defaults are sensible; adjust only if you have a specific reason.

[performance]
glyph_cache_ascii_size = 512
glyph_cache_non_ascii_size = 256
hl_cache_size = 2048
shape_cache_size = 4096
atlas_size = 2048
Key Description
glyph_cache_ascii_size Cache size for ASCII glyphs (min: 128, default: 512)
glyph_cache_non_ascii_size Cache size for non-ASCII glyphs (min: 64, default: 256)
hl_cache_size Highlight attribute cache size for vertex generation (range: 64–2048, default: 2048)
shape_cache_size Text shaping result cache size (range: 512–65536, default: 4096)
atlas_size Glyph atlas texture size in pixels (range: 1024–4096, default: 2048)