From 7dce5360424a98e4100bd78e768c220959633145 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 9 May 2008 15:28:02 +0200 Subject: [PATCH] Add XXX marker --- src/cairo-scaled-font.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cairo-scaled-font.c b/src/cairo-scaled-font.c index e12446cca..8b250a2fc 100644 --- a/src/cairo-scaled-font.c +++ b/src/cairo-scaled-font.c @@ -818,6 +818,7 @@ cairo_scaled_font_destroy (cairo_scaled_font_t *scaled_font) * the reference count). To make room for it, we do actually * destroy the least-recently-used holdover. */ + if (font_map->num_holdovers == CAIRO_SCALED_FONT_MAX_HOLDOVERS) { lru = font_map->holdovers[0]; @@ -1217,7 +1218,7 @@ _cairo_scaled_font_glyph_device_extents (cairo_scaled_font_t *scaled_font, if (status) return _cairo_scaled_font_set_error (scaled_font, status); - /* glyph images are snapped to pixel locations */ + /* XXX glyph images are snapped to pixel locations */ x = _cairo_lround (glyphs[i].x); y = _cairo_lround (glyphs[i].y);