Tdesktop: Bold and ugly font after 2.1.2 update

Created on 7 May 2020  ·  69Comments  ·  Source: telegramdesktop/tdesktop

Steps to reproduce

  1. update
  2. check contact or channel with Persian letters in the title of inline buttons.
  3. 3.

Expected behaviour

The font should be normal.

Actual behaviour

The font is bold and ugly.

Configuration

Operating system:
Windows 10
Version of Telegram Desktop:
2.1.2
Installation source (Linux Only) - the official website / GitHub releases / flatpak / snap / distribution package:
The official website
Used theme:
Any themes

Logs:
Insert log.txt here (if necessary)

Telegram_Telegram_2020-05-07_08-34-50

Most helpful comment

Maybe add Vazir font to tdesktop :thinking:

All 69 comments

Duplicate of #7813

The font should be normal.

Why? It is should be bold.

The font is bold and ulgy.

How then you use bold in the rest for the system, if it is ugly for you?

How then you use bold in the rest for the system, if it is ugly for you?

No, it's not. Take for example "مشاهده نظرات". compare it with my screenshot. it's much better and more readable on Chrome than on Telegram.

image

No, it's not.

Can you say which font uses telegram and which chrome?

I can suggest to check MS Shell Dlg 2 and Arial Unicode MS, also Qt can grab the first font in alphabetical order which has these glyphs

@ilya-fedin The chat title changed for CJK too, unsurprisingly.

Not gonna lie, I noticed it and was wondering what happened, and then I realized it was just bold. It looks like a trash fire.

The second screenshot sent is non-bold Persian text, whereas the chat title in the original issue is bold.

It looks like a trash fire.

There are problems with WIndows 7, look at #7816

Can you say which font uses telegram and which chrome?

Apparently Github on Chrome uses _Segoe UI_ for Persian font. I don't know about Telegram.

Apparently Github on Chrome uses _Segoe UI_ for Persian font.

Definitely not. Look at #5368, when preston added Segoe UI fallback - persian fonts was even more ugly.

Definitely not. Look at #5368, when preston added Segoe UI fallback - persian fonts was even more ugly.

May I ask which screenshot is Segoe UI?

May I ask which screenshot is Segoe UI?

"new font"

I can suggest to check MS Shell Dlg 2 and Arial Unicode MS, also Qt can grab the first font in alphabetical order which has these glyphs

I couldn't find MS Shell Dlg 2 on my PC. but Arial Unicode MS is ugly as hell.
image

but Arial Unicode MS is ugly as hell.

Can it be the font which telegram is using?

"new font"

Interesting, I checked that using chrome dev tools and when I removed Segoe UI the font changed.

Can it be the font which telegram is using?

Yeah, it looks like it. Why not add an option in setting to change Telegram font?

and when I removed Segoe UI the font changed

Which font Chrome is using now? :thinking:

Which font Chrome is using now? 🤔

It's definitely using Segoe UI.

image

Maybe it fallbacks to an other font?

Maybe it fallbacks to an other font?

In my last screenshot?

In my last screenshot?

yes

For instance, Firefox allows me to check which font is actually used

image

In my last screenshot?

yes

I have Segoe UI on my PC, so I'm sure it's not fell back to another font.

I have Segoe UI on my PC, so I'm sure it's not fell back to another font.

The question is: does Segoe UI has these glyphs, or GDI automatically fallbacks to another which has these glyphs?

For instance, Firefox allows me to check which font is actually used

I checked on Firefox and it also says the font is Segoe UI.

image

Oh, this is weird :\

The question is: _does Segoe UI has these glyphs, or GDI automatically fallbacks to another which has these glyphs?_

That's far out of my knowledge. How we can find out?

How we can find out?

Firefox did that, you're right, it's Segoe UI. But then #5368 goes into mystic :(

Can you check which font is used in Firefox under Windows 7?

Firefox did that, you're right, it's Segoe UI. But then #5368 goes into mystic :(

