--- cairo-1.3.12/src/cairo-quartz-surface.c 2006-12-02 06:12:20.000000000 +1100 +++ cairo-modified/src/cairo-quartz-surface.c 2007-02-07 19:16:37.000000000 +1100 @@ -133,6 +133,9 @@ 8, 32, width * 4, color_space, +#ifdef MAC_OS_X_VERSION_10_4 + kCGBitmapByteOrder32Host | +#endif kCGImageAlphaPremultipliedFirst, data_provider, NULL,