summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUGS7
-rw-r--r--ChangeLog16
-rw-r--r--TODO21
-rw-r--r--cairo.pc.in4
-rw-r--r--src/cairo.c3
5 files changed, 49 insertions, 2 deletions
diff --git a/BUGS b/BUGS
index 7803b41bb..e71001539 100644
--- a/BUGS
+++ b/BUGS
@@ -1,3 +1,10 @@
+The caches need to have some locking.
+
+--
+
+Scaling of surface patterns is all broken, (try xsvg
+gradPatt-pattern-BE-07.svg and zoom in and out).
+
--
centi_unfinished.svg has big black portions when drawn with svg2png,
diff --git a/ChangeLog b/ChangeLog
index 9ee09d7a3..e15ae140c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2005-01-12 Carl Worth <cworth@cworth.org>
+
+ * test/fill_rule.c: Add big_star_path which shows we still have
+ fill bugs, (even now that little_star_path is working).
+
+ * src/cairo.c (cairo_sane_state): A NULL cairo_t * is not sane.
+
+ * cairo.pc.in (Libs,Cflags): Add freetype flags so that things
+ work with freetype in a non-standard location, (a little extra
+ work here since freetype doesn't use pkg-config).
+
+ * TODO: Add several items culled from recent mailing list
+ discussions.
+
+ * BUGS: Add bugs on cache locking and surface pattern scaling.
+
2005-01-11 Keith Packard <keithp@keithp.com>
* src/cairo_matrix.c: (_cairo_matrix_compute_scale_factors):
diff --git a/TODO b/TODO
index df496fa9c..bbd549f99 100644
--- a/TODO
+++ b/TODO
@@ -1,3 +1,24 @@
+* Add support for non-antialiased rendering. API ?
+
+* Cleanup cairo_snippets so they operate in a more default cairo
+ environment, (particularly with a default CTM).
+
+* Add one of cairo_surface_finish/_finalize/_close to resolve the
+ "reference counting vs garbage collection" thread.
+
+* Shove experimental snapping code from libsvg-cairo down int cairo
+ proper.
+
+* Clean up the cache code a bit, (there is at least one redundant
+ level of cacheing, and there are some minor style issues).
+
+* Implement the parallel install stuff, (most importantly, push
+ cairo.h down into into one directory below $(includedir)).
+
+* Add CAIRO_FILL_RULE_INVERSE_WINDING and CAIRO_FILL_RULE_INVERSE_EVEN_ODD
+
+* Simplifying the operator set?
+
* Fix clipping to work for all operators. The equation we have come up
with is:
diff --git a/cairo.pc.in b/cairo.pc.in
index 7999eb692..4457b5d20 100644
--- a/cairo.pc.in
+++ b/cairo.pc.in
@@ -8,6 +8,6 @@ Description: Multi-platform 2D graphics library
Version: @VERSION@
Requires: fontconfig libpixman @XRENDER_REQUIRES@ @PNG_REQUIRES@ @GLITZ_REQUIRES@
-Libs: -L${libdir} -lcairo
-Cflags: -I${includedir}
+Libs: @FREETYPE_LIBS@ -L${libdir} -lcairo
+Cflags: @FREETYPE_CFLAGS@ -I${includedir}
diff --git a/src/cairo.c b/src/cairo.c
index 5cd0a0737..577c41985 100644
--- a/src/cairo.c
+++ b/src/cairo.c
@@ -45,6 +45,9 @@
static int
cairo_sane_state (cairo_t *cr)
{
+ if (cr == NULL)
+ return 0;
+
switch (cr->status) {
case CAIRO_STATUS_SUCCESS:
case CAIRO_STATUS_NO_MEMORY: