The fonts are all messed up unless I crank the dpi up a lot

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Jack1337
Newbie
Newbie
Posts: 4
Joined: Tue Jan 13, 2009 6:18 pm

The fonts are all messed up unless I crank the dpi up a lot

Post by Jack1337 »

http://img80.imageshack.us/img80/1520/s ... t10ul7.png

It's the same on all resolutions, even on high ones, but I'm legally blind so I have to use 800x600 ~_~

Reinstalling Wine didn't help, completely removing it and reinstalling it didn't do squat, installing some msfont thing didn't do anything either.

anyway, I'm a total noob at this linux thing, the only reason i installed it was because on this old computer I don't play any games and it's more secure and resource efficient than windows i guess so I decided to use this.

I'm not the kinda person who enjoys tinkering with computers, in fact, I hate it big time despite the fact that i can find my way around winodws at least better than most average users.

So guys, if you have suggestions on how I should go about fixing this, you'll have to hold my hand through the whole process, i really hate computers lol
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: The fonts are all messed up unless I crank the dpi up a

Post by dimesio »

Jack1337 wrote:http://img80.imageshack.us/img80/1520/s ... t10ul7.png

It's the same on all resolutions, even on high ones, but I'm legally blind so I have to use 800x600 ~_~

Reinstalling Wine didn't help, completely removing it and reinstalling it didn't do squat, installing some msfont thing didn't do anything either.
If you're using the legacy nVidia driver, that's a known bug.
http://bugs.winehq.org/show_bug.cgi?id=16146
There's a workaround mentioned in the bug report.
Jack1337
Newbie
Newbie
Posts: 4
Joined: Tue Jan 13, 2009 6:18 pm

Post by Jack1337 »

dunno if it's Legacy or not, but it is an nVidia driver, ubuntu installed it by itself.
thanks dude, hope that helps.
Jack1337
Newbie
Newbie
Posts: 4
Joined: Tue Jan 13, 2009 6:18 pm

Post by Jack1337 »

solved
thanks man that helped.

I follow a link to a forum there that explains how to fix it, a simple edit of the xor thing and a new txt file and stuff and it worked.

thanks a lot
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

Reinstalling Wine didn't help, completely removing it and reinstalling it didn't do squat, installing some msfont thing didn't do anything either.
Some useful info for you on this: uninstalling and reinstalling the same version of one specific application usually has completely zero effect in Linux. Why? Because nothing actually changes.

In Windows, when you uninstall an application, the configuration files and settings belonging to that specific application are usually wiped, too. This is why when you reinstall it, things could suddenly work.

However, it doesn't work like that with package management in Linux: you only purely install or uninstall the application and the settings will still stay there even after uninstalling (unless you force it by "completely removing" and manually deleting the configuration files). This is why reinstalling the same app most likely has completely no effect on Linux.

