C

MCU.Config.glyphsRuntimeAllocationType

Configure the runtime allocation type used when copying pre-rasterized glyph data to RAM.

Description

If MCU.Config.glyphsRuntimeAllocationType is set to "OnStartup", then the runtime allocation type specifies which memory area is used when copying the glyph data.

For example, a platform might have SRAM, VRAM and SDRAM memory areas. The runtime allocation type specifies which one to use. The values correspond to the Qul::PlatformInterface::MemoryAllocator::AllocationType enum, but will typically be using the enum values Custom, Custom + 1, and so on in a platform-specific way.

If not set, the default value is 3 (DefaultPreload).

The accepted values are defined in AllocationType.

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

Note: The property affects both the Spark and Static font engines.

Usage

MCU.Config {
    glyphsRuntimeAllocationType: 2
}

Since

This property was introduced in QmlProject API 1.3 .

See also Text Rendering and Fonts, MCU.Config.glyphsStorageSection, MCU.Config.glyphsCachePolicy, and QUL_GLYPHS_RESOURCE_RUNTIME_ALLOCATION_TYPE.

Available under certain Qt licenses.
Find out more.