WineHQ
Wine Forums

Board index » WineHQ » Wine Help




 Page 1 of 1 [ 10 posts ] 



 
Author Message
 Post subject: Wine fonts messed up
 Post Posted: Sat Mar 29, 2008 7:31 pm 
Offline
Level 1
Level 1

Joined: Sat Mar 29, 2008 7:29 pm
Posts: 6
I started using wine and used it to play return to Castle Wolfenstein which worked great. I installed Adobe Acrofat 7 Professional and now all of the wines menus are small and unreadable. Like this:

Image
By lsearcey at 2008-03-29


Any ideas on how to fix this? I tried uninstalling Adobe Acorbat but i can't read the screens.

Thank You very much for your help


Top 
 Post subject: Wine fonts messed up
 Post Posted: Sat Mar 29, 2008 9:54 pm 
 
lsearcey wrote:
Quote:
I started using wine and used it to play return to Castle Wolfenstein which worked great. I installed Adobe Acrofat 7 Professional and now all of the wines menus are small and unreadable. Like this:

[Image: http://img249.imageshack.us/img249/1958 ... eende9.png ]
By lsearcey (http://profile.imageshack.us/user/lsearcey) at 2008-03-29


Any ideas on how to fix this? I tried uninstalling Adobe Acorbat but i can't read the screens.

Thank You very much for your help


You might want to look at running the Wine Configuration program,
winecfg by typing, in a terminal session, wine winecfg

This will bring up a dialog box like in your picture. Select the
Graphics tab and move the slider on the bottom to reflect the dots per
inch of your screen. In my case, it is 120 dpi. On other computers it
is 133 dpi and on some older monitors, it is 96dpi. The formula to
determine the value is to measure the actual size of your screen. in
inches, as most screens are measured on the diagonal (bottom left corner
to upper right corner). Divide the number of pixels displayed by the
number of inches. My screen is 8 inches tall and my display is 960
Pixels (dots). The result is 960/8 =120 dpi.

Hope this helps and sorry for the massive technical explanation. If
this does NOT help, please visit the Applications Database (AppDb) and
see if anyone has encountered this problem before and what they tried to
do to fix this particular problem.

James McKenzie


Top 
 Post subject:
 Post Posted: Sun Mar 30, 2008 8:34 am 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 25, 2008 10:30 pm
Posts: 11810
From the screenshot, it looks like only the fonts are affected, not the whole display. Check your /windows/fonts directory--my guess is that Acrobat installed fonts there. If that is the cause, your choices (based on my admittedly limited understanding of how wine handles fonts) are to either install the MS core fonts to /windows/fonts, or install the Acrobat fonts to your system and delete everything from /windows/fonts.


Top 
 Post subject:
 Post Posted: Sun Mar 30, 2008 1:47 pm 
Offline
Level 1
Level 1

Joined: Sat Mar 29, 2008 7:29 pm
Posts: 6
I did that in the terminal but when it brings up the wine configure window its small like in my picture. Is there a way to configue it some other way?


Top 
 Post subject:
 Post Posted: Sun Mar 30, 2008 2:00 pm 
Offline
Moderator
Moderator

Joined: Sat Feb 23, 2008 2:29 pm
Posts: 6605
lsearcey wrote:
I did that in the terminal but when it brings up the wine configure window its small like in my picture. Is there a way to configue it some other way?

File ~/.wine/system.reg:
Code:
[System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts]
"LogPixels"=dword:00000060

That "00000060" is actual in hex - 0x60 = 96. You want to set it to 120 = 0x78:
Code:
"LogPixels"=dword:00000078


Top 
 Post subject:
 Post Posted: Sun Mar 30, 2008 2:01 pm 
Offline
Level 1
Level 1

Joined: Sat Mar 29, 2008 7:29 pm
Posts: 6
Sorry dimesio I'm very new to Ubuntu how do do all of that?


Top 
 Post subject:
 Post Posted: Sun Mar 30, 2008 2:03 pm 
Offline
Moderator
Moderator

Joined: Sat Feb 23, 2008 2:29 pm
Posts: 6605
lsearcey wrote:
Sorry dimesio I'm very new to Ubuntu how do do all of that?

With text editor.


Top 
 Post subject:
 Post Posted: Sun Mar 30, 2008 2:08 pm 
Offline
Level 1
Level 1

Joined: Sat Mar 29, 2008 7:29 pm
Posts: 6
Vitamin I pasted the following in the terminal but its says "bash: File: command not found" Am I missing something?


File ~/.wine/system.reg:[System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts]
"LogPixels"=dword:00000078


Top 
 Post subject:
 Post Posted: Sun Mar 30, 2008 6:54 pm 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 25, 2008 10:30 pm
Posts: 11810
vitamin wrote:
lsearcey wrote:
Sorry dimesio I'm very new to Ubuntu how do do all of that?

With text editor.


Vitamin's answer about the text editor refers to his suggestion, not mine. What he means is, open the file ~/.wine/system.reg in a text editor (gedit is one that I think is installed by default with Ubuntu) and look for the entry
Quote:
[System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts]
"LogPixels"=dword:00000060

then change the 60 to a 78.

My thinking is that Acrobat installing fonts into ~/.wine/drive_c/windows/fonts may be what is messing up the fonts display in other wine programs. An easy way to check this is to copy the fonts in that directory to another directory (so you can get them back easily), then delete everything from ~/.wine/drive_c/windows/fonts (leave the empty directory intact). Then open winecfg. If the fonts look normal, then that was the problem. If not, then I'm wrong about the cause.


Top 
 Post subject: Wine fonts messed up
 Post Posted: Sun Mar 30, 2008 8:51 pm 
 
dimesio wrote:
Quote:
vitamin wrote:

Quote:
lsearcey wrote:

Quote:
Sorry dimesio I'm very new to Ubuntu how do do all of that?

With text editor.



Vitamin's answer about the text editor refers to his suggestion, not mine. What he means is, open the file ~/.wine/system.reg in a text editor (gedit is one that I think is installed by default with Ubuntu) and look for the entry


Quote:
[System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts]
"LogPixels"=dword:00000060


then change the 60 to a 78.


That value may be incorrect. I gave instructions on how to determine
dots per inch (dpi) by dividing the number of pixels by the appropriate
inch range on your screen. For instance: I have two computers, a
MacBook Pro which has a 16:9 screen size of 15" on the diagonal. The
actual screen size is 12 X 8 (approximately), my screen is set to
1440x960. So if I do the math, my dpi is 120. However, my IBM A22p is
also 15" but in 4:3 format so the actual dpi is 133. So the number
entered is different for the two systems. I would accept 120 (0x78) as
a good estimate and it is much better than 96 dpi (which would be true
on a 15" monitor running 640x480 or 800x600 but not 1024x768. This
should eliminate the 'small fonts' problem and is what Windows actually
does to make displayed fonts larger.

Acrobat may have reset the dpi setting, but I don't think that should
happen.

James McKenzie


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 10 posts ] 




Board index » WineHQ » Wine Help


Who is online

Users browsing this forum: No registered users and 9 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: