[cairo] regression in text rendering when not using Render xlib
fcrozat at mandriva.com
Mon Mar 5 05:53:37 PST 2007
Le vendredi 02 mars 2007 à 21:01 +0100, Frederic Crozat a écrit :
> Le vendredi 02 mars 2007 à 12:24 +0100, Frederic Crozat a écrit :
> > Le vendredi 02 mars 2007 à 10:06 +0100, Frederic Crozat a écrit :
> > > Le jeudi 01 mars 2007 à 19:48 -0500, Behdad Esfahbod a écrit :
> > > > On Thu, 2007-03-01 at 13:28 -0500, Frederic Crozat wrote:
> > > > >
> > > > > If I revert to cairo 1.2.x, problem disappear, with same version of
> > > > > pango.
> > > >
> > > > Would you mind "git bisect"ing? Helps a lot, and may be the only way to
> > > > pin this down before 1.4.0.
> > >
> > > Good news : it appears to be a gcc optimization issue : I don't get the
> > > error when using standard cflags and not the one we use for our Mandriva
> > > packages.
> > >
> > > Anyway, I'll do a bisect to find one which commit caused it and I'll try
> > > to grab our gcc guy to find out how to fix.
> > Culprit is commit 3e002a474b64c83f8768ba8918209eca9d7599a3
> > Author: Vladimir Vukicevic <vladimir at pobox.com>
> > Date: Fri Nov 3 09:47:31 2006 -0800
> > [win32] Update pixman MMX code to work with MSVC
> > Patch from Tor Lillqvist.
> > When building with "-O2 -fomit-frame-pointer", in 16bpp RGBA, you get
> > funky mask. Code was probably broken before but it wasn't visible.
> > With help of our gcc guy (Gwenole Beauchesne), I've fix it "the right
> > way (c)Gwenole" and it should be optimized nicely with gcc.
> > However, since I'm not a expert in this area, I would suggest somebody
> > with more knowledge to check fbmmx.c for other funky conversions between
> > ullong and __m64 and use to_ullong and to_m64 instead of using M64
> > blindly.
> > Another nice thing is it was the first time I use git to commit a patch
> > (better late than never) and use git rebase to move it to HEAD.
> > I haven't testing this patch with MSVC (since I don't have Windows
> > platform around) but I don't think it will cause problem.
> Argg, my coworker just told me it wasn't fixing his problem with fonts
> being corrupted (see http://qa.mandriva.com/show_bug.cgi?id=28317 ) but
> he is running on x86-64 so my fix might be incomplete.
And it was incomplete.
Here is an additional fix for x86-64.
You need to apply first fix and second one in sequence (I've undo some
of the change I did in my first patch, which aren't really needed).
Frederic Crozat <fcrozat at mandriva.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1469 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070305/4559eeb8/0002-Fix-aliasing-on-64-bits-platform-too.bin
More information about the cairo