[cairo] Cairo/PNG shaked up.

Carl Worth cworth at cworth.org
Tue Apr 12 07:19:30 PDT 2005

On Sun, 10 Apr 2005 22:35:04 +0100, "Hans Breuer" wrote:
> While updateing my Cairo/Dia plug-in [1] I stumpled not only about
> about lost convenience [2] (PNG output needs to be special cased now)

Well, it's different convenience, not lost. The idea is that now
you'll be able to take your xlib_surface and then generate PNG output
from it with cairo_surface_write_png, (rather than having to create a
distinct png_surface type in the first place).

> but also about Cairo apprently not respecting the scale of the output
> anymore [3] or the image backend is missing some appropriate DPI default.
> [3] http://hans.breuer.org/dia/render-test-shaked-up.png

I'm not sure what that image is supposed to look like, but I did just
fix a bug with cairo_show_surface in which the data was being
translated to the wrong place, (resulting in the display of garbage
memory). You might give the latest in CVS a try and see if it's any
better. Otherwise, let me know more specifically what's going wrong.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050412/bb8f08b7/attachment.pgp

More information about the cairo mailing list