pango r2687 - in trunk: . pango
- From: behdad svn gnome org
- To: svn-commits-list gnome org
- Subject: pango r2687 - in trunk: . pango
- Date: Wed, 6 Aug 2008 09:17:12 +0000 (UTC)
Author: behdad
Date: Wed Aug 6 09:17:11 2008
New Revision: 2687
URL: http://svn.gnome.org/viewvc/pango?rev=2687&view=rev
Log:
2008-08-06 Behdad Esfahbod <behdad gnome org>
* pango/pangocairo-render.c (pango_cairo_renderer_draw_glyph_item):
Fix cluster iteration.
Modified:
trunk/ChangeLog
trunk/pango/pangocairo-render.c
Modified: trunk/pango/pangocairo-render.c
==============================================================================
--- trunk/pango/pangocairo-render.c (original)
+++ trunk/pango/pangocairo-render.c Wed Aug 6 09:17:11 2008
@@ -439,8 +439,8 @@
g_warning ("pango_cairo_renderer_draw_glyph_item: bad cluster has num_glyphs %d", num_glyphs);
/* Discount empty and unknown glyphs */
- for (i = MIN (iter.start_glyph, iter.end_glyph);
- i < MAX (iter.start_glyph, iter.end_glyph);
+ for (i = MIN (iter.start_glyph, iter.end_glyph+1);
+ i < MAX (iter.start_glyph+1, iter.end_glyph);
i++)
{
PangoGlyphInfo *gi = &glyphs->glyphs[i];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]