So basically, when something doesn't work quite as it should, you're going to have to do something about the configuration first, whether it's the configuration of the app itself (/home/user/.wine/) or the configuration of a dependency (an app or library that this application requires, like X / Xorg). But there could be a bug in the app or dependency itself too, which doesn't have anything to do with config files. In this case one of the dependencies was at fault (NVidia's drivers currently have a bug that make text unreadable in Wine).
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

The fonts are all messed up unless I crank the dpi up a lot

Post by austin987 »

On Thu, Jan 15, 2009 at 6:48 AM, DaVince <[email protected]> wrote:
Reinstalling Wine didn't help, completely removing it and reinstalling it didn't do squat, installing some msfont thing didn't do anything either.
Some useful info for you on this: uninstalling and reinstalling the same version of one specific application usually has completely zero effect in Linux. Why? Because nothing actually changes.
That's a bug in wine (in regards to windows applications).
In Windows, when you uninstall an application, the configuration files and settings belonging to that specific application are usually wiped, too. This is why when you reinstall it, things could suddenly work.

However, it doesn't work like that with package management in Linux: you only purely install or uninstall the application and the settings will still stay there even after uninstalling (unless you force it by "completely removing" and manually deleting the configuration files). This is why reinstalling the same app most likely has completely no effect on Linux.
"Completely removing" should remove the configuration files without
your involvement.

--
-Austin
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

Okay, but I wasn't sure if it would wipe all of them. Thanks for that bit of info.

I also hope I got nothing else wrong...
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

The fonts are all messed up unless I crank the dpi up a lot

Post by austin987 »

On Thu, Jan 15, 2009 at 3:20 PM, DaVince <[email protected]> wrote:
Okay, but I wasn't sure if it would wipe all of them. Thanks for that bit of info.
I'm not sure what you mean? Uninstallers in wine should work as well
as they do in windows. That said, they often don't in wine, because
'rm -rf ~/.wine' is so easy, it's a low priority. Also, many
uninstallers don't work fully on windows...

By all of them, if you mean will 'rm -rf ~./wine' remove all windows
applications? If so, sort of. It will remove all applications
installed in that directory (aside from shortcuts). If you never
messed with separate WINEPREFIXs, then yes, that'll remove them all.

--
-Austin
Ben Okopnik

The fonts are all messed up unless I crank the dpi up a lot

Post by Ben Okopnik »

On Thu, Jan 15, 2009 at 06:48:13AM -0600, DaVince wrote:
Some useful info for you on this: uninstalling and reinstalling the
same version of one specific application usually has completely zero
effect in Linux. Why? Because nothing actually changes.

In Windows, when you uninstall an application, the configuration files
and settings belonging to that specific application are usually wiped,
too. This is why when you reinstall it, things could suddenly work.

However, it doesn't work like that with package management in Linux:
you only purely install or uninstall the application and the settings
will still stay there even after uninstalling (unless you force it by
"completely removing" and manually deleting the configuration files).
This is why reinstalling the same app most likely has completely no
effect on Linux.
That's not a very accurate description, I'm afraid. Package management
on Linux allows you to have a choice of removing and reinstalling _only_
the programs while keeping the configuration files (which is often the
desired case), but it also allows you to completely purge the package
and the system configuration files. This, of course, does not include
any per-user configuration - those files would have to be removed
manually if you wanted a complete scorched-earth wipe - but this isn't
any different from Windows. Otherwise, removing MS Office would wipe out
every single doc file you ever wrote.


--
* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Re: The fonts are all messed up unless I crank the dpi up a

Post by DaVince »

austin987 wrote:On Thu, Jan 15, 2009 at 3:20 PM, DaVince <[email protected]> wrote:
Okay, but I wasn't sure if it would wipe all of them. Thanks for that bit of info.
I'm not sure what you mean? Uninstallers in wine should work as well
as they do in windows. That said, they often don't in wine, because
'rm -rf ~/.wine' is so easy, it's a low priority. Also, many
uninstallers don't work fully on windows...

By all of them, if you mean will 'rm -rf ~./wine' remove all windows
applications? If so, sort of. It will remove all applications
installed in that directory (aside from shortcuts). If you never
messed with separate WINEPREFIXs, then yes, that'll remove them all.

--
-Austin
My train of thought is kind of like this: because an app's configuration files can be in so many places, the package's script that takes care of "completely removing" could maybe forget a few places and keep the config files there anyway. But this would be the same as with Windows anyway, especially where registry keys for some apps simply aren't removed.

@Ben Okopnik: I did only mention the app's settings though, not files made with it.
James McKenzie

The fonts are all messed up unless I crank the dpi up a lot

Post by James McKenzie »

DaVince wrote:
austin987 wrote:
On Thu, Jan 15, 2009 at 3:20 PM, DaVince <[email protected]> wrote:

Okay, but I wasn't sure if it would wipe all of them. Thanks for that bit of info.

I'm not sure what you mean? Uninstallers in wine should work as well
as they do in windows. That said, they often don't in wine, because
'rm -rf ~/.wine' is so easy, it's a low priority. Also, many
uninstallers don't work fully on windows...

By all of them, if you mean will 'rm -rf ~./wine' remove all windows
applications? If so, sort of. It will remove all applications
installed in that directory (aside from shortcuts). If you never
messed with separate WINEPREFIXs, then yes, that'll remove them all.

--
-Austin
My train of thought is kind of like this: because an app's configuration files can be in so many places, the package's script that takes care of "completely removing" could maybe forget a few places and keep the config files there anyway. But this would be the same as with Windows anyway, especially where registry keys for some apps simply aren't removed.

@Ben Okopnik: I did only mention the app's settings though, not files made with it.

Here is something that will make this clear:

The installation package can also be used to remove the executables from
your Linux install. Things are a little more complex with a Mac, but
not so that removal of Wine will take looking through thousands of
files. Just run make clean or something like that and it is gone. If
you used an installer, you have to do a little cleanup.

Deleting the .wine file under your user directory removes all installed
files, programs and most but not all user installed program settings. I
use a program called e-Sword that creates a directory on my system in
the user space called e-Sword. If I wanted to remove Wine, I would run
the apppropriate program to de-install Wine, delete the .wine file and
then delete any program created files. Poof! Wine is gone or should be.

Some folks make it sound like it is impossible to remove Wine, whereas
using the tools supplied with either the installation package, the build
package and your OS specific removal method are the best methods to
use. BTW, I've removed Wine many times from my development Mac and have
not experienced any problems with it, except that I have many versions
and builds of the program stored there and that was my decision.

James McKenzie
Locked