tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

Allow user to choose font and font size

Open Katzen-Gott opened this issue 11 years ago • 80 comments

It would be cool if user could choose fonts for conversations (and even 20% cooler if telegram would use system-default fonts)

Katzen-Gott avatar Aug 01 '14 10:08 Katzen-Gott

Please add this... current font looks awful and is mostly unusable when Font Smoothing is off.

solf avatar Sep 23 '14 18:09 solf

:+1: without monospaced fonts it's really impossible to use for programming-related discussions

AlexanderBelokon avatar Dec 13 '14 06:12 AlexanderBelokon

Yes, please. The font looks horrible here (Ubuntu 14.10).

matteodellamico avatar Feb 04 '15 15:02 matteodellamico

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?

marco-solare avatar Jun 25 '15 10:06 marco-solare

:+1: Please oh please.

iivmok avatar Aug 28 '15 19:08 iivmok

Oh please oh please.

Konekokonut avatar Aug 28 '15 19:08 Konekokonut

Yes please.

dnmr avatar Aug 29 '15 06:08 dnmr

Much needed. Very important.

deconstruction avatar Oct 22 '15 12:10 deconstruction

The tilde ~ looks like a dash... one of many small gripes about the default font so :+1:

mr-love avatar Nov 01 '15 13:11 mr-love

@mark-love It is not anymore in the latest dev release :) Will be in the stable in a week or two.

telegramdesktop avatar Nov 01 '15 13:11 telegramdesktop

The defulat font of "Telegram Desktop" is not nice and is also small in Persian language texts.

afshiniran avatar Nov 02 '15 06:11 afshiniran

This feature is really important - since default font in hidpi setting is way too narrow since it's bitmap font. Allowing user to select other font properly supporting hidpi will be more feasible.

Mnkai avatar Nov 05 '15 01:11 Mnkai

@telegramdesktop I'd like to say something cool. I don't know how it will affect the performance, but you are a great developer :+1: So, what if you used Noto fonts (there are many, not sure how will you package them) and detected the language/script of each character in the chat and then use the suitable font for it? :innocent: Or maybe better, implement a font setting dialog to select a different font for each language/script. Because selecting one font only can cause problems such as bad-looking characters.

SafaAlfulaij avatar Dec 12 '15 17:12 SafaAlfulaij

:+1:

@telegramdesktop

It is not anymore in the latest dev release :) Will be in the stable in a week or two.

is this comment still valid? ;-)

woj-tek avatar Dec 19 '15 19:12 woj-tek

@woj-tek Tilde should be displayed correctly now.

telegramdesktop avatar Dec 19 '15 19:12 telegramdesktop

:+1: RTL Language like Persian doesn't look good (Ubuntu 14.04)

javadghane avatar Jan 26 '16 06:01 javadghane

at least respect system font settings!

aliva avatar Feb 03 '16 09:02 aliva

I agree. By default, Telegram should use the default sans-serif font for your computer's settings. For example, by default, I use Helvetica, so Telegram should use that font too. Is there any configuration file that I can edit to manually change the font, or do I have to compile from source to change it?

benbenolson avatar Feb 23 '16 14:02 benbenolson

Not trying to derail the conversation, but I figured out how to change the font by modifying the source code and recompiling.

Assuming that you have three fonts to replace Open Sans in regular, bold, and semibold, place them in SourceFiles/art/fonts. Rename them to something simple that you don't mind typing a few times. Next, type grep OpenSans to find where they reference the font files that are currently in there. There will be a lot of references, especially in flatinput.cpp, text.h, and text.cpp, as well as some other places. Most of these are little fixes for the Open Sans font, so you can safely ignore them (at least, I think so).

I ended up replacing the Open Sans TTF files in SourceFiles/gui/twidget.cpp, SourceFiles/telegram.qrc, recompiled, and it works so far! I'll post any fixes if any are necessary, as I've only tested it for a bit.

benbenolson avatar Feb 26 '16 01:02 benbenolson

I think following operating system's default font settings is the least Telegram can do. Although it must be a font with all the emoji embedded in them. Some fonts don't have them or they're partially included. Maybe use one font for Texts and another for emoji?

mosajjal avatar Mar 14 '16 12:03 mosajjal

I'd love telegram to respect the system font settings as well, or at least prioritise it. For the code font, it goes through four fonts including courier before trying the system font. Which just looks ugly, and would likely come back as the system monospace font if it were installed anyway.

antistic avatar Mar 23 '16 16:03 antistic

Hello. Dear Telegram Desktop developers, I wish at least say that you plan to add this feature to the Telegram or not! While the number of users requesting this feature are so much...

afshiniran avatar Apr 05 '16 11:04 afshiniran

@neesti people need to add reaction :+1: here for developers hear them and add some new feature. Just ∞ — It's not big value. 😊

It's a joke

brawaru avatar Apr 05 '16 11:04 brawaru

@DaFri-Nochiterov This feature is pretty hard to implement, because fonts and styles are configured on build time, so lots of things should be changed.

stek29 avatar Apr 06 '16 14:04 stek29

OSX has a beautiful and functional font "San Francisco" since Nov 2014. Since Telegram does not use this default font, it looks inconsistent and lacking behind other application on the platform.

dandaka avatar Apr 20 '16 08:04 dandaka

I'd love a monospace font! It makes formatting rules in groups so much easier!

Here are some lists of good free monospaced fonts: https://gist.github.com/Earnestly/7024056

And a wikipedia page of some: https://en.wikipedia.org/wiki/Samples_of_monospaced_typefaces

Qwerty-Space avatar Apr 28 '16 18:04 Qwerty-Space

@Qwerty-Space Use markdown (three ticks text three ticks).

john-preston avatar Apr 28 '16 18:04 john-preston

Please add the feature and rescue Korean users suffering under ugly Gulim font!

scudmissile-kr avatar Jun 09 '16 09:06 scudmissile-kr

I would like to able to not just change font but also adjust hinting and subpixel rendering on linux.

screenshot_20160612_203050

As you can see in the picture, the rest of the desktop has subpixel rendering disabled and full hinting enabled which gives me the sharp and clear fonts I want while telegram's fonts look butt ugly.

roberth1990 avatar Jun 12 '16 18:06 roberth1990

I use iMac, oh I can't tell you guys how hard to read anything from the desktop app, it's sooooooooo small. I really hope they will add this feature

iMarwan-k avatar Jun 18 '16 21:06 iMarwan-k