pango r2721 - in trunk: . pango
- From: behdad svn gnome org
- To: svn-commits-list gnome org
- Subject: pango r2721 - in trunk: . pango
- Date: Mon, 22 Sep 2008 22:34:25 +0000 (UTC)
Author: behdad
Date: Mon Sep 22 22:34:24 2008
New Revision: 2721
URL: http://svn.gnome.org/viewvc/pango?rev=2721&view=rev
Log:
2008-09-22 Behdad Esfahbod <behdad gnome org>
* configure.in:
* pango/pangocairo-render.c
(pango_cairo_renderer_show_text_glyphs), (save_current_point):
Update to cairo-1.7.6 API.
Modified:
trunk/ChangeLog
trunk/configure.in
trunk/pango/pangocairo-render.c
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Mon Sep 22 22:34:24 2008
@@ -331,7 +331,7 @@
have_cairo_freetype=false
have_cairo_win32=false
have_cairo_atsui=false
-cairo_required=1.7.4
+cairo_required=1.7.6
PKG_CHECK_MODULES(CAIRO, cairo >= $cairo_required, have_cairo=true, AC_MSG_RESULT([no]))
Modified: trunk/pango/pangocairo-render.c
==============================================================================
--- trunk/pango/pangocairo-render.c (original)
+++ trunk/pango/pangocairo-render.c Mon Sep 22 22:34:24 2008
@@ -362,7 +362,7 @@
text, text_len,
cairo_glyphs, count,
clusters, num_clusters,
- backward);
+ backward ? CAIRO_TEXT_CLUSTER_FLAG_BACKWARD : 0);
else
cairo_show_glyphs (crenderer->cr, cairo_glyphs, count);
@@ -710,7 +710,7 @@
cairo_get_current_point (renderer->cr, &renderer->x_offset, &renderer->y_offset);
/* abuse save_current_point() to cache cairo_has_show_text_glyphs() result */
- renderer->has_show_text_glyphs = cairo_has_show_text_glyphs (renderer->cr);
+ renderer->has_show_text_glyphs = cairo_surface_has_show_text_glyphs (cairo_get_target (renderer->cr));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]