Enable anti-aliasing

Informations

Creator Message
Quentin PÂRIS
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 87336
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
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