- Upgrade to 1.9.3 * Videos in chats start playing automatically. * Resume playback from where you left off when watching long videos and listening to long audio tracks. * Control automatic playback for videos, GIFs and round video messages in Settings > Advanced > Automatic media download. * Enjoy system spell checker support on all modern systems. OBS-URL: https://build.opensuse.org/request/show/764829 OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=115
26 lines
895 B
Diff
26 lines
895 B
Diff
From b7effa2fd838afc049ec5cc00df3bd0810a95da4 Mon Sep 17 00:00:00 2001
|
|
From: Jiachen YANG <farseerfc@gmail.com>
|
|
Date: Fri, 4 Oct 2019 16:59:26 +0900
|
|
Subject: [PATCH 3/6] Revert "Disable DemiBold fallback for Semibold."
|
|
|
|
This reverts commit 310c68a744ae8163c96b88944d96a6f6b14b3cdf.
|
|
---
|
|
Telegram/lib_ui/ui/style/style_core_font.cpp | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
--- a/Telegram/lib_ui/ui/style/style_core_font.cpp
|
|
+++ b/Telegram/lib_ui/ui/style/style_core_font.cpp
|
|
@@ -225,9 +225,9 @@
|
|
|
|
f.setPixelSize(size);
|
|
if (_flags & FontBold) {
|
|
- f.setBold(true);
|
|
- //} else if (fontFamilies[family] == "Open Sans Semibold") {
|
|
- // f.setWeight(QFont::DemiBold);
|
|
+ f.setBold(_flags & FontBold);
|
|
+ } else if (fontFamilies[family] == "Open Sans Semibold") {
|
|
+ f.setWeight(QFont::DemiBold);
|
|
}
|
|
f.setItalic(_flags & FontItalic);
|
|
f.setUnderline(_flags & FontUnderline);
|