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 = 16384
hl_cache_size = 2048
shape_cache_size = 4096
atlas_size = 2048
Key Description
glyph_cache_ascii_size Cache size for ASCII glyphs (range: 128–512, default: 512)
glyph_cache_non_ascii_size Cache size for non-ASCII glyphs (range: 64–262144, default: 16384)
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)