[cairo-commit] 4 commits - configure.in doc/public NEWS

Carl Worth cworth at kemper.freedesktop.org
Sat Jan 20 03:20:44 PST 2007


 NEWS                       |   93 +++++++++++++++++++++++++++++++++++++++++++++
 configure.in               |    2 
 doc/public/tmpl/cairo.sgml |   11 -----
 3 files changed, 94 insertions(+), 12 deletions(-)

New commits:
diff-tree 1e52ce5a0981aac72452f1f7d7988e6382b0abcc (from 53358ddc73b985b5cf6493dc48c54073fd7c59fc)
Author: Carl Worth <cworth at cworth.org>
Date:   Sat Jan 20 03:20:30 2007 -0800

    doc tmpl churn

diff --git a/doc/public/tmpl/cairo.sgml b/doc/public/tmpl/cairo.sgml
index 739f74b..4b9dc0e 100644
--- a/doc/public/tmpl/cairo.sgml
+++ b/doc/public/tmpl/cairo.sgml
@@ -233,7 +233,6 @@ The cairo drawing context
 </para>
 
 @cr: 
- at count: 
 @Returns: 
 
 
@@ -245,7 +244,6 @@ The cairo drawing context
 @cr: 
 @dashes: 
 @offset: 
- at Returns: 
 
 
 <!-- ##### ENUM cairo_fill_rule_t ##### -->
@@ -483,15 +481,6 @@ The cairo drawing context
 @rectangle_list: 
 
 
-<!-- ##### FUNCTION cairo_copy_clip_rectangles ##### -->
-<para>
-
-</para>
-
- at cr: 
- at Returns: 
-
-
 <!-- ##### FUNCTION cairo_fill ##### -->
 <para>
 
diff-tree 53358ddc73b985b5cf6493dc48c54073fd7c59fc (from c34a1a75fdb886b7a69875fb92d30c6dfd9d39cb)
Author: Carl Worth <cworth at cworth.org>
Date:   Sat Jan 20 03:20:18 2007 -0800

    configure.in: Increment version to 1.3.13 after making the 1.3.12 snapshot

diff --git a/configure.in b/configure.in
index 1c87e3e..25ae86b 100644
--- a/configure.in
+++ b/configure.in
@@ -5,7 +5,7 @@ dnl An odd micro number indicates in-pro
 dnl An even micro number indicates a released version.
 m4_define(cairo_version_major, 1)
 m4_define(cairo_version_minor, 3)
