summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-10-04 18:34:09 -0700
committerCarl Worth <cworth@cworth.org>2006-11-02 13:02:02 -0800
commit2734968e2999eb7693f2bf6fb62446e593db749c (patch)
tree292b5ac3b2106ad8e972b8f61dec38dbc2199b7c
parentc6beeda701b24e5056615a261f21da12a42636ab (diff)
Fix typo that was resulting in device glyph_extents of INT16_MAX in some cases.
(cherry picked from f1db0135476a039ea43dfd67c56763b05aea2ec4 commit)
-rwxr-xr-xsrc/cairo-scaled-font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-scaled-font.c b/src/cairo-scaled-font.c
index 700f209a0..0a96b9db6 100755
--- a/src/cairo-scaled-font.c
+++ b/src/cairo-scaled-font.c
@@ -834,7 +834,7 @@ _cairo_scaled_font_glyph_device_extents (cairo_scaled_font_t *scaled_font,
cairo_status_t status = CAIRO_STATUS_SUCCESS;
int i;
int min_x = INT16_MAX, max_x = INT16_MIN;
- int min_y = INT16_MAX, max_y = INT16_MAX;
+ int min_y = INT16_MAX, max_y = INT16_MIN;
if (scaled_font->status)
return scaled_font->status;