How to Adjust the Fonts for Wine in Ubuntu
The Linux utility Wine (Wine Is Not an Emulator) allows a Linux user to run many Windows applications without having to install Windows on a separate partition or use any Microsoft products illegally. It allows for a level of system customization not all that different from that of a genuine Windows installation, and so it isn't hard to modify the system fonts or install new Windows fonts.
Instructions
-
-
1
Change Wine's system font size by opening a terminal ("Applications" -> "Accessories" -> "Terminal") and typing:
wine regedit
This will bring up the Windows Registry Editor, just as running the "regedit" program would in Windows. The left pane displays registry "keys" in a hierarchy just like a directory tree; the right pane displays the values assigned to those keys.
-
2
Navigate to and click on the following key: HKEY_CURRENT_CONFIG\Software\Fonts.
-
-
3
Double-click on the "LogPixels" value.
-
4
Change the base to "Decimal" and enter your desired font size. Note that the font size here isn't measured in standard "points"--the best way to get a size that's right for you is through cautious trial and error. Close the Registry Editor when you're done.
-
5
Change the size of fonts in menus by opening a terminal and typing:
gedit ~/.wine/drive_c/windows/win.ini
(If Wine is installed under a different path than /home/[yourname]/.wine, use it.)
-
6
Add the following two lines to the win.ini file:
[Desktop]
MenuFontSize=18
Replace the "18" with whatever font size (this time in points) you desire.
-
7
Install new Windows fonts by downloading (or copying over from a Windows machine) a TrueType executable. (One example, downloadable from Microsoft's site, is available in "Resources.") Open a terminal and run the executable under Wine, for instance by typing:
wine tahoma32.exe
This will install the font and make it usable in Wine applications.
-
1
References
Resources
- Photo Credit white wine and red wine image by jimcox40 from Fotolia.com