summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-12-20 03:41:49 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-12-20 03:41:49 +0000
commit6965084046a6df83181c123f277894436ab45037 (patch)
treeab6d8724e535750767cabcf0c62f79e0274d5be5
parentb94d0634798ad6f70dfda610c26b3621ae02dc21 (diff)
downloadpango-6965084046a6df83181c123f277894436ab45037.tar.gz
Remove incorrect special casing of initial line. (Reported by Darin Adler)
Wed Dec 19 22:40:24 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (get_line_extents_layout_coords): Remove incorrect special casing of initial line. (Reported by Darin Adler)
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-1-06
-rw-r--r--ChangeLog.pre-1-106
-rw-r--r--ChangeLog.pre-1-26
-rw-r--r--ChangeLog.pre-1-46
-rw-r--r--ChangeLog.pre-1-66
-rw-r--r--ChangeLog.pre-1-86
-rw-r--r--pango/pango-layout.c6
8 files changed, 43 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index bad62bd8..656c8fb3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Wed Dec 19 22:40:24 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-layout.c (get_line_extents_layout_coords):
+ Remove incorrect special casing of initial line.
+ (Reported by Darin Adler)
+
Tue Dec 18 12:33:03 2001 Owen Taylor <otaylor@redhat.com>
* modules/indic/*-x.c (pango_engine_shape): Syllable
diff --git a/ChangeLog.pre-1-0 b/ChangeLog.pre-1-0
index bad62bd8..656c8fb3 100644
--- a/ChangeLog.pre-1-0
+++ b/ChangeLog.pre-1-0
@@ -1,3 +1,9 @@
+Wed Dec 19 22:40:24 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-layout.c (get_line_extents_layout_coords):
+ Remove incorrect special casing of initial line.
+ (Reported by Darin Adler)
+
Tue Dec 18 12:33:03 2001 Owen Taylor <otaylor@redhat.com>
* modules/indic/*-x.c (pango_engine_shape): Syllable
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index bad62bd8..656c8fb3 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,9 @@
+Wed Dec 19 22:40:24 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-layout.c (get_line_extents_layout_coords):
+ Remove incorrect special casing of initial line.
+ (Reported by Darin Adler)
+
Tue Dec 18 12:33:03 2001 Owen Taylor <otaylor@redhat.com>
* modules/indic/*-x.c (pango_engine_shape): Syllable
diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2
index bad62bd8..656c8fb3 100644
--- a/ChangeLog.pre-1-2
+++ b/ChangeLog.pre-1-2
@@ -1,3 +1,9 @@
+Wed Dec 19 22:40:24 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-layout.c (get_line_extents_layout_coords):
+ Remove incorrect special casing of initial line.
+ (Reported by Darin Adler)
+
Tue Dec 18 12:33:03 2001 Owen Taylor <otaylor@redhat.com>
* modules/indic/*-x.c (pango_engine_shape): Syllable
diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4
index bad62bd8..656c8fb3 100644
--- a/ChangeLog.pre-1-4
+++ b/ChangeLog.pre-1-4
@@ -1,3 +1,9 @@
+Wed Dec 19 22:40:24 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-layout.c (get_line_extents_layout_coords):
+ Remove incorrect special casing of initial line.
+ (Reported by Darin Adler)
+
Tue Dec 18 12:33:03 2001 Owen Taylor <otaylor@redhat.com>
* modules/indic/*-x.c (pango_engine_shape): Syllable
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index bad62bd8..656c8fb3 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,9 @@
+Wed Dec 19 22:40:24 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-layout.c (get_line_extents_layout_coords):
+ Remove incorrect special casing of initial line.
+ (Reported by Darin Adler)
+
Tue Dec 18 12:33:03 2001 Owen Taylor <otaylor@redhat.com>
* modules/indic/*-x.c (pango_engine_shape): Syllable
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index bad62bd8..656c8fb3 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,9 @@
+Wed Dec 19 22:40:24 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-layout.c (get_line_extents_layout_coords):
+ Remove incorrect special casing of initial line.
+ (Reported by Darin Adler)
+
Tue Dec 18 12:33:03 2001 Owen Taylor <otaylor@redhat.com>
* modules/indic/*-x.c (pango_engine_shape): Syllable
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 148909b3..76a1a085 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -1842,11 +1842,7 @@ get_line_extents_layout_coords (PangoLayout *layout,
{
*line_ink_layout = line_ink;
line_ink_layout->x = line_ink.x + x_offset;
-
- if (line == layout->lines->data)
- line_ink_layout->y = line_ink.y;
- else
- line_ink_layout->y = y_offset - line_logical.y + line_ink.y;
+ line_ink_layout->y = y_offset - line_logical.y + line_ink.y;
}
if (line_logical_layout)