C

MCU.Config.fontHeapPrealloc

Controls preallocation of the heap buffer used by the font engine.

Description

The fontHeapPrealloc property either enables or disables the preallocation of the heap buffer used by the font engine.

Note: This property is relevant only for the Monotype Spark font engine. See Text Rendering and Fonts for font engine-specific details.

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 {
    fontHeapPrealloc: false
}

Since

This property was introduced in QmlProject API 1.3 .

See also Text Rendering and Fonts and QUL_FONT_HEAP_PREALLOC.

Available under certain Qt licenses.
Find out more.