Forums

Sims3 in Mandriva 2010.1

Problem with Dejavu Sans

Auteur Réponses
txutxe Dimanche 8 Aoüt 2010 à 14:53
txutxeAnonymous

Hi everyone.

I've been using Playonlinux for quite a while now. Since last week i had been using it from Ubuntu and I had The Sims 3 Installed with the 3 expansion packs.

Then I decided to move to Mandriva Spring 2010.1 and since then I'm not able to run Sims3 or any other game properly.

I've got a nvidia gforce 9400GT running on propietary drivers, PlayOnLinux 3.7.6 and kde 4.4.

The thing is that the installation process runs without any problem, but when i launch the Sims 3 Launcher, i get this:

...
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
err:ole:CoUninitialize Mismatched CoUninitialize
err:ole:CoUninitialize Mismatched CoUninitialize

Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Font 'DejaVu Sans' does not support style 'Regular'.
at System.Drawing.Font.CreateNativeFont()
at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font..ctor(SerializationInfo info, StreamingContext context)
--- End of inner exception stack trace ---
...


So.. it complaints about DejaVu Sans. My Kde is not using this font and i don't know where this comes from or how to fix it.

Is there a way to tell wine to use a different font?

Just in case it was a Mandriva-related issue, i removed the DejaVu fonts from their repositories and installed DejaVu manually, but the problem persists. If I have a look at the TTF administrator in KDE DejaVu Sans Regular appears to be installed correctly.

It may still be a poblem with MAndriva and Kde... but maybe can i work around this by using a different font in the script?

Thanks.

Edité par txutxe