C

FontConfiguration.MCU.fontCacheSize

Set maximum cache size used by font engine.

Description

The fontCacheSize property defines the maximum amount of RAM (in bytes) that a font engine should use for its cache. It takes an int value and is set to 204800 by default. If set to 1 it disables the cache buffer.

Since Qt Quick Ultralite 1.9, the cache buffer is preallocated by default. See FontConfiguration.MCU.fontCachePrealloc for more information about preallocating cache buffer.

Note: The property affects the Spark font engine only.

Usage

FontConfiguration {
    MCU.fontCacheSize: 12800
}

Since

This property was introduced in QmlProject API 1.3 .

See also QUL_FONT_CACHE_SIZE and Text Rendering and Fonts.

Available under certain Qt licenses.
Find out more.