Enable anti-aliasing

Informations

Creator Message
Quentin PÂRIS Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 92050
Wine: System

Feedbacks

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

Contributions

Filters:

Contribute
Member Message
Quentin PÂRIS Friday 12 February 2021 at 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

Replies

Daenarii Friday 1 February 2019 at 17:10
Daenarii Anonymous

Message

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++.

Replies

Edited by Daenarii

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com