Skip to content
Commit 5263feef authored by Wolthera van Hövell's avatar Wolthera van Hövell Committed by Wolthera van Hövell
Browse files

Improve font style selection, enabling the proper styles to be selected.

Apparantly Qt will synthesize the bold/italic if you don't set it on creation.
This patch also tries to fix the handling of stretch in the same way, however
it seems that all QFonts return 'anystretch' for the stretch, which makes me
suspect there's a qt bug there. In any case, the changes ensure that at the
least a coherent value is set (0 doesn't mean much).

BUG:425312


(cherry picked from commit 556d6a10)
parent 210f8c85
Loading
Loading
Loading
Pipeline #99053 skipped with stage
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment