C

QUL_FONT_FILES_RESOURCE_CACHE_POLICY

Configure copying of the application's font files to RAM for faster access.

Description

Sets the resource cache policy for the application's font files.

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

The following is a list of possible values:

ValueResult
"OnStartup"The data is copied to RAM on startup. Although this enables faster access to data, it might use up your limited RAM.
"NoCaching"The data is not copied to RAM. This may result in reduced performance.

The default value is "NoCaching".

The QUL_FONT_FILES_RESOURCE_RUNTIME_ALLOCATION_TYPE property can be used to further configure which memory area is used for the copying.

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

Example

set_target_properties(<Executable Target> PROPERTIES QUL_FONT_FILES_RESOURCE_CACHE_POLICY "NoCaching")

Since

This property was introduced in Qt Quick Ultralite 2.0.

See also QUL_FONT_FILES_RESOURCE_RUNTIME_ALLOCATION_TYPE, QUL_FONT_FILES_RESOURCE_STORAGE_SECTION, and Text Rendering and Fonts.

Available under certain Qt licenses.
Find out more.