[cairo-commit] cairo/src cairo.c,1.29,1.30 cairo.h,1.32,1.33 cairo_font.c,1.14,1.15 cairo_ft_font.c,1.7,1.8 cairo_gstate.c,1.33,1.34 cairoint.h,1.41,1.42

Andrew Chant commit at pdx.freedesktop.org
Thu Dec 11 11:13:01 PST 2003


Committed by: chant

Update of /cvs/cairo/cairo/src
In directory pdx:/tmp/cvs-serv1618/src

Modified Files:
	cairo.c cairo.h cairo_font.c cairo_ft_font.c cairo_gstate.c 
	cairoint.h 
Log Message:
cairo_select_font:
_cairo_font_create:
_cairo_gstate_select_font:
cairo_ft_font_create:
 change char * family to const char * family


Index: cairo.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** cairo.c	17 Nov 2003 15:04:16 -0000	1.29
--- cairo.c	11 Dec 2003 19:12:59 -0000	1.30
***************
*** 647,651 ****
  void
  cairo_select_font (cairo_t              *cr, 
! 		   char                 *family, 
  		   cairo_font_slant_t   slant, 
  		   cairo_font_weight_t  weight)
--- 647,651 ----
  void
  cairo_select_font (cairo_t              *cr, 
! 		   const char           *family, 
  		   cairo_font_slant_t   slant, 
  		   cairo_font_weight_t  weight)

Index: cairo.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** cairo.h	5 Dec 2003 16:53:07 -0000	1.32
--- cairo.h	11 Dec 2003 19:12:59 -0000	1.33
***************
*** 371,375 ****
  extern void __external_linkage
  cairo_select_font (cairo_t              *ct, 
! 		   char                 *family, 
  		   cairo_font_slant_t   slant, 
  		   cairo_font_weight_t  weight);
--- 371,375 ----
  extern void __external_linkage
  cairo_select_font (cairo_t              *ct, 
! 		   const char           *family, 
  		   cairo_font_slant_t   slant, 
  		   cairo_font_weight_t  weight);

Index: cairo_font.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_font.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** cairo_font.c	30 Oct 2003 18:55:04 -0000	1.14
--- cairo_font.c	11 Dec 2003 19:12:59 -0000	1.15
***************
*** 29,33 ****
  
  cairo_font_t *
! _cairo_font_create (char                 *family, 
  		    cairo_font_slant_t   slant, 
  		    cairo_font_weight_t  weight)
--- 29,33 ----
  
  cairo_font_t *
! _cairo_font_create (const char           *family, 
  		    cairo_font_slant_t   slant, 
  		    cairo_font_weight_t  weight)

Index: cairo_ft_font.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_ft_font.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** cairo_ft_font.c	31 Oct 2003 18:41:37 -0000	1.7
--- cairo_ft_font.c	11 Dec 2003 19:12:59 -0000	1.8
***************
*** 124,128 ****
  
  static cairo_font_t *
! _cairo_ft_font_create (char                 *family, 
                         cairo_font_slant_t   slant, 
                         cairo_font_weight_t  weight)
--- 124,128 ----
  
  static cairo_font_t *
! _cairo_ft_font_create (const char           *family, 
                         cairo_font_slant_t   slant, 
                         cairo_font_weight_t  weight)

Index: cairo_gstate.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_gstate.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** cairo_gstate.c	17 Nov 2003 15:04:16 -0000	1.33
--- cairo_gstate.c	11 Dec 2003 19:12:59 -0000	1.34
***************
*** 1553,1557 ****
  cairo_status_t
  _cairo_gstate_select_font (cairo_gstate_t       *gstate, 
! 			   char                 *family, 
  			   cairo_font_slant_t   slant, 
  			   cairo_font_weight_t  weight)
--- 1553,1557 ----
  cairo_status_t
  _cairo_gstate_select_font (cairo_gstate_t       *gstate, 
! 			   const char           *family, 
  			   cairo_font_slant_t   slant, 
  			   cairo_font_weight_t  weight)

Index: cairoint.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairoint.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** cairoint.h	8 Dec 2003 21:38:26 -0000	1.41
--- cairoint.h	11 Dec 2003 19:12:59 -0000	1.42
***************
*** 735,739 ****
  extern cairo_status_t __internal_linkage
  _cairo_gstate_select_font (cairo_gstate_t *gstate, 
! 			   char *family, 
  			   cairo_font_slant_t slant, 
  			   cairo_font_weight_t weight);
--- 735,739 ----
  extern cairo_status_t __internal_linkage
  _cairo_gstate_select_font (cairo_gstate_t *gstate, 
! 			   const char *family, 
  			   cairo_font_slant_t slant, 
  			   cairo_font_weight_t weight);
***************
*** 809,813 ****
  
  extern cairo_font_t * __internal_linkage
! _cairo_font_create (char                 *family, 
  		    cairo_font_slant_t   slant, 
  		    cairo_font_weight_t  weight);
--- 809,813 ----
  
  extern cairo_font_t * __internal_linkage
! _cairo_font_create (const char           *family, 
  		    cairo_font_slant_t   slant, 
  		    cairo_font_weight_t  weight);





More information about the cairo-commit mailing list