Summary: | media-fonts/terminus-font unusable in kde-base/konsole-4.9.5 because Qt-4.8.4 renders terminus bitmap-font incorrectly by selecting some non ASCII characters from a different font | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matthias Maier <tamiko> |
Component: | [OLD] KDE | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | kde |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
screenshot depicting the font problem
emerge --info |
Description
Matthias Maier
2013-02-13 23:23:33 UTC
Created attachment 338810 [details]
screenshot depicting the font problem
Created attachment 338812 [details]
emerge --info
Just a guess, but most likely the fonts, you're testing (i.e. terminus) simply don't have the required characters. This would mean it's a matter of font matching and that's and extremely tricky business - gtk+ does it with pango, qt has its own method. The results don't need to match - probably they rarely do. (In reply to comment #3) Sorry for the long delay.. > Just a guess, but most likely the fonts, you're testing (i.e. terminus) > simply don't have the required characters. > This would mean it's a matter of font matching and that's and extremely > tricky business - gtk+ does it with pango, qt has its own method. The > results don't need to match - probably they rarely do. It seems that some native UTF-8 characters are missing, but there are corresponding characters in ISO-8859-x sets provided by terminus. Pango seems to pick up those, qt doesn't do that and chooses a different font. So the question remains, why pango does a considerably better job there. Re-Assigning to Qt, i guess kde cant to anything here. is this related https://bugreports.qt-project.org/browse/QTBUG-22599 ? @Matthias, please check whether setting LANG variable (as in Qt bug provided by pesa) fixes the problem for you (it did for me anyway). Setting LANG=en_GB.UTF-8 or LANG=de_DE.UTF-8, as well as, LC_ALL=en_GB.UTF-8 or LC_ALL=de_DE.UTF-8 does not change character selection for me at all. I tried so by setting up the locale globally (via /etc/env.d && env-update && fresh graphical login) and disabled all user specific locale settings. can you try with Qt 4.8.5 please? (In reply to Davide Pesavento from comment #9) > can you try with Qt 4.8.5 please? @Pesa as the reporter does not respond, feel free to close it. I cant reproduce it. |