C

QUL_MONOTYPE_SPARK_VECTOR_OUTLINES

Description

The Monotype Spark font engine supports drawing text as alpha maps or as vector outlines. If this property is enabled, then vector outlines will be used to draw the text.

Note: This feature is currently considered experimental, and might change in a future release.

By default this property is disabled, and text is drawn using alpha maps.

Using vector outlines only works if the platform has support for path blending. Depending on the platform, using vector outlines could reduce CPU or memory usage.

On some platforms, text drawn using vector outlines might have some small visual differences from text drawn using alpha maps. Note that static text items will still use alpha maps and not vector outlines, as they get rasterized at compile time.

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_VECTOR_OUTLINES YES
)

Available under certain Qt licenses.
Find out more.