C

MCU.Config.fontCachePrealloc

Controls the font cache buffer preallocation.

Description

Controls preallocation of the cache buffer used by the selected font engine. The default value is true, which means preallocation is enabled.

Usage

This property is accepted in the main application .qmlproject file, or BoardDefaults.qmlprojectconfig for the target platform. It takes a boolean value, and the default value is true.

Note: The property affects the Monotype Spark font engine only.

Code example:

MCU.Config {
    fontCachePrealloc: true
}

Since

This property was introduced in QmlProject API 1.3 .

See also Text Rendering and Fonts and QUL_FONT_CACHE_PREALLOC.

Available under certain Qt licenses.
Find out more.