diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-11-17 20:45:57 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-11-17 20:45:57 +0000 |
commit | 3fd281efc12ebd086618317c98521cb69287599b (patch) | |
tree | 59cc085cce9d5f017430a598e09fb5691fefc03f | |
parent | 5ab5ba7137010fa6fc5be4c7e171fe3081f5f616 (diff) | |
download | pango-3fd281efc12ebd086618317c98521cb69287599b.tar.gz |
Test against start not zero.
Thu Nov 16 18:59:21 2000 Owen Taylor <otaylor@redhat.com>
* pango/glyphstring.c (pango_glyph_string_extents_range): Test
against start not zero.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-0 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-2 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-4 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 5 | ||||
-rw-r--r-- | pango/glyphstring.c | 2 |
8 files changed, 36 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Nov 16 18:59:21 2000 Owen Taylor <otaylor@redhat.com> + + * pango/glyphstring.c (pango_glyph_string_extents_range): Test + against start not zero. + Thu Nov 16 13:23:43 2000 Owen Taylor <otaylor@redhat.com> * docs/pango-sections.txt docs/tmpl/modules.sgml: Add diff --git a/ChangeLog.pre-1-0 b/ChangeLog.pre-1-0 index 0e078ec6..4bb1b421 100644 --- a/ChangeLog.pre-1-0 +++ b/ChangeLog.pre-1-0 @@ -1,3 +1,8 @@ +Thu Nov 16 18:59:21 2000 Owen Taylor <otaylor@redhat.com> + + * pango/glyphstring.c (pango_glyph_string_extents_range): Test + against start not zero. + Thu Nov 16 13:23:43 2000 Owen Taylor <otaylor@redhat.com> * docs/pango-sections.txt docs/tmpl/modules.sgml: Add diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 0e078ec6..4bb1b421 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,8 @@ +Thu Nov 16 18:59:21 2000 Owen Taylor <otaylor@redhat.com> + + * pango/glyphstring.c (pango_glyph_string_extents_range): Test + against start not zero. + Thu Nov 16 13:23:43 2000 Owen Taylor <otaylor@redhat.com> * docs/pango-sections.txt docs/tmpl/modules.sgml: Add diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2 index 0e078ec6..4bb1b421 100644 --- a/ChangeLog.pre-1-2 +++ b/ChangeLog.pre-1-2 @@ -1,3 +1,8 @@ +Thu Nov 16 18:59:21 2000 Owen Taylor <otaylor@redhat.com> + + * pango/glyphstring.c (pango_glyph_string_extents_range): Test + against start not zero. + Thu Nov 16 13:23:43 2000 Owen Taylor <otaylor@redhat.com> * docs/pango-sections.txt docs/tmpl/modules.sgml: Add diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4 index 0e078ec6..4bb1b421 100644 --- a/ChangeLog.pre-1-4 +++ b/ChangeLog.pre-1-4 @@ -1,3 +1,8 @@ +Thu Nov 16 18:59:21 2000 Owen Taylor <otaylor@redhat.com> + + * pango/glyphstring.c (pango_glyph_string_extents_range): Test + against start not zero. + Thu Nov 16 13:23:43 2000 Owen Taylor <otaylor@redhat.com> * docs/pango-sections.txt docs/tmpl/modules.sgml: Add diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index 0e078ec6..4bb1b421 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,8 @@ +Thu Nov 16 18:59:21 2000 Owen Taylor <otaylor@redhat.com> + + * pango/glyphstring.c (pango_glyph_string_extents_range): Test + against start not zero. + Thu Nov 16 13:23:43 2000 Owen Taylor <otaylor@redhat.com> * docs/pango-sections.txt docs/tmpl/modules.sgml: Add diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index 0e078ec6..4bb1b421 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,8 @@ +Thu Nov 16 18:59:21 2000 Owen Taylor <otaylor@redhat.com> + + * pango/glyphstring.c (pango_glyph_string_extents_range): Test + against start not zero. + Thu Nov 16 13:23:43 2000 Owen Taylor <otaylor@redhat.com> * docs/pango-sections.txt docs/tmpl/modules.sgml: Add diff --git a/pango/glyphstring.c b/pango/glyphstring.c index 9ac489c7..48b46b71 100644 --- a/pango/glyphstring.c +++ b/pango/glyphstring.c @@ -142,7 +142,7 @@ pango_glyph_string_extents_range (PangoGlyphString *glyphs, PangoGlyphGeometry *geometry = &glyphs->glyphs[i].geometry; - if (i == 0) + if (i == start) { pango_font_get_glyph_extents (font, glyphs->glyphs[i].glyph, ink_rect, logical_rect); |