A NULL cairo_t * is not sane.

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).
Add several items culled from recent mailing list discussions.
Add bugs on cache locking and surface pattern scaling.
This commit is contained in:
Carl Worth 2005-01-12 14:40:14 +00:00
parent 4796dc0b26
commit 5235dbb80f
5 changed files with 49 additions and 2 deletions

7
BUGS
View file

@ -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,

View file

@ -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):

21
TODO
View file

@ -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:

View file

@ -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}

View file

@ -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: