Package Details: telegram-desktop-userfonts 2.8.11-2

Git Clone URL: https://aur.archlinux.org/telegram-desktop-userfonts.git (read-only, click to copy)
Package Base: telegram-desktop-userfonts
Description: Official Telegram Desktop client, with your fonts as set by fontconfig
Upstream URL: https://desktop.telegram.org/
Licenses: GPL3
Conflicts: telegram-desktop
Provides: telegram-desktop
Submitter: andykluger
Maintainer: andykluger
Last Packager: andykluger
Votes: 1
Popularity: 0.000837
First Submitted: 2020-02-20 04:22
Last Updated: 2021-07-25 02:03

Required by (1)

Sources (2)

Pinned Comments

andykluger commented on 2021-06-28 06:33

It is now building!

telegram-desktop-userfonts-bin is available in the AUR, built with this PKGBUILD via GitHub Actions.

https://github.com/andydecleyre/archbuilder_telegram-desktop-userfonts

andykluger commented on 2020-10-29 04:34

Good news everyone!

I've set up a github action to build and host this package, and added telegram-desktop-userfonts-bin to the AUR, which fetches that.

You can view the workflow @ https://github.com/AndydeCleyre/archbuilder_telegram-desktop-userfonts/actions

Latest Comments

andykluger commented on 2021-06-28 06:33

It is now building!

telegram-desktop-userfonts-bin is available in the AUR, built with this PKGBUILD via GitHub Actions.

https://github.com/andydecleyre/archbuilder_telegram-desktop-userfonts

andykluger commented on 2020-12-17 00:21

@costancho

It's right there in the community repo: https://www.archlinux.org/packages/community/x86_64/libtg_owt/

You may want to refresh your mirror list, with a tool like reflector.

Also, you may want to use the new -bin package; see the pinned message.

costancho commented on 2020-12-16 21:45

Not found the "libtg_owt" dependence.

andykluger commented on 2020-10-29 04:34

Good news everyone!

I've set up a github action to build and host this package, and added telegram-desktop-userfonts-bin to the AUR, which fetches that.

You can view the workflow @ https://github.com/AndydeCleyre/archbuilder_telegram-desktop-userfonts/actions

ilya-fedin commented on 2020-04-27 04:29

@thabulos font size changing is not possible due to custom font rendering. If font size will be changed, text markup will be broken.

andykluger commented on 2020-04-19 19:27

@thabulos

I'm not sure. I see

    checkFont.setPixelSize(13);

in lib_ui/ui/style/style_core_font.cpp but that is in a "validation" function, so maybe not relevant.

I see with rg -S 'fontsize(: | =)'

SourceFiles/mainwindow.cpp
882:            fontSize = 8;
884:            fontSize = (cntSize < 2) ? 12 : 12;
886:            fontSize = (cntSize < 2) ? 22 : 22;
931:                            fontSize = (cntSize < 2) ? 11 : ((cntSize < 3) ? 11 : 8);
933:                            fontSize = (cntSize < 2) ? 14 : ((cntSize < 3) ? 13 : 10);
935:                            fontSize = (cntSize < 2) ? 17 : ((cntSize < 3) ? 16 : 12);
937:                            fontSize = (cntSize < 2) ? 22 : ((cntSize < 3) ? 20 : 16);

lib_ui/ui/basic.style
31:boxFontSize: 14px;

SourceFiles/ui/empty_userpic.cpp
125:    const auto fontsize = (size * 13) / 33;

codegen/codegen/emoji/generator.cpp
199:constexpr auto kEmojiFontSize = 72;
206:    constexpr auto kLargeEmojiFontSize = 180;

SourceFiles/window/themes/window_theme_preview.cpp
896:            auto fontsize = (st::dialogsPhotoSize * 13) / 33;

So I'd guess we can start messing with this block in SourceFiles/mainwindow.cpp:

    880     int32 fontSize;
    881     if (size == 16) {
    882         fontSize = 8;
    883     } else if (size == 32) {
    884         fontSize = (cntSize < 2) ? 12 : 12;
    885     } else {
    886         fontSize = (cntSize < 2) ? 22 : 22;
    887     }

thabulos commented on 2020-04-19 00:31

Hi @andykluger, I installed your package and would like to know how I can make the font bigger? I don't want to scale it up like the native dekstop app, just the font. Thanks!