-m4_define(cairo_version_micro, 12)
+m4_define(cairo_version_micro, 13)
 
 AC_INIT([cairo],
       cairo_version_major.cairo_version_minor.cairo_version_micro,
diff-tree c34a1a75fdb886b7a69875fb92d30c6dfd9d39cb (from 26e6c73aab3fbfb4e2c893b4064cd8e85dc25346)
Author: Carl Worth <cworth at cworth.org>
Date:   Sat Jan 20 03:04:31 2007 -0800

    configure.in: Increment cairo version to 1.3.12

diff --git a/configure.in b/configure.in
index 449245a..1c87e3e 100644
--- a/configure.in
+++ b/configure.in
@@ -5,7 +5,7 @@ dnl An odd micro number indicates in-pro
 dnl An even micro number indicates a released version.
 m4_define(cairo_version_major, 1)
 m4_define(cairo_version_minor, 3)
-m4_define(cairo_version_micro, 11)
+m4_define(cairo_version_micro, 12)
 
 AC_INIT([cairo],
       cairo_version_major.cairo_version_minor.cairo_version_micro,
diff-tree 26e6c73aab3fbfb4e2c893b4064cd8e85dc25346 (from 87b3ac10af6b18d57236ae7e595e84e11e12eaad)
Author: Carl Worth <cworth at cworth.org>
Date:   Sat Jan 20 02:58:15 2007 -0800

    NEWS: Add notes for 1.3.12 snapshot

diff --git a/NEWS b/NEWS
index 29efdb4..b373fe6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,96 @@
+Snapshot 1.3.12 (2007-01-20 Carl Worth <cworth at cworth.org>)
+===========================================================
+The relentless march toward the cairo 1.4 release continues, (even if
+slightly late out of the starting blocks in 2007). This is the sixth
+development snapshot in the 1.3 series. It comes 4 weeks after the
+1.3.10 snapshot.
+
+Performance
+-----------
+As usual, this snapshot has some fun performance improvements to show
+off:
+
+image-rgba long-lines-uncropped-100  470.08 -> 4.95: 94.91x speedup
+███████████████████████████████████████████████
+image-rgb  long-lines-uncropped-100  461.60 -> 4.96: 93.02x speedup
+██████████████████████████████████████████████
+
+This 100x improvement, (and yes, that's 100x, not 100%), in the image
+backend occurs when drawing large shapes where only a fraction of the
+shape actually appears in the final result, (the rest being outside
+the bounds of the destination surface). Many applications should see
+speedups here, and the actual amount of speedup depends on the ratio
+of non-visible to visible portions of geometry.
+
+[Note: There remains a similar performance bug when drawing mostly
+non-visible objects with the xlib backend. This is due to a similar
+bug in the X server itself, but we hope a future cairo snapshot will
+workaround that bug to get a similar speedup with the xlib backend.]
+
+image-rgba       unaligned_clip-100    0.09 -> 0.06:  1.67x speedup
+▍
+image-rgb        unaligned_clip-100    0.09 -> 0.06:  1.66x speedup
+▍
+
+This speedup is due to further MMX optimization by Soeren Sandmann for
+a case commonly hit when rendering PDF files, (and thanks to Jeff
+Muizelaar for writing code to extract the test case for us).
+
+There's another MMX optimization in this snapshot (without a fancy
+speedup chart) by Dan Williams which improves compositing performance
+specifically for the OLPC machine.
+
+Thanks to Adrian Johnson, cairo's PDF output is now much more
+efficient in the way it encodes text output. By reducing redundant
+information and adding compression to text output streams, Adrian
+achieved a ~25x improvement in the efficiency of encoding text in PDF
+files, (was ~45 bytes per glyph and is now ~1.6 bytes per glyph).
+
+Bug fixes
+---------
+In addition to those performance improvements, this snapshot includes
+several bug fixes:
+
+ * A huge number of bug fixes for cairo-atsui text rendering, (for mac
+   OS X). These bugs affect font selection, glyph positioning, glyph
+   rendering, etc. One noteworthy bug fixes is that
+   cairo_select_font_face will no longer arbitrarily select bold nor
+   italic when not requested, (at least not when using a standard CSS2
+   font family name such as "serif", "sans-serif", "monospace", etc.).
+   All these fixes are thanks to Brian Ewins who continues to do a
+   great job as the new cairo-atsui maintainer.
+
+ * Fix PDF output so that images that are scaled down no longer
+   mysteriously repeat (Carl Worth).
+
+ * Fix segfault on Mac OS X dues to attempt to measure extents of a
+   zero-length string (Behdad Esfahbod).
+
+ * Fix text extents to not include the size of initial/trailing
+   non-inked characters (Behdad Esfahbod).
+
+API tweaks
+----------
+Three functions have had API changes to improve consistency. Note that
+the API functions being changed here are all functions that were
+introduced as new functions during these 1.3.x snapshots. As always,
+there will not be any API changes to functions included in a major
+release (1.2.x, 1.4.x, etc.) of cairo.
+
+The changes are as follows:
+
+ * Rename of cairo_copy_clip_rectangles to cairo_copy_clip_rectangle_list.
+
+ * Change cairo_get_dash_count to return an int rather than accepting a
+   pointer to an int for the return value.
+
+ * Change cairo_get_dash to have a void return type rather than
+   returning cairo_status_t.
+
+It's possible there will be one more round of changes to these
+functions, (and perhaps cairo_get_color_stop as well), as we seek to
+establish a unifying convention for returning lists of values.
+
 Snapshot 1.3.10 (2006-12-23 Carl Worth <cworth at cworth.org>)
 ===========================================================
 Santa Claus is coming just a little bit early this year, and he's


More information about the cairo-commit mailing list