C

QUL_MONOTYPE_SPARK_CACHE_SIZE

Description

The maximum amount of RAM (in bytes) that the Monotype Spark 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_MONOTYPE_SPARK_CACHE_NO_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_MONOTYPE_SPARK_FONT_FILE <Monotype Spark Font File>
    QUL_MONOTYPE_SPARK_CACHE_SIZE <Size>
)

Available under certain Qt licenses.
Find out more.