diff options
author | Owen Taylor <otaylor@redhat.com> | 2003-08-03 22:40:40 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2003-08-03 22:40:40 +0000 |
commit | 6b4e9e5eee2fd030a5e822ff841b8e06ac409001 (patch) | |
tree | 0ddfd0325fe4d864b414a453b56d674666366e98 /pango/pangofc-font.c | |
parent | 600e29e3172132daaa7fe679603b842d6fcdf2f5 (diff) | |
download | pango-6b4e9e5eee2fd030a5e822ff841b8e06ac409001.tar.gz |
Fix sign of metrics->descent.
Sun Aug 3 18:37:46 2003 Owen Taylor <otaylor@redhat.com>
* pango/pangofc-font.c (get_face_metrics): Fix sign
of metrics->descent.
* pango/pango-engine-private.h: fix include (Noah Levitt)
Diffstat (limited to 'pango/pangofc-font.c')
-rw-r--r-- | pango/pangofc-font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangofc-font.c b/pango/pangofc-font.c index bf218f73..02910615 100644 --- a/pango/pangofc-font.c +++ b/pango/pangofc-font.c @@ -244,7 +244,7 @@ get_face_metrics (PangoFcFont *fcfont, vector.x = 0; vector.y = face->size->metrics.descender; FT_Vector_Transform (&vector, &ft_matrix); - metrics->descent = PANGO_UNITS_26_6 (vector.y); + metrics->descent = - PANGO_UNITS_26_6 (vector.y); vector.x = 0; vector.y = face->size->metrics.ascender; @@ -253,7 +253,7 @@ get_face_metrics (PangoFcFont *fcfont, } else { - metrics->descent = PANGO_UNITS_26_6 (face->size->metrics.descender); + metrics->descent = - PANGO_UNITS_26_6 (face->size->metrics.descender); metrics->ascent = PANGO_UNITS_26_6 (face->size->metrics.ascender); } |