[cairo-commit] boilerplate/cairo-boilerplate.c TODO

Behdad Esfahbod behdad at kemper.freedesktop.org
Wed Feb 28 13:59:51 PST 2007


 TODO                            |   48 +++++++++++++++-------------------------
 boilerplate/cairo-boilerplate.c |    1 
 2 files changed, 20 insertions(+), 29 deletions(-)

New commits:
diff-tree 1dd647e26552961d2823ce4ee7cbd354450adf60 (from d0fe666a6ab1664af36a7b242d763c72f4e9f81b)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Feb 28 16:55:30 2007 -0500

    [TODO] Add/remove items

diff --git a/TODO b/TODO
index 6558edb..4d3de7c 100644
--- a/TODO
+++ b/TODO
@@ -16,7 +16,6 @@ Backwards compatible (API additions only
 P	Add cairo_arc_to.
 	Add support for custom caps (see below for details)
 	Add CAIRO_STATUS_DESTROYED
-	Add cairo_finish
 See New Api below
 
 Details on some of the above changes
@@ -52,15 +51,8 @@ Other changes (this text used to be in R
      PDF: minefield has broken selection (only with truetype subsetting code)
      4630  Fonts too large when drawing to image surface while printing
      4863  stroking problems with wide dashed lines
-     7497 _cairo_color_compute_shorts fails with FPU set to single ...
 
  Fix all expected failures (XFAIL) in the test suite
-     a8-mask
-     extend-reflect
-     filter-nearest-offset
-     leaky-dash
-     self-intersecting
-     text-rotate
 
  Fix disabled tests in the test suite
      show-glyphs-many
@@ -81,6 +73,9 @@ Other changes (this text used to be in R
 	http://lists.freedesktop.org/archives/cairo/2007-January/009372.html
      cairo_font_metrics_t
 	http://lists.freedesktop.org/archives/cairo/2007-January/009373.html
+     cairo_surface_show_page()
+	show_page is a surface operation and should have been there instead of
+	cairo_show_page() from the beginning.  Implement the right API now.
      User-font API---a couple of threads of interest:
 	http://lists.freedesktop.org/archives/cairo/2007-February/009539.html
         http://lists.freedesktop.org/archives/cairo/2006-May/006893.html
@@ -88,27 +83,26 @@ Other changes (this text used to be in R
      Polling API (cairo_get_serial and cairo_changed)
 
  PS/PDF improvements
-     1. Make image fallbacks finer-grained than a whole page
-     2. Ensure that PDF text output is "selectable". see this thread:
-	http://lists.freedesktop.org/archives/cairo/2007-January/009059.html
-     3. Fix extend modes in PDF
-     4. Fix encoding "issues" reported here:
-        http://lists.freedesktop.org/archives/cairo/2006-December/008985.html
-     5. Use glyph advances to generate more compact PS/PDF
-     6. Look into generating EPS.  That may be done using a new constructor
-        for the PS backend, or better, using an API similar to
-        cairo_svg_surface_restrict_to_version.  The PDF backend needs a
-        restrict_to API at some point too.
+     - Make image fallbacks finer-grained than a whole page
+     - Fix extend modes in PDF
+     - Fix encoding "issues" reported here:
+       http://lists.freedesktop.org/archives/cairo/2006-December/008985.html
+     - Use glyph advances to generate more compact PS/PDF (done for PDF)
+     - Look into generating EPS.  That may be done using a new constructor
+       for the PS backend, or better, using an API similar to
+       cairo_svg_surface_restrict_to_version.  The PDF backend needs a
+       restrict_to API at some point too.
 
  Xlib backend
-     1. xlib backend requires xrender to compile, while it can perform without
-        xrender at run time.  Make it compile without it. see
-	http://lists.freedesktop.org/archives/cairo/2006-October/008075.html
-     2. Cache patterns (maybe solid ones only). see
-	http://lists.freedesktop.org/archives/cairo/2006-December/008916.html
+     - xlib backend requires xrender to compile, while it can perform without
+       xrender at run time.  Make it compile without it. see
+       http://lists.freedesktop.org/archives/cairo/2006-October/008075.html
+     - Cache patterns (maybe solid ones only). see
+       http://lists.freedesktop.org/archives/cairo/2006-December/008916.html
+       http://lists.freedesktop.org/archives/cairo/2007-February/009825.html
 
  Quartz backend (maintainer needed!)
-     1. Mark Quartz backend as supported:
+     - Mark Quartz backend as supported:
 	 a. Incorporate into test suite
 	 b. Correct output for the entire suite
 
@@ -140,11 +134,6 @@ polygons will cause "leaking" until we i
 
 --
 
-Stroke extents might not work for degenerate cases, (e.g. single
-vertical or horizontal line).
-
---
-
 Stroke width of 0 might do bad things.
 
 --
diff --git a/boilerplate/cairo-boilerplate.c b/boilerplate/cairo-boilerplate.c
index 1bb102b..561e6df 100644
--- a/boilerplate/cairo-boilerplate.c
+++ b/boilerplate/cairo-boilerplate.c
@@ -211,6 +211,7 @@ test_paginated_write_to_png (cairo_surfa
     test_paginated_closure_t *tpc;
 
     /* show page first.  the automatic show_page is too late for us */
+    /* XXX use cairo_surface_show_page() when that's added */
     cairo_t *cr = cairo_create (surface);
     cairo_show_page (cr);
     cairo_destroy (cr);


More information about the cairo-commit mailing list