Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.3.0, 5.3.1
-
None
-
Arch Linux, up to date
Environment variable: QT_STYLE_OVERRIDE='gtk'
Description
To get my GTK2 theme and font used in Qt4 apps, I just had to choose GTK+.
Qt5 does use my GTK2 theme, but the font used is DejaVu Sans.
However, I have specified DejaVu Sans Condensed as my font of choice; it appears in GTK+ and Qt4 apps, but not Qt5 apps.
The problem is present in all of my Qt apps.
Screenshot provided with smplayer 14.3.0 compiled against Qt4 then Qt5 to show the difference.
Notes:
Manually removing /usr/share/fonts/TTF/DejaVuSans.ttf forces it to use /usr/share/fonts/TTF/DejaVuSansCondensed.ttf
Also attached: `strace cantata |& grep -i font` which shows DejaVuSans.ttf being loaded in the end.