diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2008-05-28 19:10:09 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2008-05-28 19:10:09 -0400 |
commit | e8e23862333f4be69e2afd9ee41c9a27817f9659 (patch) | |
tree | 9c548030411bf3b81717b4f342baf9adf5860986 /src/cairo-user-font.c | |
parent | 4e1024114872a01fef01ec0b9136e09f4613e5d2 (diff) |
Remove some bogus XXX marks
These are all perfectly correct code. Most are simply there because when
we support vertical text writing mode we need to update there, but that's
pretty trivial. No special markers needed.
/me is trying to make user-font clean of XXX and TODO marks
Diffstat (limited to 'src/cairo-user-font.c')
-rw-r--r-- | src/cairo-user-font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-user-font.c b/src/cairo-user-font.c index 887e37a2..5fac3682 100644 --- a/src/cairo-user-font.c +++ b/src/cairo-user-font.c @@ -127,7 +127,7 @@ _cairo_user_scaled_glyph_init (void *abstract_font, * representation. */ matrix = scaled_font->base.scale_inverse; - status = _cairo_matrix_compute_scale_factors (&matrix, &x_scale, &y_scale, /* XXX */ 1); + status = _cairo_matrix_compute_scale_factors (&matrix, &x_scale, &y_scale, 1); if (status) return status; @@ -356,7 +356,7 @@ _cairo_user_font_face_scaled_font_create (void *abstract_ user_scaled_font->default_glyph_extents.width = 0.; user_scaled_font->default_glyph_extents.height = font_extents.ascent + font_extents.descent; user_scaled_font->default_glyph_extents.x_advance = font_extents.max_x_advance; - user_scaled_font->default_glyph_extents.y_advance = 0.; /* XXX */ + user_scaled_font->default_glyph_extents.y_advance = 0.; *scaled_font = &user_scaled_font->base; } |