C

QUL_FONT_CACHE_SIZE

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

Description

The maximum amount of RAM (in bytes) that selected font engine will use for its cache. The default value is 200 kb. To disable the cache, set the value to 1.

Since Qt Quick Ultralite 1.9, the cache buffer is preallocated by default. See QUL_FONT_CACHE_PREALLOC for instructions on how to disable preallocation.

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

Example

set_target_properties(<Executable Target> PROPERTIES
    QUL_FONT_ENGINE "Spark"
    QUL_FONT_FILES <Monotype Spark Font File>
    QUL_FONT_CACHE_SIZE <Size>
)

Available under certain Qt licenses.
Find out more.