Code:
Gui, Add, Text, w450 h60 hwndText1 0x201, Anti-Aliased
Gui, Add, Text, w450 h60 hwndText2 0x201, Non Anti-Aliased
nHeight := 50
fnWeight := 700 ; FW_BOLD
fdwCharSet := 0x1 ; DEFAULT_CHARSET
lpszFace := "Courier New"
ANTIALIASED_QUALITY := 0x4
NONANTIALIASED_QUALITY := 0x3
hFont1 := DllCall( "CreateFont", Int,nHeight, Int,0, Int,0, Int,0, UInt,fnWeight, Int,0
,Int,0, Int,0, UInt,fdwCharSet, Int,0, Int,0, Int,ANTIALIASED_QUALITY, Int,0, Str,lpszFace )
hFont2 := DllCall( "CreateFont", Int,nHeight, Int,0, Int,0, Int,0, UInt,fnWeight, Int,0
,Int,0, Int,0, UInt,fdwCharSet, Int,0, Int,0, Int,NONANTIALIASED_QUALITY, Int,0, Str,lpszFace )
SendMessage, 0x30, hFont1, 1,, ahk_id %Text1%
SendMessage, 0x30, hFont2, 1,, ahk_id %Text2%
Gui, Show,, Anti-Alias Demo