From e9054615671798b92b35abaa05f21ed67c51ecee Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Thu, 6 Nov 2025 14:54:07 +0300 Subject: [PATCH] added font smoothing --- winehelper | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/winehelper b/winehelper index 4ede284..682e68c 100755 --- a/winehelper +++ b/winehelper @@ -1189,6 +1189,13 @@ init_wineprefix () { # заменям шрифт Microsoft Sans Serif на Tahoma get_and_set_reg_file --add 'Software\Wine\Fonts\Replacements' 'Microsoft Sans Serif' 'REG_SZ' "Tahoma" "user" + # добавляем сглаживание шрифтов + get_and_set_reg_file --add 'Control Panel\Desktop' 'FontSmoothing' 'REG_SZ' "2" "user" + get_and_set_reg_file --add 'Control Panel\Desktop' 'FontSmoothingGamma' 'REG_DWORD' "0x00000578" "user" + get_and_set_reg_file --add 'Control Panel\Desktop' 'FontSmoothingOrientation' 'REG_DWORD' "0x00000001" "user" + get_and_set_reg_file --add 'Control Panel\Desktop' 'FontSmoothingType' 'REG_DWORD' "0x00000002" "user" + + # добавление ассоциаций файлов для запуска нативного приложения из wine # пример переменной: WH_XDG_OPEN="txt doc pdf" check_variables WH_XDG_OPEN "0"