Segoe UI is not exactly a pretty font for Persian letters but it's miles better than Arial Unicode MS.
Do you know Telegram used which font before 2.1.2 update?

Do you know Telegram used which font before 2.1.2 update?

Font is not changed for arabic languages, just bold is enabled

Can you check which font is used in Firefox under Windows 7?

Unfortunately, I don't have Windows 7 installed.

I'll try to do some Qt patching, I hope that it is possible to use Segoe UI correctly

This is test build, it should build in ~2 hours
https://github.com/ilya-fedin/tdesktop/actions/runs/97843908

I'll try to do some Qt patching, I hope that it is possible to use Segoe UI correctly

Thanks, appreciate that.

Do you know Telegram used which font before 2.1.2 update?

Font is not changed for arabic languages, just bold is enabled

I checked all my fonts to find which font Telegram uses and I found that it uses Tahoma font which is normally ugly and when it's bold it will become uglier.

image

image

I wonder what this guy feels now xD

I wonder what this guy feels now xD

Very bad taste of fonts :D

https://github.com/ilya-fedin/tdesktop/actions/runs/97843908

It's built

How to install and use it?

How to install and use it?

Unpack zip and start Telegram.exe. It will use data from the same directory where you place it.

@javad94 What is the result?

https://github.com/ilya-fedin/tdesktop/actions/runs/97843908

It's built

it works for me and uses Segoe UI (windows 7) but it's still ugly

but it's still ugly

why then it is not ugly in other applications?

why then it is not ugly in other applications?

I installed windows 10 Segoe UI font, now it's better, but it has a problem with showing the bottom of some letters like " پ "

Capture5

چپ :

Capture6

I installed windows 10 Segoe UI font

Which font is used in other applications for Persian on Windows 7?

Which font is used in other applications for Persian on Windows 7?

Windows10 Segoe UI

Windows10 Segoe UI

I mean before you installed windows 10 segoe ui. I want to understand why other applications looks good and tdesktop is not by default.

I mean before you installed windows 10 segoe ui. I want to understand why other applications looks good and tdesktop is not by default

Before installing Windows 10 Segoe UI, this tdesktop (and all apps) was using Windows 7 Segoe UI and that font wasn't beautiful in Persian

Are you want to say that all apps have ugly font in Persian on Windows 7?

yes, but now it's better with Windows 10 Segoe UI

Maybe add Vazir font to tdesktop :thinking:

Yes. Vazir font is a good choice 👍

With Vazir font this problem will not happen again. Right?

I installed windows 10 Segoe UI font, now it's better, but it has a problem with showing the bottom of some letters like " پ "

Capture5

چپ :

Capture6

With Vazir font this problem will not happen again. Right?

I don't even know how they should look like :)

Looks like there are a breaking commit for emojis, I started a new action:
https://github.com/ilya-fedin/tdesktop/actions/runs/98227263

https://github.com/ilya-fedin/tdesktop/actions/runs/98227263

I forgot to add LoadCustomFont call. Here's right build and it's built already:
https://github.com/ilya-fedin/tdesktop/actions/runs/98306815
Waiting for feedback :)

https://github.com/ilya-fedin/tdesktop/actions/runs/98306815

Now it's beautiful and modern 👍🏼

Capture7

https://github.com/ilya-fedin/tdesktop/actions/runs/98306815

That's great. Thank you. Did you use Vazir font?

image

Did you use Vazir font?

yep

yep

Excellent choice 👌

yep

When this change will be released to stable?

When this change will be released to stable?

When preston will release new verson

When preston will release new verson

I see. Thanks.

Now it's too fat
image

@Neurotoxin001 Now it is just normal bold font. Perhaps it's fine if we get used to it.

Is there any way to get back semi-bold? Because "normal bold" still too fat.

At least for Russian and English languages.

Looks like too bold
2020-05-08_162855

New Vazir font is very good ♥

Was this page helpful?
0 / 5 - 0 ratings