C

MCU.Config.fontFilesRuntimeAllocationType

Control copying pre-rasterized glyph data to RAM.

Description

The fontFilesRuntimeAllocationType selects the allocation type used at runtime to copy pre-rasterized glyph data. The accepted values are defined in AllocationType.

Default value: 3 (DefaultPreload)

If MCU.Config.fontFilesCachePolicy is "OnStartup", the chosen runtime allocation type defines the memory area to be used while copying the font files. For example, a platform might have SRAM, VRAM, and SDRAM memory areas. The runtime allocation type specifies which one of these to use.

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

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

Usage

MCU.Config {
    fontFilesRuntimeAllocationType: 3
}

Since

This property was introduced in QmlProject API 1.3 .

See also Text Rendering and Fonts, MCU.Config.fontFilesStorageSection, MCU.Config.fontFilesCachePolicy, and QUL_GLYPHS_RESOURCE_RUNTIME_ALLOCATION_TYPE.

Available under certain Qt licenses.
Find out more.