gdi32-related commit between 0.9.57<->0.9.58 broken .NET2/Systems.Windows.Forms

Hin-Tak Leung htl10 at users.sourceforge.net
Wed Mar 26 10:33:27 CDT 2008


--- On Wed, 26/3/08, Huw Davies <huw at codeweavers.com> wrote:

> From: Huw Davies <huw at codeweavers.com>
> Subject: Re: gdi32-related commit between 0.9.57<->0.9.58 broken .NET2/Systems.Windows.Forms
> To: "Hin-Tak Leung" <htl10 at users.sourceforge.net>
> Cc: wine-devel at winehq.org
> Date: Wednesday, 26 March, 2008, 3:21 PM
> On Wed, Mar 26, 2008 at 02:55:07PM +0000, Hin-Tak Leung
> wrote:
> > --- On Wed, 26/3/08, Huw Davies
> <huw at codeweavers.com> wrote:
> > <snipped>
> > > > The error message I got was 'attempt to
> read or
> > > write protected memory. This is often
> > > > an indication that other memory is
> corrupt'.
> > >  
> > > Hi,
> > > 
> > > Could you explain how this breaks .NET2, I
> can't see
> > > why it should at the moment?
> > > The purpose of the commit is to do what Windows
> does.
> > 
> > I am not entirely sure myself - all I know is I did a
> git bisect to find what was 
> > the problematic commit, and reverting this particular
> commit on top of 0.9.58 fixes my problem. 
> > 
> > My understanding is that the .NET framework uses the
> windows registry font
> > entries for font look-ups, according to the discussion
> in http://bugs.winehq.org/show_bug.cgi?id=10467#c2, and it
> loads fonts directly based on the registry font list and
> does its own rendering thing with the font files directly; 
> > So changing font registry entries break things.
> 
> Well yes, but that doesn't actually mean the patch is
> incorrect.

Well, it is certainly doing something that the .NET framework doesn't like -  
or, maybe exposing a bug elsewhere which wasn't reached due to incompleteness before.
Can you explain the purpose of your patch?

> Do you by any chance have the font 'ukai.ttf'
> installed?  If so could
> you try removing it from your fontconfig path and see if
> that helps?

Yes, I have ukai.ttf on my system (and others came with Fedora 8), 
but I am running wine in  LANG=en_US.UTF-8 . I'll give your suggestion a 
try.


      __________________________________________________________
Sent from Yahoo! Mail.
More Ways to Keep in Touch. http://uk.docs.yahoo.com/nowyoucan.html



More information about the wine-devel mailing list