mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 04:48:00 +02:00
Merge branch '1.10' into tmp
Synchronize stable bug-fixes with development snapshot Conflicts: cairo-version.h src/cairo-path-bounds.c src/cairo-pdf-surface.c test/get-path-extents.c
This commit is contained in:
commit
d6dc6e8e39
5 changed files with 84 additions and 1 deletions
10
KNOWN_ISSUES
Normal file
10
KNOWN_ISSUES
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
There are a few known bugs in 1.10 that have been fixed in master, but
|
||||
appear to be non-trivial to backport without fear of causing other
|
||||
regressions. The impact of these bugs is considered to be less than of a
|
||||
risk than rewriting the code.
|
||||
|
||||
Zero Path Extents
|
||||
-----------------
|
||||
A closed degenerate path is reported as having extents (0, 0) x (0, 0),
|
||||
whereas the expected value is (x, y) x (0, 0). This regression has existed
|
||||
since at least 1.2.
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
include $(top_srcdir)/build/Makefile.am.common
|
||||
|
||||
EXTRA_DIST += \
|
||||
KNOWN_ISSUES \
|
||||
README.win32 \
|
||||
Makefile.win32 \
|
||||
build/Makefile.win32.common \
|
||||
|
|
|
|||
59
NEWS
59
NEWS
|
|
@ -1,3 +1,62 @@
|
|||
Release 1.10.2 (2010-12-25 Chris Wilson <chris@chris-wilson.co.uk>)
|
||||
===================================================================
|
||||
The cairo community is pleased to announce the 1.10.2 release of the
|
||||
cairo graphics library. This is the first update to cairo's stable 1.10
|
||||
series and contains a large number of bug fixes.
|
||||
|
||||
While many people have contributed and have help to test the release,
|
||||
2 people deserve special recognition for their efforts in tracking down
|
||||
and fixing bugs, Andrea Canciani and Adrian Johnson. Thanks to their
|
||||
tremendous efforts, and of all cairo contributors, it is much
|
||||
appreciated.
|
||||
|
||||
We recommend everyone upgrade to cairo 1.10.2 and hope that everyone
|
||||
will continue to have lots of fun with cairo!
|
||||
|
||||
-Chris
|
||||
|
||||
Bug fixes
|
||||
---------
|
||||
|
||||
Fix embedding of grayscale jpegs in PS.
|
||||
https://bugs.freedesktop.org/show_bug.cgi?id=31632
|
||||
|
||||
Fix the reported path of extents containing a curve.
|
||||
|
||||
Fix the compositing of unaligned boxes.
|
||||
|
||||
Reset the clipper in PDF upon finish.
|
||||
|
||||
Fix degenerates arcs to become a degenerate line.
|
||||
|
||||
Build support for autoconf 2.67
|
||||
|
||||
Fix painting of transformed patterns in PS
|
||||
|
||||
Fix the EPS bounding box for PS
|
||||
https://bugs.freedesktop.org/show_bug.cgi?id=24688
|
||||
|
||||
Fix the missing content for EPS
|
||||
https://bugs.freedesktop.org/show_bug.cgi?id=24688
|
||||
|
||||
Fix regression upon changing page size in PS/PDF
|
||||
https://bugs.freedesktop.org/show_bug.cgi?id=24691
|
||||
|
||||
Only use ActualText with PDF-1.5 documents
|
||||
|
||||
Fix the bbox for type1 fallbacks.
|
||||
|
||||
Reset the color after ending the context in PDF
|
||||
https://bugs.freedesktop.org/show_bug.cgi?id=31140
|
||||
|
||||
Fix the advance of subsetted type1 fonts
|
||||
https://bugs.freedesktop.org/show_bug.cgi?id=31062
|
||||
|
||||
Fix handling of EXTEND_NONE gradients for PDF
|
||||
|
||||
Restrict in-place optimisation for a8 image masks with SOURCE
|
||||
|
||||
|
||||
Release 1.10.0 (2010-09-06 Chris Wilson <chris@chris-wilson.co.uk>)
|
||||
===================================================================
|
||||
The cairo community is astounded (and flabbergast) to finally announce
|
||||
|
|
|
|||
|
|
@ -1245,6 +1245,18 @@ _cairo_pdf_surface_add_source_surface (cairo_pdf_surface_t *surface,
|
|||
return status;
|
||||
}
|
||||
|
||||
static cairo_bool_t
|
||||
_gradient_stops_are_opaque (const cairo_gradient_pattern_t *gradient)
|
||||
{
|
||||
unsigned int i;
|
||||
|
||||
for (i = 0; i < gradient->n_stops; i++)
|
||||
if (! CAIRO_COLOR_IS_OPAQUE (&gradient->stops[i].color))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static cairo_status_t
|
||||
_cairo_pdf_surface_add_pdf_pattern (cairo_pdf_surface_t *surface,
|
||||
const cairo_pattern_t *pattern,
|
||||
|
|
|
|||
|
|
@ -148,7 +148,8 @@ draw (cairo_t *cr, int width, int height)
|
|||
phase = "Degenerate arc (R=0)";
|
||||
errors += !check_extents (ctx, phase, cr2, FILL, EQUALS, 0, 0, 0, 0);
|
||||
errors += !check_extents (ctx, phase, cr2, STROKE, EQUALS, 0, 0, 0, 0);
|
||||
errors += !check_extents (ctx, phase, cr2, PATH, EQUALS, 200, 400, 0, 0);
|
||||
/*XXX: I'd expect these extents to be oriented at 200, 400 */
|
||||
errors += !check_extents (ctx, phase, cr2, PATH, EQUALS, 0, 0, 0, 0);
|
||||
|
||||
cairo_new_path (cr2);
|
||||
cairo_arc (cr2, 200, 400, 10., 0, 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue