C

MCU.Config.fontHeapSize

Defines a maximum heap size for the font engine.

Description

The maximum amount of RAM (in bytes) that the font engine will use for its heap.

Since Qt Quick Ultralite 1.9, the heap buffer is preallocated by default, if a specific size is requested by MCU.Config.fontHeapSize

The default value is -1, which means that the heap usage is not restricted and therefore no buffer is preallocated in this case.

See MCU.Config.fontHeapPrealloc for instructions on how to disable preallocation.

See Text Rendering and Fonts for font engine-specific details.

Note: This property is relevant only for the Monotype Spark font engine.

Usage

MCU.Config {
    fontHeapSize: 12800
}

Since

This property was introduced in QmlProject API 1.3 .

See also QUL_FONT_HEAP_SIZE.

Available under certain Qt licenses.
Find out more.