summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-05-15 14:02:44 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-05-15 14:02:44 +0000
commit6aeaa59a980fa68e2bbbd28cbe026919642a7fa9 (patch)
tree268c0e84dae337c665f2c7076a85f3637c452c99
parent79c4fc98e49d5444c1c8483ae1fc224799a67e18 (diff)
downloadpango-6aeaa59a980fa68e2bbbd28cbe026919642a7fa9.tar.gz
Fix to correspond to extremely odd choice of sign convention in libXft.
Mon May 14 19:10:11 2001 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-font.c: Fix to correspond to extremely odd choice of sign convention in libXft. (#51476)
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-1-05
-rw-r--r--ChangeLog.pre-1-105
-rw-r--r--ChangeLog.pre-1-25
-rw-r--r--ChangeLog.pre-1-45
-rw-r--r--ChangeLog.pre-1-65
-rw-r--r--ChangeLog.pre-1-85
-rw-r--r--pango/pangoxft-font.c4
8 files changed, 37 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c9038594..16e3d605 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon May 14 19:10:11 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pangoxft-font.c: Fix to correspond to extremely
+ odd choice of sign convention in libXft. (#51476)
+
Wed May 9 10:11:06 2001 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (install-data-local): Get rid
diff --git a/ChangeLog.pre-1-0 b/ChangeLog.pre-1-0
index c9038594..16e3d605 100644
--- a/ChangeLog.pre-1-0
+++ b/ChangeLog.pre-1-0
@@ -1,3 +1,8 @@
+Mon May 14 19:10:11 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pangoxft-font.c: Fix to correspond to extremely
+ odd choice of sign convention in libXft. (#51476)
+
Wed May 9 10:11:06 2001 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (install-data-local): Get rid
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index c9038594..16e3d605 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,8 @@
+Mon May 14 19:10:11 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pangoxft-font.c: Fix to correspond to extremely
+ odd choice of sign convention in libXft. (#51476)
+
Wed May 9 10:11:06 2001 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (install-data-local): Get rid
diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2
index c9038594..16e3d605 100644
--- a/ChangeLog.pre-1-2
+++ b/ChangeLog.pre-1-2
@@ -1,3 +1,8 @@
+Mon May 14 19:10:11 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pangoxft-font.c: Fix to correspond to extremely
+ odd choice of sign convention in libXft. (#51476)
+
Wed May 9 10:11:06 2001 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (install-data-local): Get rid
diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4
index c9038594..16e3d605 100644
--- a/ChangeLog.pre-1-4
+++ b/ChangeLog.pre-1-4
@@ -1,3 +1,8 @@
+Mon May 14 19:10:11 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pangoxft-font.c: Fix to correspond to extremely
+ odd choice of sign convention in libXft. (#51476)
+
Wed May 9 10:11:06 2001 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (install-data-local): Get rid
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index c9038594..16e3d605 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,8 @@
+Mon May 14 19:10:11 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pangoxft-font.c: Fix to correspond to extremely
+ odd choice of sign convention in libXft. (#51476)
+
Wed May 9 10:11:06 2001 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (install-data-local): Get rid
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index c9038594..16e3d605 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,8 @@
+Mon May 14 19:10:11 2001 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pangoxft-font.c: Fix to correspond to extremely
+ odd choice of sign convention in libXft. (#51476)
+
Wed May 9 10:11:06 2001 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (install-data-local): Get rid
diff --git a/pango/pangoxft-font.c b/pango/pangoxft-font.c
index 346e9e24..52a087d5 100644
--- a/pango/pangoxft-font.c
+++ b/pango/pangoxft-font.c
@@ -411,8 +411,8 @@ pango_xft_font_get_glyph_extents (PangoFont *font,
if (ink_rect)
{
- ink_rect->x = extents.x * PANGO_SCALE;
- ink_rect->y = extents.y * PANGO_SCALE;
+ ink_rect->x = - extents.x * PANGO_SCALE; /* Xft crack-rock sign choice */
+ ink_rect->y = - extents.y * PANGO_SCALE; /* " */
ink_rect->width = extents.width * PANGO_SCALE;
ink_rect->height = extents.height * PANGO_SCALE;
}