[cairo-commit] src/cairo-pdf-surface.c

Behdad Esfahbod behdad at kemper.freedesktop.org
Sun Jun 29 10:56:46 PDT 2008


 src/cairo-pdf-surface.c |   21 +--------------------
 1 file changed, 1 insertion(+), 20 deletions(-)

New commits:
commit 686fa2600d25a2f69762b85435ce7f3a9907533b
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Sun Jun 29 13:56:14 2008 -0400

    [PDF] Remove show_glyphs that was a wrapper to show_text_glyphs
    
    The cairo-surface layer already does that itself.  Just set show_glyphs
    to NULL.

diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index f2f8453..3f4c17b 100644
--- a/src/cairo-pdf-surface.c
+++ b/src/cairo-pdf-surface.c
@@ -4854,25 +4854,6 @@ _cairo_pdf_surface_show_text_glyphs (void			*abstract_surface,
     return _cairo_output_stream_get_status (surface->output);
 }
 
-static cairo_int_status_t
-_cairo_pdf_surface_show_glyphs (void			*abstract_surface,
-				cairo_operator_t	 op,
-				cairo_pattern_t	       	*source,
-				cairo_glyph_t		*glyphs,
-				int			 num_glyphs,
-				cairo_scaled_font_t	*scaled_font,
-				int		        *remaining_glyphs)
-{
-    return _cairo_pdf_surface_show_text_glyphs (abstract_surface,
-						op,
-						source,
-						NULL, 0,
-						glyphs, num_glyphs,
-						NULL, 0,
-						FALSE,
-						scaled_font);
-}
-
 
 static void
 _cairo_pdf_surface_set_paginated_mode (void			*abstract_surface,
@@ -4913,7 +4894,7 @@ static const cairo_surface_backend_t cairo_pdf_surface_backend = {
     _cairo_pdf_surface_mask,
     _cairo_pdf_surface_stroke,
     _cairo_pdf_surface_fill,
-    _cairo_pdf_surface_show_glyphs,
+    NULL, /* show_glyphs */
     NULL, /* snapshot */
 
     NULL, /* is_compatible */


More information about the cairo-commit mailing list