You are not logged in.

#1 2009-01-04 15:19:31

kensai
Member
From: Puerto Rico
Registered: 2005-06-03
Posts: 2,484
Website

Get font smoothing in Wine

Well, I already released the newest wine package (1.1.12) to extra. The most interesting feature in this release, for me, is the font smoothing support. Maybe you have noticed that after installing the latest version, still no smooth fonts were used, this is because of the option not being enabled by default. For if you want to use this feature:

nano wine_fontsmoothing.reg

paste this in the file you just opened for writing:

REGEDIT4

[HKEY_CURRENT_USER\Control Panel\Desktop]
"FontSmoothing"="2"
"FontSmoothingType"=dword:00000002
"FontSmoothingGamma"=dword:00000578
"FontSmoothingOrientation"=dword:00000001

then, as user:

regedit wine_fontsmoothing.reg

Now launch winecfg, or any of your installed applications through wine, and there you have it. I'm still working out a way to get better smooth fonts, this ones hurt my eyes since the are sub-pixel, and look blueish to me. Any suggestions or help on this is greatly appreciated, I just wanted to get the ball rolling.


Follow me in: Identi.ca, Twitter, Google+

Offline

#2 2009-01-04 15:50:35

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: Get font smoothing in Wine

Where should I put this file? I tried creating it on .wine/ and regedit didn't work.


(lambda ())

Offline

#3 2009-01-04 16:00:49

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Get font smoothing in Wine

andre.ramaciotti wrote:

Where should I put this file? I tried creating it on .wine/ and regedit didn't work.

You can put it anywhere. You could also add it manually.

Last edited by Procyon (2009-01-04 16:01:07)

Offline

#4 2009-01-04 16:03:42

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: Get font smoothing in Wine

regedit says it couldn't find the file:

(14:02|andre@overlord)
[~] ls
TODO/  code/  docs/  downloads/  images/  music/  my_songs/  roms/  tmp/  wine_fontsmoothing.reg
(14:02|andre@overlord)
[~] regedit ~/wine_fontsmoothing.reg 
Warning: could not find DOS drive for current working directory '/home/andre', starting in the Windows directory.
regedit: File not found "/home/andre/wine_fontsmoothing.reg" (2)

(lambda ())

Offline

#5 2009-01-04 19:13:40

Slammer64
Member
From: Ozark Mountains of Missouri
Registered: 2007-07-28
Posts: 113

Re: Get font smoothing in Wine

That worked nicely, thank you.


Somewhere, just out of sight, the Penguins are gathering!

Offline

#6 2009-01-04 19:23:57

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Get font smoothing in Wine

It works for me in winecfg and other wine apps, but not in my other windows apps.

Offline

#7 2009-01-04 19:37:41

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: Get font smoothing in Wine

kensai wrote:

I just wanted to get the ball rolling.

smile And you have most excellently! Thank you for this registry update - I've been waiting to see nicer fonts in Wine for a long, long time.

Offline

#8 2009-01-04 19:46:34

kensai
Member
From: Puerto Rico
Registered: 2005-06-03
Posts: 2,484
Website

Re: Get font smoothing in Wine

For the ones having problems doing it the way I described in the original post, just:

nano .wine/user.reg

and in the [Control Panel\\Desktop] section in there, just below add:

"FontSmoothing"="2"
"FontSmoothingGamma"=dword:00000578
"FontSmoothingOrientation"=dword:00000001
"FontSmoothingType"=dword:00000002

Follow me in: Identi.ca, Twitter, Google+

Offline

#9 2009-01-05 14:31:36

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: Get font smoothing in Wine

I moved the file to .wine/drive_c/Program Files, but it didn't work too. Then I did as kensai said in the last post and it's working now. Thanks.

edit: moving the file to the folder I said should have solved the problem if there wasn't for a mistake I made. I don't know why, there was a V at the end of the last line. Something related to vim, but I can't tell why would I press V if I didn't want to go to visual mode.

Last edited by andre.ramaciotti (2009-01-05 15:02:05)


(lambda ())

Offline

#10 2009-01-05 15:27:15

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: Get font smoothing in Wine

wow, that really messed up my wine functionality. The only app I use in wine is ImgBurn, and now even after removing the font lines from user.reg the splash screen font looks all ugly, and then the application just locks up. I have to kill it with xkill. How can I fix this now? Did it mess up the registry somehow?

--------------------> okay, fixed it. I tried writing the original .reg file back to the registry, it gave a lot of errors, but it seems to work now. splash screen font is still fuged. not sure what's up with that, might be the WM. just glad to have ImgBurn working again.

Last edited by userlander (2009-01-05 16:25:39)

Offline

#11 2009-01-05 20:06:42

kensai
Member
From: Puerto Rico
Registered: 2005-06-03
Posts: 2,484
Website

Re: Get font smoothing in Wine

userlander wrote:

wow, that really messed up my wine functionality. The only app I use in wine is ImgBurn, and now even after removing the font lines from user.reg the splash screen font looks all ugly, and then the application just locks up. I have to kill it with xkill. How can I fix this now? Did it mess up the registry somehow?

