-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow user to choose font and font size #90
Comments
Please add this... current font looks awful and is mostly unusable when Font Smoothing is off. |
👍 without monospaced fonts it's really impossible to use for programming-related discussions |
Yes, please. The font looks horrible here (Ubuntu 14.10). |
what about a textual prefix like ` or a mode triggered by a button to temporarily switch to a monospaced font for sending code (related) stuff? |
👍 Please oh please. |
Oh please oh please. |
Yes please. |
Much needed. Very important. |
The tilde ~ looks like a dash... one of many small gripes about the default font so 👍 |
@mark-love It is not anymore in the latest dev release :) Will be in the stable in a week or two. |
The defulat font of "Telegram Desktop" is not nice and is also small in Persian language texts. |
This feature is really important - since default font in hidpi setting is way too narrow since it's bitmap font. |
@telegramdesktop I'd like to say something cool. |
Ok, first attempt on font customization is out with 4.16.9 beta version. |
Great. It werks! No more exe patching required, sweet! |
This font doesn’t render well https://jacobxperez.github.io/atkinson-hyperlegible-pro/ (Windows) |
@Geobert perhaps you need to enable font smoothing in system settings? |
It is already enabled :) |
@Geobert are you sure? there are multiple settings regarding it... i believe you need to enable cleartype |
the thing here is that it's Qt who is responsible for font rendering (tdesktop just sends text via QPainter) so it's not possible to do any other than tinkering with system settings. |
@Geobert perhaps you got a Qt bug? |
I’m on Windows, so I use the Qt shipped with Telegram I believe |
Yeah... Although I'm not sure what you wanted to say by that. |
Is this planned for monospace as well? |
Is it known whether the monospace fonts will eventually be either user-selectable, or match the system's existing monospace selection? Does this issue cover that, or would a separate issue be appropriate? |
Monospace font is whatever Qt thinks the system monospace font since a long time. Except of Windows, where Qt thinks system monospace font is Courier New so Cascadia Mono is requested explicitly. |
Oh! Any extra steps required to get that working with the flatpak package, in KDE Plasma? |
Oh, afaik KDE/Qt flatpak fonts thing is in the state of lack of interest from KDE/Qt side. GNOME/gtk use their own sandbox friendly way of getting the settings while KDE/Qt uses fontconfig configs which are backward incompatible (a config made for a later fontconfig library version would break previous fontconfig library version) and so aren't sandbox-friendly. |
Alright, well for anyone else wondering I tried the following without success: $ cd ~/.var/app/org.telegram.desktop/config
$ ln -s ~/.config/fontconfig/fonts.conf Then tried the following, also without success: $ rm ~/.var/app/org.telegram.desktop/config/fonts.conf
$ flatpak --user override --filesystem=$HOME/.config/fontconfig/:ro
$ flatpak --user override --filesystem=$HOME/.local/share/fonts/:ro |
Oh, looks like I gave wrong information to you. What is lacking in KDE/Qt case is font hinting and antialiasing settings (which gtk has), monospace font face is supported (stored in KDE configs). It's gtk who doesn't have monospace setting at all (exists only at gnome-terminal level which reads gnome-shell setting) and the Qt patchset changes Qt so it always gets settings from gtk (which leads Qt to read monospace font from fontconfig) as otherwise people report bugs that tdesktop is not adhering their system settings and it's the only feature complete settings backend in Qt. I'm not sure what to do in that case but changing monospace font is not planned AFAIK. |
OK, is this only an issue for flatpak, or also with native installations, in a KDE Plasma environment? I had been maintaining custom build scripts for telegram on the AUR for system font support, but removed them when this font support was added. I want to know if I should try resurrecting and maintaining the custom build scripts, but won't bother if the bug only affects flatpak installations. |
Well, I'm not sure. Feel free to test. |
I'm not currently running Arch, but an LTS Ubuntu, so can't test non-flatpak updated Telegram Desktop at the moment. If anyone else here can tell me if monospace uses the proper font in KDE Plasma, I'd appreciate it. |
You can try the static binary |
Thanks! Yes it works just fine with the static build. |
It would be cool if user could choose fonts for conversations (and even 20% cooler if telegram would use system-default fonts)
The text was updated successfully, but these errors were encountered: