Telegram-desktop-bin's font size is too small on its own, there are lots of questions on the internet how to increase it. But telegram-desktop (non-bin) is almost unusable. See attached screenshots. This has nothing to do with settings: (1) there's no such setting; (2) I switched from bin to non-bin and back twice, without backing up neither .config nor anything else. Problem remains. Haven't tried previous non-bin version(s). Reproducible: Always
Created attachment 626476 [details] emerge --info
Created attachment 626478 [details] telegram-desktop-fontsize.png
Created attachment 626480 [details] telegram-desktop-bin-fontsize.png
The two use different versions of Qt, that likely explains why they look different. I am not really sure what your issue really is. The fact they the two look different is "normal". It is in the nature of how they are built. If you find one or both unusable you can try playing with the "interface size" setting. Or you could change the settings of your window manager, looking at the window title it seems like such "small" fonts are something your system uses. You could also compare it other Qt applications. I am not really sure what to do about the issue. Maybe you can explain it a little bit more, which WM, which font sizes you have configured / DPI. How those fonts in telegram compare to other applications, other Qt applications.
I agree, both versions are too different. -bin builds with older QT, older everything, also bundles own version of Open Sans font (https://github.com/desktop-app/lib_ui/tree/master/fonts). You should try to ask telegram developers to finally implement font customization options instead. another thing to try: edit ebuild and add that line -DDESKTOP_APP_USE_PACKAGED_FONTS=OFF right after -DDESKTOP_APP_USE_PACKAGED=ON line this should make telegram use bundled fonts. not sure if it will help though. if using bundled fonts does not help it means it's the newer QT/libraries. another option will be tuning fontconfig, it can set font family overrides, but that's out of scope of this bug. try searching fontconfig font.conf
Small font size in window title is from openbox's theme. Everywhere else fonts are no less than on my -bin screenshot. Will try editing ebuild later.
Indeed installing media-fonts/open-sans made the text look correct for me.
(In reply to Shiba from comment #7) > Indeed installing media-fonts/open-sans made the text look correct for me. For me too. Thanks. Maybe this font should be added as dependency?
I don't want the package to depend on open-sans, for example on Plasma/KDE installing it makes no difference at all, so there are too many factors involved. I will add postinst message that mentions open-sans font so if users have problems with fonts they can install the fonts.
ok snap version of telegram switched to system-fonts, so I'm adding a dep on open-sans. old version do not have a dep and will be removed soon-ish.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39628e0e3568024e992ad74f413c4e596a74fe1c commit 39628e0e3568024e992ad74f413c4e596a74fe1c Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-03-31 12:47:20 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-03-31 12:50:54 +0000 net-im/telegram-desktop: bump to 2.0.1 Bug: https://bugs.gentoo.org/715116 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> net-im/telegram-desktop/telegram-desktop-2.0.1.ebuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
(In reply to Georgy Yakovlev from comment #10) > ok snap version of telegram switched to system-fonts, so I'm adding a dep on > open-sans. > old version do not have a dep and will be removed soon-ish. Thank you. I see it in telegram-desktop-2.0.1.
https://github.com/gentoo/gentoo/pull/15210 Also bumping the -bin to 2.0.1. The release notes mention a fonts related fix for Linux, did not look at what actually changed there.
(In reply to Henning Schild from comment #13) > https://github.com/gentoo/gentoo/pull/15210 > > Also bumping the -bin to 2.0.1. The release notes mention a fonts related > fix for Linux, did not look at what actually changed there. I think nothing changed for -bin, still using bundled files. the snapcraft one switched to system fonts. but I'm not 100% sure.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27066e9e536d11339d965c14e7a3cd4046edbd88 commit 27066e9e536d11339d965c14e7a3cd4046edbd88 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-04-20 17:16:05 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-04-20 17:59:14 +0000 net-im/telegram-desktop: revbump 2.0.1, clarify dependencies rework deps a bit add py3.8 split X and wayland Closes: https://bugs.gentoo.org/716844 Closes: https://bugs.gentoo.org/715116 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> .../telegram-desktop-2.0.1-r1.ebuild | 134 +++++++++++++++++++++ 1 file changed, 134 insertions(+)