[cairo-commit] 2 commits - src/cairo-pdf-surface.c src/cairo-ps-surface.c test/fallback-resolution.c

Carl Worth cworth at kemper.freedesktop.org
Mon Jun 19 21:20:59 PDT 2006


 src/cairo-pdf-surface.c    |    8 --------
 src/cairo-ps-surface.c     |    8 --------
 test/fallback-resolution.c |    2 --
 3 files changed, 18 deletions(-)

New commits:
diff-tree 651b2a9ab0bdb5f8fa952e47e95c21d2f530950d (from 7026e24548fd0e4fbfb2bd3af7cffab8eab88d44)
Author: Carl Worth <cworth at cworth.org>
Date:   Mon Jun 19 21:16:03 2006 -0700

    test/fallback-resolution: Remove extra call to cairo_show_page

diff --git a/test/fallback-resolution.c b/test/fallback-resolution.c
index d1e7a63..b643689 100644
--- a/test/fallback-resolution.c
+++ b/test/fallback-resolution.c
@@ -125,8 +125,6 @@ main (void)
 
 	    draw (cr, SIZE, SIZE, ppi[page]);
 
-	    cairo_show_page (cr);
-
 	    /* Backend-specific means of "advancing a page" */
 	    switch (backend) {
 	    case PDF:
diff-tree 7026e24548fd0e4fbfb2bd3af7cffab8eab88d44 (from cd5e08a9fee70b1ed2252d24e04db806769babcd)
Author: Carl Worth <cworth at cworth.org>
Date:   Mon Jun 19 21:15:26 2006 -0700

    PS PDF: Drop unused hex_digit functions, (now that output stream supports %02x)

diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index 8df2102..8f7194a 100644
--- a/src/cairo-pdf-surface.c
+++ b/src/cairo-pdf-surface.c
@@ -2527,14 +2527,6 @@ _cairo_pdf_surface_fill (void			*abstrac
     return status;
 }
 
-static char
-hex_digit (int i)
-{
-    i &= 0xf;
-    if (i < 10) return '0' + i;
-    return 'a' + (i - 10);
-}
-
 static cairo_int_status_t
 _cairo_pdf_surface_show_glyphs (void			*abstract_surface,
 				cairo_operator_t	 op,
diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c
index 78db1bf..4ded02e 100644
--- a/src/cairo-ps-surface.c
+++ b/src/cairo-ps-surface.c
@@ -1857,14 +1857,6 @@ _cairo_ps_surface_fill (void		*abstract_
     return status;
 }
 
-static char
-hex_digit (int i)
-{
-    i &= 0xf;
-    if (i < 10) return '0' + i;
-    return 'a' + (i - 10);
-}
-
 static cairo_int_status_t
 _cairo_ps_surface_show_glyphs (void		     *abstract_surface,
 			       cairo_operator_t	      op,


More information about the cairo-commit mailing list