Warning: Using cmake target properties is deprecated since 2.4, consider using MCU.Config.fontVectorOutlinesDrawing instead.
Note: This property is relevant only for the Monotype Spark font engine.
If this property is enabled, then vector outlines will be used to draw the text instead of alpha maps.
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.
set_target_properties(<Executable Target> PROPERTIES QUL_FONT_ENGINE "Spark" QUL_FONT_FILES <Monotype Spark Font File> QUL_FONT_VECTOR_OUTLINES_DRAWING YES )
Available under certain Qt licenses.
Find out more.