_cairo_array_init (&surface->fonts, sizeof (cairo_pdf_font_t));
_cairo_array_init (&surface->fonts, sizeof (cairo_pdf_resource_t));
_cairo_pdf_surface_create_for_document (cairo_pdf_document_t	*document,					double			width_inches,					double			height_inches){    cairo_pdf_surface_t *surface;    surface = malloc (sizeof (cairo_pdf_surface_t));    if (surface == NULL)	return NULL;    _cairo_surface_init (&surface->base, &cairo_pdf_surface_backend);    surface->width_inches = width_inches;    surface->height_inches = height_inches;    surface->pattern = NULL;    _cairo_pdf_document_reference (document);    surface->document = document;    _cairo_array_init (&surface->streams, sizeof (cairo_pdf_stream_t *));    _cairo_array_init (&surface->patterns, sizeof (cairo_pdf_resource_t));    _cairo_array_init (&surface->xobjects, sizeof (cairo_pdf_resource_t));    _cairo_array_init (&surface->alphas, sizeof (double));    _cairo_array_init (&surface->fonts, sizeof (cairo_pdf_font_t));    return &surface->base;}