Skip to content

qt: add setting to adjust quick text render type

Fatih Uzunoğlu requested to merge fuzun/vlc:qt/textrendertype into master

An advanced setting like this makes it possible to use a certain text rasterization method. If the default render type poses a problem, the user can pick another one. Or, if the user prefers native looking text, they can choose the native render type.

The documentation states that:

This enum describes the default render type of text-like elements in Qt Quick (Text, TextInput, etc.).

Select NativeTextRendering if you prefer text to look native on the target platform and do not require advanced features such as transformation of the text. Using such features in combination with the NativeTextRendering render type will lend poor and sometimes pixelated results.

Both QtTextRendering and CurveTextRendering are hardware-accelerated techniques. QtTextRendering is the faster of the two, but uses more memory and will exhibit rendering artifacts at large sizes. CurveTextRendering should be considered as an alternative in cases where QtTextRendering does not give good visual results or where reducing graphics memory consumption is a priority.

Related to #28690.

Merge request reports