[cairo-commit] libsvg-cairo ChangeLog, 1.59, 1.60 configure.in, 1.19, 1.20

Keith Packard commit at pdx.freedesktop.org
Tue Jul 12 12:37:46 PDT 2005


Committed by: keithp

Update of /cvs/cairo/libsvg-cairo
In directory gabe:/tmp/cvs-serv24540

Modified Files:
	ChangeLog configure.in 
Log Message:
2005-07-12  Keith Packard  <keithp at keithp.com>

* configure.in:
* src/Makefile.am:
* src/svg-cairo-internal.h:
* src/svg_cairo.c: (_svg_cairo_set_font_family),
(_svg_cairo_set_font_size), (_svg_cairo_set_font_style),
(_svg_cairo_set_font_weight), (_svg_cairo_render_text),
(_svg_cairo_text_size), (_svg_cairo_length_to_pixel):
* src/svg_cairo_sprintf_alloc.c:
* src/svg_cairo_state.c: (_svg_cairo_state_init),
(_svg_cairo_state_init_copy), (_svg_cairo_state_deinit):
Use pangocairo where available to draw text instead of
the toy API. Disable with ./configure -disable-pango

Also, add a few #defines needed to define some new libc
functions from system includes

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/libsvg-cairo/ChangeLog,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- ChangeLog	12 Jul 2005 18:46:22 -0000	1.59
+++ ChangeLog	12 Jul 2005 19:37:43 -0000	1.60
@@ -1,3 +1,21 @@
+2005-07-12  Keith Packard  <keithp at keithp.com>
+
+	* configure.in:
+	* src/Makefile.am:
+	* src/svg-cairo-internal.h:
+	* src/svg_cairo.c: (_svg_cairo_set_font_family),
+	(_svg_cairo_set_font_size), (_svg_cairo_set_font_style),
+	(_svg_cairo_set_font_weight), (_svg_cairo_render_text),
+	(_svg_cairo_text_size), (_svg_cairo_length_to_pixel):
+	* src/svg_cairo_sprintf_alloc.c:
+	* src/svg_cairo_state.c: (_svg_cairo_state_init),
+	(_svg_cairo_state_init_copy), (_svg_cairo_state_deinit):
+	Use pangocairo where available to draw text instead of
+	the toy API. Disable with ./configure -disable-pango
+	
+	Also, add a few #defines needed to define some new libc
+	functions from system includes
+
 2005-07-12  Carl Worth  <cworth at cworth.org>
 
 	* src/svg-cairo-internal.h:

Index: configure.in
===================================================================
RCS file: /cvs/cairo/libsvg-cairo/configure.in,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- configure.in	15 Jun 2005 22:35:03 -0000	1.19
+++ configure.in	12 Jul 2005 19:37:43 -0000	1.20
@@ -57,6 +57,16 @@
 AC_SUBST(LIBSVG_CAIRO_CFLAGS)
 AC_SUBST(LIBSVG_CAIRO_LIBS)
 
+AC_ARG_ENABLE(pango,
+	      AC_HELP_STRING([--disable-pango],
+	                     [Use pango to layout text elements]),
+	      [PANGOCAIRO=$enableval],
+	      [PANGOCAIRO=yes])
+if test x$PANGOCAIRO = xyes; then
+	PKG_CHECK_MODULES(PANGOCAIRO, pangocairo,
+		  AC_DEFINE(HAVE_PANGOCAIRO,1,[Has pangocairo module]))
+fi
+
 dnl ===========================================================================
 
 AC_OUTPUT([




More information about the cairo-commit mailing list