Enable anti-aliasing

Informatie

Creator Bericht
Quentin PÂRIS Anonymous

Information

This installer has been approved by the team.

Informatie

Platforms:
Downloads: 91872
Wine: System

Feedbacks

Broncode

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"

POL_SetupWindow_Init 
POL_SetupWindow_free_presentation "Anti-aliasing" "This script will enable anti-aliasing"
POL_SetupWindow_games "Choose an application" "Anti-aliasing"
if [ "$APP_ANSWER" == "" ]
then
POL_SetupWindow_Close
exit
fi
PREFIX=$(detect_wineprefix "$APP_ANSWER")
select_prefix "$PREFIX"
fonts_to_prefix
POL_SetupWindow_wait_next_signal "Processing" "Anti aliasing"
REGEDIT4


cat << EOF > "$REPERTOIRE/tmp/fontsaa.reg"
[HKEY_CURRENT_USER\Control Panel\Desktop]
"FontSmoothing"="2"
"FontSmoothingType"=dword:00000002
"FontSmoothingGamma"=dword:00000578
"FontSmoothingOrientation"=dword:00000001
EOF
regedit "$REPERTOIRE/tmp/fontsaa.reg"

POL_SetupWindow_detect_exit
POL_SetupWindow_message "Anti-aliasing has been successfully enabled" "Anti-aliasing"
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Bericht
Quentin PÂRIS Vrijdag 12 Februari 2021 om 8:40
Quentin PÂRIS Anonymous

Information

This update has been approved by the team.

Differences

@@ -19,6 +19,7 @@
 POL_SetupWindow_wait_next_signal "Processing" "Anti aliasing"
 REGEDIT4
 
+
 cat << EOF > "$REPERTOIRE/tmp/fontsaa.reg"
 [HKEY_CURRENT_USER\Control Panel\Desktop]
 "FontSmoothing"="2"

New source code

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"

POL_SetupWindow_Init 
POL_SetupWindow_free_presentation "Anti-aliasing" "This script will enable anti-aliasing"
POL_SetupWindow_games "Choose an application" "Anti-aliasing"
if [ "$APP_ANSWER" == "" ]
then
POL_SetupWindow_Close
exit
fi
PREFIX=$(detect_wineprefix "$APP_ANSWER")
select_prefix "$PREFIX"
fonts_to_prefix
POL_SetupWindow_wait_next_signal "Processing" "Anti aliasing"
REGEDIT4


cat << EOF > "$REPERTOIRE/tmp/fontsaa.reg"
[HKEY_CURRENT_USER\Control Panel\Desktop]
"FontSmoothing"="2"
"FontSmoothingType"=dword:00000002
"FontSmoothingGamma"=dword:00000578
"FontSmoothingOrientation"=dword:00000001
EOF
regedit "$REPERTOIRE/tmp/fontsaa.reg"

POL_SetupWindow_detect_exit
POL_SetupWindow_message "Anti-aliasing has been successfully enabled" "Anti-aliasing"
POL_SetupWindow_Close
exit

Antwoorden

Daenarii Vrijdag 1 Februari 2019 om 17:10
Daenarii Anonymous

Bericht

When applied on Photoshop CS6 Extended, all the "native" text appears invisible yet still works to be there, i.e. File, Edit..., doesn't appear but still clickable and the dropdown menu (New, Open, Save...) works properly.

However, this worked properly on Office 2010 and Notepad++.

Antwoorden

Aangepast door Daenarii