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

Hin-Tak Leung htl10 at
Wed Mar 26 09:55:07 CDT 2008

--- On Wed, 26/3/08, Huw Davies <huw at> wrote:
> > 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, 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.

Rise to the challenge for Sport Relief with Yahoo! For Good

More information about the wine-devel mailing list