[cairo-commit] cairo ChangeLog,1.80,1.81

Carl Worth commit at pdx.freedesktop.org
Fri Oct 24 10:01:36 PDT 2003


Committed by: cworth

Update of /cvs/cairo/cairo
In directory pdx:/tmp/cvs-serv25267

Modified Files:
	ChangeLog 
Log Message:
Create a font by default.
Remove bogus NULL_POINTER status errors leaking to the outside.

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo/ChangeLog,v
retrieving revision 1.80
retrieving revision 1.81
diff -C2 -d -r1.80 -r1.81
*** ChangeLog	23 Oct 2003 22:22:28 -0000	1.80
--- ChangeLog	24 Oct 2003 17:01:34 -0000	1.81
***************
*** 1,2 ****
--- 1,23 ----
+ 2003-10-24  Carl Worth  <cworth at east.isi.edu>
+ 
+ 	* src/cairoint.h: No need for CAIRO_INT_STATUS_NULL_POINTER
+ 	(CAIRO_FONT_BACKEND_DEFAULT): Move declaration of default font
+ 	backend up into cairoint.h
+ 
+ 	* src/cairo_gstate.c (_cairo_gstate_init): Create a default font,
+ 	don't leave it NULL.
+ 	(_cairo_gstate_current_font): gstate->font must never be NULL.
+ 	(_cairo_gstate_current_font_extents): Can never be called with a
+ 	NULL gstate.
+ 
+ 	* src/cairo_font.c (_cairo_font_create): Rename
+ 	_cairo_font_create_font and move to top of file.
+ 	(_cairo_font_init, _cairo_font_scale, _cairo_font_transform)
+ 	(_cairo_font_text_extents, _cairo_font_glyph_extents)
+ 	(_cairo_font_show_text, _cairo_font_show_glyphs)
+ 	(_cairo_font_text_path, _cairo_font_glyph_path)
+ 	(_cairo_font_font_extents): These internal functions can never be
+ 	called with a NULL font.
+ 
  2003-10-23  Graydon Hoare <graydon at redhat.com>
  





More information about the cairo-commit mailing list