Dont use QTextDocument in style delegates

The reason behind this is the bad rendering that occurs on windows when you use QTextDocument. Fonts are vertically stretched and / or pixelated.

Some screenshots:

Windows Before

windowscmdbarbefore

Windows After

windowscmdbar

Linux with RTL

image

I can't get bold to work yet, so only color formatting is done.

Merge request reports

Loading