diff options
author | rh <rh@pkgsrc.org> | 2004-11-15 03:59:49 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2004-11-15 03:59:49 +0000 |
commit | e8082de91393c457cb5bb8ea2601f05c02bdf096 (patch) | |
tree | 2f8d3021eb7734e075788617009256ebce79c534 /graphics/cairo/patches | |
parent | 818f1a56e467783372900d487d9d64bf6a1c8faf (diff) | |
download | pkgsrc-e8082de91393c457cb5bb8ea2601f05c02bdf096.tar.gz |
Update cairo to 0.2.0. Changes include:
New license: LGPL/MPL
---------------------
The most significant news with this release is that the license of
cairo has changed. It is now dual-licensed under the LGPL and the
MPL. For details see the COPYING file as well as COPYING-LGPL-2.1 and
COPYING-MPL-1.1.
I express my thanks to everyone involved in the license change process
for their patience and support!
New font and glyph internals
----------------------------
Graydon Hoare has put a tremendous amount of work into new internals
for handling fonts and glyphs, including caches where appropriate.
This work has no impact on the user-level API, but should result in
great performance improvements for applications using text.
New test suite
--------------
This snapshot of cairo includes a (small) test suite in
cairo/test. The tests can be run with "make check". The test suite was
designed to make it very easy to add new tests, and we hope to see
many contributions here. As you find bugs, please try adding a minimal
test case to the suite, and submit it with the bug report to the
cairo@cairographics.org mailing list. This will make it much easier
for us to track progress in fixing bugs.
New name for glitz backend
--------------------------
The gl backend has now been renamed to the glitz backend. This means
that the following names have changed:
CAIRO_HAS_GL_SURFACE -> CAIRO_HAS_GLITZ_SURFACE
cairo_set_target_gl -> cairo_set_target_glitz
cairo_gl_surface_create -> cairo_glitz_surface_create
This change obviously breaks backwards compatibility for applications
using the old gl backend.
Up-to-date with latest glitz snapshots
--------------------------------------
This snapshot of cairo is now up to date with the latest glitz
snapshot, (currently 0.2.3). We know that the latest cairo and glitz
snapshots have been incompatible for a very long time. We've finally
fixed that now and we're determined to not let that happen again.
Revert some tessellation regression bugs
Miscellaneous changes
---------------------
Changed CAIRO_FILTER_DEFAULT to CAIRO_FILTER_BEST to make gradients
easier.
Track XCB API change regarding iterators.
Various bug fixes
-----------------
Fix calculation of required number of vertices for pen.
Fix to avoid zero-dimensioned pixmaps.
Fix broken sort of pen vertices.
Fix bug when cairo_show_text called with a NULL string.
Fix clipping bugs.
Fix bug in computing image length with XCB.
Fix infinite loop bug in cairo_arc.
Fix memory management interactions with libpixman.
Diffstat (limited to 'graphics/cairo/patches')
-rw-r--r-- | graphics/cairo/patches/patch-aa | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/graphics/cairo/patches/patch-aa b/graphics/cairo/patches/patch-aa deleted file mode 100644 index d058e403d33..00000000000 --- a/graphics/cairo/patches/patch-aa +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2004/07/03 23:01:36 recht Exp $ - ---- src/cairo_image_surface.c.orig 2004-04-14 03:06:15.000000000 +0200 -+++ src/cairo_image_surface.c -@@ -462,7 +462,17 @@ cairo_int_status_t - _cairo_image_surface_set_clip_region (cairo_image_surface_t *surface, - pixman_region16_t *region) - { -- pixman_image_set_clip_region (surface->pixman_image, region); -+ if (region) { -+ pixman_region16_t *rcopy; -+ -+ rcopy = pixman_region_create(); -+ /* pixman_image_set_clip_region expects to take ownership of the -+ * passed-in region, so we create a copy to give it. */ -+ pixman_region_copy (rcopy, region); -+ pixman_image_set_clip_region (surface->pixman_image, rcopy); -+ } else { -+ pixman_image_set_clip_region (surface->pixman_image, region); -+ } - - return CAIRO_STATUS_SUCCESS; - } |