[cairo-commit] cairo/src cairo_pdf_surface.c,1.8,1.9
Owen Taylor
commit at pdx.freedesktop.org
Tue Jan 25 10:56:53 PST 2005
Committed by: otaylor
Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv30616/src
Modified Files:
cairo_pdf_surface.c
Log Message:
2005-01-25 Owen Taylor <otaylor at redhat.com>
* src/cairo_pdf_surface.c (_cairo_pdf_document_get_font): Chec
pdf_font for NULL, not font.
Index: cairo_pdf_surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_pdf_surface.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- cairo_pdf_surface.c 21 Jan 2005 22:33:48 -0000 1.8
+++ cairo_pdf_surface.c 25 Jan 2005 18:56:50 -0000 1.9
@@ -1726,7 +1726,7 @@
/* FIXME: Figure out here which font backend is in use and call
* the appropriate constructor. */
pdf_font = cairo_pdf_ft_font_create (document, unscaled_font);
- if (font == NULL)
+ if (pdf_font == NULL)
return NULL;
if (_cairo_array_append (&document->fonts, &pdf_font, 1) == NULL) {
More information about the cairo-commit
mailing list