summaryrefslogtreecommitdiff
path: root/pango
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 /pango
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)
Diffstat (limited to 'pango')
-rw-r--r--pango/pangoxft-font.c4
1 files changed, 2 insertions, 2 deletions
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;
}