On this page

C

MCU.Config.fontFilesStorageSection

Configures the resource storage section for the font files.

Description

The fontFilesStorageSection property, names a resource storage section for the font files. It is set to "QulFontResourceData" by default. Any string is accepted.

The MCU.Config.fontFilesCachePolicy and MCU.Config.fontFilesRuntimeAllocationType can be set for copying the font files to RAM for faster access.

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

Note: If the application depends on a Monotype Spark font map file, use this property to assign a dedicated storage section for such a file. This allows deploying the font map as a separate binary resource, enabling updates to the font map file separately.

Usage

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

Code example:

MCU.Config {
    fontFilesStorageSection: "UserStorage1"
}

Since

This property was introduced in QmlProject API 1.3.

See also MCU.Config.fontFilesRuntimeAllocationType, MCU.Config.fontFilesCachePolicy, and Text Rendering and Fonts.

Available under certain Qt licenses.
Find out more.