Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.4.1
-
None
-
Up to date Archlinux
QT 5.4.1
Freetype 2.5.5
Fontconfig 2.11.1
Description
If some fonts are installed / not installed, some characters are not properly scaled according to the font size, but most characters are. I noticed it for "●" (U+25CF), in QWidgets as well as in QML. I'm not sure if it's a QT or a fontconfig/freetype bug, so I'm reporting it here.
This table shows when the bug appears:
Installed fonts | Bug occurs |
---|---|
ttf-oxygen | Yes |
ttf-ubuntu-font-family | Yes |
ttf-oxygen, ttf-ubuntu-font-family | Yes |
ttf-oxygen, ttf-dejavu | No |
ttf-oxygen, ttf-liberation | No |
ttf-ubuntu-font-family , ttf-dejavu | No |
ttf-oxygen, ttf-ubuntu-font-family, ttf-dejavu | No |
If the ttf-oxygen and/or ttf-ubuntu-font-family fonts are the only installed fonts, the bug occurs. If I install the ttf-dejavu or ttf-liberation fonts, the bug disappears, and even oxygen or ubuntu fonts are rendered correctly (so I assume it's no bug of a particular font).
The ● character always rendered with the same size, but the line height computation doesn't consider this, because the KDE lockscreens textinput field is too low, and some self written test applications had too low textfields or labels. The QT Creator increases the line height anyway.
It's no KDE plattform integration plugin bug as the bug does also occur in a plain LXQT desktop without any KDE packages installed.