[cairo] regression in text rendering when not using Render xlib

Behdad Esfahbod behdad at behdad.org
Tue Mar 20 05:46:39 PDT 2007


On Tue, 2007-03-20 at 05:20 -0400, Frederic Crozat wrote:
> 
> I'm not a specialist in these strange (for me) casting stuff so I
> didn't
> replace all occurrences of M64 with to_m64 since some of those cast
> might be valid (according to our gcc guy who helped me debug that
> initially), since I don't have the expertise in pixman and I didn't
> want to break everything :)

I think replacing them all is what we really want.

> Another thing is troubling me : 
> we got hit by this bug because in our default rpm configuration, %
> optflags contains -fomit-frame-pointer, so CFLAGS is exported when
> running ./configure.
> 
> And after doing more checks, it seems -fno-strict-aliasing is
> correctly
> added and used when building cairo code (src subdir) but not when
> building pixman code, because CAIRO_CFLAGS (where -fno-strict-aliasing
> is defined) is not used in pixman subdirectory.
> 
> I'm not sure which way is best to fix this : adding
> -fno-strict-aliasing
> to CFLAGS in configure.in and not in CAIRO_CFLAGS (so pixman will use
> it) or teach pixman to use CAIRO_CFLAGS. 

Ok, great.  I was wondering but didn't check.  It should be fixed now.
I defined a PIXMAN_CFLAGS in configure.in...

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list