[cairo] Good news/bad news on OS X

Amaury Jacquot sxpert at esitcom.org
Wed Dec 10 02:45:21 PST 2003


Nathan Gray wrote:
> I just thought I'd tell you that I've successfully built and installed 
> Cairo on OS X --without-x.  I also ran the PS/basket demo successfully, 
> although the makefile should use pkg-config for libpng as well as 
> cairo.  One thing I wasn't sure about -- is the output in basket.png 
> supposed to be the same as basket.ps?  I got very good output in 
> basket.ps but basket.png was not so nice.  It seems to be missing the 
> outline.  I'll attach it so you can see what I mean.
> 
> ------------------------------------------------------------------------
> 
> 
> Interesting.  Reading the code I think that the basket is supposed to be 
> red with a black outline, but I end up with it rendered cyan with a blue 
> outline in the .ps file and, light greenish with a strange pixelated 
> green/yellow partial outline that might actually be a botched attempt at 
> anti-aliasing in the .png file.
> 
> Hmm... byte-order problems perhaps?

yep, byte order issue when generating the png
note that you can barely see the outline as darker green in your picture

> Cheers,
> -n8
> 
> -- 
>  >>>-- Nathaniel Gray -- Caltech Computer Science ------>
>  >>>-- Mojave Project -- http://mojave.cs.caltech.edu -->
> 






More information about the cairo mailing list