Update to 1.8.2:

Release 1.8.2 (2008-10-29 Carl Worth <cworth@cworth.org>)
=========================================================
The cairo community is pleased to announce the 1.8.2 release of the
cairo graphics library. This is the first update to cairo's stable 1.8
series and contains a large number of bug fixes. It is being released
just over one month since cairo 1.8.0.

This release consists primarily of bug fixes, but there is one notable
new feature, (the ability to build cairo without an external font
backend), and there are a few optimizations as well. See below for
details on these changes and the most important bug fixes.

While many people have contributed to this release, Chris Wilson
deserves particular mention. He has contributed well over twice as
many changes to cairo since 1.8.0 than everyone else combined. We
greatly appreciate the tremendous efforts of Chris and all cairo
contributors.

We recommend everyone upgrade to cairo 1.8.2 and hope that everyone
will have lots of fun with cairo!

-Carl

New feature
-----------
It is now possible to build cairo without any font backend, (such as
freetype, win32 or quartz). This is most useful when the application
provides custom font rendering through the user-font API. But in the
case where no external font backend is available, and no user-font is
provided, cairo will render with a failsafe font, (a stroked font
covering visible ASCII character). (Behdad Esfahbod)

Optimizations
-------------
Dramatically speed up compilation with dolt (removes much of the
libtool overhead) (Behdad Esfahbod with thanks to Josh Triplett).

Several minor optimizations to tessellator (special-cased comparisons,
faster insert for skiplist, etc.) (Chris Wilson).

Optimize away fractional translation component when doing
EXTEND_NEAREST filtering, (for better performance).

General bug fixes
-----------------
Allow cloning sub-regions of similar surfaces to fix this bug
(Chris Wilson):

	Crafted gif file will crash firefox
	[XError: 'BadAlloc (insufficient resources for operation)']
	https://bugzilla.mozilla.org/show_bug.cgi?id=424333

Fix some matrix confusion to fix this regression (Chris Wilson):

	Translucent star exports in a wrong way to PDF
	https://bugs.launchpad.net/inkscape/+bug/234546

Fix some long-standing bugs with respect to properly computing the
extents of transformed, filtered surfaces (Owen Taylor, Carl Worth,
and Chris Wilson):

	Bad clipping with EXTEND_NONE
	http://bugs.freedesktop.org/show_bug.cgi?id=15349

	Improve filtering handling in cairo-pattern.c
	http://bugs.freedesktop.org/show_bug.cgi?id=15367

	Many thanks to Chris Wilson for digging out and cleaning up
	these fixes.

Fix compilation on Solaris 10 (Chris Wilson):

	Cairo requires -DREENTRANT (along with	-D_POSIX_THREAD_SEMANTICS)
	to compile on Solaris 10 with pthreads
	https://bugs.freedesktop.org/show_bug.cgi?id=18010

Fix very old bug causing dashes to be rendered at the wrong length in
fallback images (Adrian Johnson)

	Dashed strokes too long in fallback images
	https://bugs.freedesktop.org/show_bug.cgi?id=9189

Fix broken dashing when a dashed path starts outside the clip region
(Chris Wilson).

Avoid range overflow when computing large patterns (Benjamin Otte and
Chris Wilson).

Avoid crashing due to an invalid font with an incorrect entry in its
CMAP table (Adrian Johnson).

Fix bugs in computing maximum size of text requests that can be sent
with the Render extension, (avoiding potential crashes when rendering
large amounts of text) (Behdad Esfahbod and Chris Wilson).

Fix rendering of operators unbounded by the mask (Chris Wilson).

Fix compilation on systems without compiler support for a native
64-bit type (Chris Wilson).

Fix several cases of missing error-status propagation. (Chris Wilson,
doing the work he seems to never tire of).

Fix several locking issues found with the lockdep valgrind skin (Chris
Wilson).

Backend-specific bug fixes
--------------------------
xlib: Avoid crash due to attempting XRender calls on pixmaps with
formats not supported by the Render extension (Chris Wilson):

	XRender crashes due to NULL pointer from Cairo on SGI O2
	https://bugs.freedesktop.org/show_bug.cgi?id=1173

xlib: Add support for XImages with depth of 4, 20, 24, or 28 bits
(Chris Wilson):

	cairo doesn't support 24 bits per pixel mode on X11
	https://bugs.freedesktop.org/show_bug.cgi?id=9102

xlib: Avoid mistakenly considering two surfaces as similar just
because their depths match (while their Render formats do not) (Karl
Tomlinson).

