C

QUL_FONT_HEAP_PREALLOC

Warning: Using cmake target properties is deprecated since 2.4, consider using MCU.Config.fontHeapPrealloc instead.

Note: Board defaults can be set using QmlProject in the BoardDefaults.qmlprojectconfig files. See Defining default variables for the platform and QmlProject Manual.

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

Description

Controls preallocation of the heap buffer used by font engine. The default value is ON, which means preallocation is enabled.

Example

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

See also Text Rendering and Fonts and QUL_FONT_HEAP_SIZE.

Available under certain Qt licenses.
Find out more.