--------------------> okay, fixed it. I tried writing the original .reg file back to the registry, it gave a lot of errors, but it seems to work now. splash screen font is still fuged. not sure what's up with that, might be the WM. just glad to have ImgBurn working again.

Well, this is a limitation from the only font smoothing option wine has so far, here i hope that this will improve eventually.


Follow me in: Identi.ca, Twitter, Google+

Offline

#12 2009-01-05 21:53:48

Super Jamie
Member
From: Brisbane, AU
Registered: 2008-12-15
Posts: 79
Website

Re: Get font smoothing in Wine

Wow, Wine looks SO much better with this, thanks! big_smile

Offline

#13 2009-01-05 22:24:10

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: Get font smoothing in Wine

Tried it again, works pretty well this time. I must have removed some line that was there before when I changed it back. Some fonts aren't smoothed, but overall it's much better.

What's the difference between fontsmoothing "1" and "2"? I tried them both and they look the same.

Offline

#14 2009-01-05 22:26:36

kensai
Member
From: Puerto Rico
Registered: 2005-06-03
Posts: 2,484
Website

Re: Get font smoothing in Wine

userlander wrote:

What's the difference between fontsmoothing "1" and "2"? I tried them both and they look the same.

Me neither, well, as of yet this is not well documented, so I'm just getting the ball rolling with the way I found it to work. If you guys find something more, let me know, through this thread.


Follow me in: Identi.ca, Twitter, Google+

Offline

#15 2009-01-05 22:29:10

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: Get font smoothing in Wine

Doesn't work for me on x86_64. sad

Last edited by userlander (2009-02-15 03:52:57)

Offline

#16 2009-02-15 02:34:12

thomaschik
Member
From: Hong Kong
Registered: 2006-04-03
Posts: 3

Re: Get font smoothing in Wine

Now the wine apps look much better!  Thank you very much!

Offline

#17 2009-02-24 04:46:30

abijr
Member
Registered: 2008-05-18
Posts: 71

Re: Get font smoothing in Wine

Thanks a lot!!
Its so much easier to read word files!

Offline

#18 2009-02-24 05:06:13

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: Get font smoothing in Wine

You should add this to the Wine Wiki, too.

Last edited by Wintervenom (2009-02-24 05:06:32)

Offline

#19 2009-02-25 06:34:23

sid350
Member
From: Murmansk, Russia
Registered: 2009-02-25
Posts: 6
Website

Re: Get font smoothing in Wine

userlander wrote:

Doesn't work for me on x86_64. :(

doesn't work for me too

Offline

#20 2009-02-25 19:19:56

kensai
Member
From: Puerto Rico
Registered: 2005-06-03
Posts: 2,484
Website

Re: Get font smoothing in Wine

sid350 wrote:
userlander wrote:

Doesn't work for me on x86_64. sad

doesn't work for me too

at least, for me using bin32-wine-suse, I get the font smoothing for the text inside the application but not for the application itself. Will have to investigate more on this.

And yeah, whoever wants to add this to the wiki, I give you my bless. big_smile


Follow me in: Identi.ca, Twitter, Google+

Offline

#21 2009-02-26 16:41:35

jxy
Member
Registered: 2008-12-03
Posts: 133

Re: Get font smoothing in Wine

sid350 wrote:
userlander wrote:

Doesn't work for me on x86_64. sad

doesn't work for me too

It works for me.

local/bin32-wine 1.1.15-1 
     Interpreter for the Windows 3.x and Win32 APIs

What version of wine do you use?

Offline

#22 2009-02-27 07:49:26

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Get font smoothing in Wine

kensai wrote:

For the ones having problems doing it the way I described in the original post, just:

nano .wine/user.reg

and in the [Control Panel\\Desktop] section in there, just below add:

"FontSmoothing"="2"
"FontSmoothingGamma"=dword:00000578
"FontSmoothingOrientation"=dword:00000001
"FontSmoothingType"=dword:00000002

thanks kensai!
works great here, bin32-wine version 1.1.15.

ps: some apps like the veoh downloader does not show fonts anymore. so i had to change this back.

Last edited by DonVla (2009-02-27 08:11:57)

Offline

#23 2009-03-12 05:40:55

borrell
Member
Registered: 2008-12-02
Posts: 31
Website

Re: Get font smoothing in Wine

I wouldn't call it a simpler solution. All you have to do is copy and paste the reg keys into a file and run them :s

Offline

#24 2009-03-12 18:33:41

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: Get font smoothing in Wine

TiGR wrote:

BTW, there is a simplier solution. wink

whoah! that one works for me while editing the user.reg file doesn't. Maybe because I'm using the suse package?  (1.1.16)

Offline

#25 2009-03-14 15:39:16

hsa2
Member
From: Turkey
Registered: 2008-05-26
Posts: 46
Website

Re: Get font smoothing in Wine

It worked like a charm! Cool! Thanks!

Offline

Board footer

Powered by FluxBB