Solved: Problems with drawing text in 1.3.29

2011-10-07 Thread Damian Dixon
I have narrowed the issue down to a difference in behaviour between Windows and Wine. The problem boils down to the following code: NONCLIENTMETRICS ncm; memset(&ncm, 0, sizeof(NONCLIENTMETRICS)); ncm.cbSize = sizeof(NONCLIENTMETRICS); VERIFY(SystemParametersInfo(SPI_GETNONCLIENTMETRICS

Re: Problems with drawing text in 1.3.29

2011-10-07 Thread Damian Dixon
Thanks for the suggestions. I've narrowed one of the issues down to WineEngGetGlyphOutline in dlls/gdi32/freetype.c. The pitch is 6640 and the height is 53003. This means that a buffer of ~335Mb has been allocated and then memset. This is where the slow down is occurring (because of the memset).

Re: Problems with drawing text in 1.3.29

2011-10-05 Thread Marcus Meissner
On Wed, Oct 05, 2011 at 04:53:18PM +0100, Damian Dixon wrote: > Hi, > > I was attempting to use Wine 1.3.29 (in OpenSUSE 11.4 x86) and because of > issues pulled the source from git last night and still have problems. > > I am having performance issues with DrawText (5 odd seconds to draw a simpl

Re: Problems with drawing text in 1.3.29

2011-10-05 Thread Frédéric Delanoy
On Wed, Oct 5, 2011 at 17:53, Damian Dixon wrote: > Hi, > I was attempting to use Wine 1.3.29 (in OpenSUSE 11.4 x86) and because of > issues pulled the source from git last night and still have problems. > I am having performance issues with DrawText (5 odd seconds to draw a simple > string) and t

Problems with drawing text in 1.3.29

2011-10-05 Thread Damian Dixon
Hi, I was attempting to use Wine 1.3.29 (in OpenSUSE 11.4 x86) and because of issues pulled the source from git last night and still have problems. I am having performance issues with DrawText (5 odd seconds to draw a simple string) and the occasional X Error and crash. The X Error is consistent