ps: Fix slight mis-scaling of bitmapped fonts (Adrian Johnson)

svg: Correctly emit comp-op for paint, mask, and show_glyphs
operations (Emmanuel Pacaud).

svg: Use finer-grained fallbacks for SVG 1.2 (as PS and PDF backends
have been doing since 1.6.0) (Chris Wilson).
This commit is contained in:
wiz 2008-10-30 21:44:54 +00:00
parent e78d632bdb
commit e3ad79e4d7
4 changed files with 6 additions and 56 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.67 2008/10/16 10:55:08 drochner Exp $
# $NetBSD: Makefile,v 1.68 2008/10/30 21:44:54 wiz Exp $
DISTNAME= cairo-1.8.0
DISTNAME= cairo-1.8.2
CATEGORIES= graphics
MASTER_SITES= http://cairographics.org/releases/

View file

@ -1,9 +1,7 @@
$NetBSD: distinfo,v 1.45 2008/10/16 12:22:10 drochner Exp $
$NetBSD: distinfo,v 1.46 2008/10/30 21:44:54 wiz Exp $
SHA1 (cairo-1.8.0.tar.gz) = 8a689ca47c24216f37bb8cabae21ff08a7f47899
RMD160 (cairo-1.8.0.tar.gz) = 1b1079ab73813ca6782c0d4cb3623575e08ee94e
Size (cairo-1.8.0.tar.gz) = 5662670 bytes
SHA1 (cairo-1.8.2.tar.gz) = 41e94d94e7f379551f556dd71979aca239a688c6
RMD160 (cairo-1.8.2.tar.gz) = 602008860bf35672cf48c7c8f9e1a6b5a702f6aa
Size (cairo-1.8.2.tar.gz) = 7147742 bytes
SHA1 (patch-aa) = 870d57c20afbca75ab5c3ec399409de19726fd66
SHA1 (patch-ab) = 54f0dd3e7afdf88b0ab8cf8f32ed16eed04f0797
SHA1 (patch-ac) = 9412e50f13d7d8f15c212aff2114d45a261a8b6f
SHA1 (patch-ad) = 2ead8b50dc71aa8b7bbb699f14f72a354f88a314

View file

@ -1,17 +0,0 @@
$NetBSD: patch-ac,v 1.10 2008/10/16 12:22:10 drochner Exp $
Fixes
cairo-type1-subset.c:1220:24: error: macro "read" passed 4 arguments, but takes just 3
>From ickle_ on freenode #cairo.
--- src/cairo-type1-subset.c.orig 2008-09-25 11:36:35.000000000 +0000
+++ src/cairo-type1-subset.c
@@ -1215,7 +1215,7 @@ cairo_type1_font_subset_generate (void
}
if (font->face->stream->read) {
- ret = font->face->stream->read (font->face->stream, 0,
+ ret = (* font->face->stream->read) (font->face->stream, 0,
(unsigned char *) font->type1_data,
font->type1_length);
if (ret != font->type1_length) {

View file

@ -1,31 +0,0 @@
$NetBSD: patch-ad,v 1.7 2008/10/16 12:22:10 drochner Exp $
--- boilerplate/cairo-boilerplate-glitz.c.orig 2008-09-25 11:36:35.000000000 +0000
+++ boilerplate/cairo-boilerplate-glitz.c
@@ -217,7 +217,7 @@ _cairo_boilerplate_glitz_glx_create_surf
gxtc->base.width = width;
gxtc->base.height = height;
gxtc->base.content = content;
- status = cairo_boilerplate_surface_set_user_data (surface,
+ status = cairo_surface_set_user_data (surface,
&glitz_closure_key, gxtc, NULL);
if (status == CAIRO_STATUS_SUCCESS)
return surface;
@@ -361,7 +361,7 @@ _cairo_boilerplate_glitz_agl_create_surf
aglc->base.width = width;
aglc->base.height = height;
aglc->base.content = content;
- status = cairo_boilerplate_surface_set_user_data (surface,
+ status = cairo_surface_set_user_data (surface,
&glitz_closure_key, aglc, NULL);
if (status == CAIRO_STATUS_SUCCESS)
return surface;
@@ -493,7 +493,7 @@ _cairo_boilerplate_glitz_wgl_create_surf
wglc->base.width = width;
wglc->base.height = height;
wglc->base.content = content;
- status = cairo_boilerplate_surface_set_user_data (surface,
+ status = cairo_surface_set_user_data (surface,
&glitz_closure_key, wglc, NULL);
if (status == CAIRO_STATUS_SUCCESS)
return surface;