C
MCU.Config.fontVectorOutlinesDrawing
Controls whether to use vector outlines for text rendering.
Description
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.
Usage
This property is accepted in the main application .qmlproject
file, or BoardDefaults.qmlprojectconfig
for the target platform. It takes a boolean value, and the default value is false
.
Note: The property affects the Monotype Spark font engine only.
Code example:
MCU.Config { fontVectorOutlinesDrawing: true }
Since
This property was introduced in QmlProject API 1.3 .
See also QUL_FONT_VECTOR_OUTLINES_DRAWING.
Available under certain Qt licenses.
Find out more.