Wednesday, September 30, 2009

Wine with Full antialiasing!!!!!!




After a long search i find out that, if you take from real windows the fonts make a difference!!!

You need ms fonts installed first


sudo apt-get install ttf-mscorefonts-installer



From Nautilus - View -Show Hidden

then go to /home/username/.wine/

edit user.reg

find this "UserPreferenceMask"=hex:10,00,02,80

and replace from this line and above with this

WINE REGISTRY Version 2
;; All keys relative to \\User\\S-1-5-4

[AppEvents\\Schemes\\Apps\\Explorer\\Navigating\\.Current] 1249917684
@=""

[Console] 1252956930
"CursorSize"=dword:00000019
"CursorVisible"=dword:00000001
"EditionMode"=dword:00000000
"ExitOnDie"=dword:00000001
"FaceName"="Courier\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
"FontSize"=dword:000d0008
"FontWeight"=dword:00000000
"HistoryBufferSize"=dword:00000032
"HistoryNoDup"=dword:00000000
"MenuMask"=dword:00000000
"QuickEdit"=dword:00000000
"ScreenBufferSize"=dword:00190050
"ScreenColors"=dword:0000000f
"WindowSize"=dword:00190050

[Control Panel\\Colors] 1254317519
"ActiveBorder"="212 208 200"
"ActiveTitle"="94 129 188"
"AppWorkSpace"="128 128 128"
"Background"="16 26 38"
"ButtonAlternateFace"="181 181 181"
"ButtonDkShadow"="133 135 140"
"ButtonFace"="235 233 237"
"ButtonHilight"="255 255 255"
"ButtonLight"="220 223 228"
"ButtonShadow"="167 166 170"
"ButtonText"="0 0 0"
"GradientActiveTitle"="112 177 235"
"GradientInactiveTitle"="131 183 227"
"GrayText"="167 166 170"
"Hilight"="94 129 188"
"HilightText"="255 255 255"
"HotTrackingColor"="0 0 128"
"InactiveBorder"="212 208 200"
"InactiveTitle"="111 161 217"
"InactiveTitleText"="255 255 255"
"InfoText"="0 0 0"
"InfoWindow"="255 255 225"
"Menu"="255 255 255"
"MenuBar"="235 233 237"
"MenuHilight"="94 129 188"
"MenuText"="0 0 0"
"Scrollbar"="212 208 200"
"TitleText"="255 255 255"
"Window"="255 255 255"
"WindowFrame"="0 0 0"
"WindowText"="0 0 0"

[Control Panel\\Desktop] 1254316497
"DragFullWindows"="0"
"FontSmoothing"="2"
"FontSmoothingGamma"=dword:00000578
"FontSmoothingOrientation"=dword:00000001
"FontSmoothingType"=dword:00000002
"LowPowerActive"="0"
"MenuShowDelay"="400"
"SmoothScroll"=hex:00,00,00,00
"UserPreferenceMask"=hex:10,00,02,80


Save and close.

now you have antialiasing on menu and some other boxes only!

lets fix it all!!!

You have to download Tahoma fonts from here

Unzip and copy the to font files to /home/username/.wine/drive_c/windows/Fonts

Thats it!!!

Enjoy full antialiasing!!!!!!!

11 comments:

GeO said...

I will test that today, thanks

Admin said...

good tell me here if it working for you... or if i need to change something to my guide:)

Unknown said...

In Karmic it's working like a charm. The tahoma font do the trick.

Unknown said...

Tested with Karmic. Works perfekt! Tnks!

Anonymous said...

Those replacement Tahoma fonts fixed the anti-aliasing issue I was having with foobar2000, cheers!!

Anonymous said...

Thanks a lot its working perfectly!!

Anonymous said...

Thanx!

O Astronauta said...

Fantastic, the appeareance is great now!!!

Anonymous said...

"...replace from this line and above with this"

do you mean to replace the whole file with what you have below?

Anonymous said...

No from that line and before. Be sure to backup user.reg previously as well beforehand

Brock Roth said...

Lovely blog you have here