From 54e5c06b4d06cbc7d60d64f1476b572c45f0d225 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 2 Sep 2024 21:57:26 +0400 Subject: [PATCH] Revert updated Harfbuzz-NG in Qt 5.15.15. This fixes the regression with text rendering in 100% scale. Fixes #28340. --- Telegram/build/prepare/prepare.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/build/prepare/prepare.py b/Telegram/build/prepare/prepare.py index ac027ffab8..b05f65cded 100644 --- a/Telegram/build/prepare/prepare.py +++ b/Telegram/build/prepare/prepare.py @@ -449,7 +449,7 @@ if customRunCommand: tmp_zshrc_path = tmp_zshrc.name subprocess.run(['zsh', '--rcs', tmp_zshrc_path], env=modifiedEnv) os.remove(tmp_zshrc_path) - elif not run(command): + elif not run(' '.join(runCommand) + '\n'): print('FAILED :(') finish(1) finish(0) @@ -1543,6 +1543,7 @@ release: depends:patches/qtbase_""" + qt + """/*.patch cd qtbase win: + git revert --no-edit 6ad56dce34 setlocal enabledelayedexpansion for /r %%i in (..\\..\\patches\\qtbase_%QT%\\*) do ( git apply %%i -v