Mercurial > MadButterfly
diff src/shape_text.c @ 280:c8b6ca46950b mbtext
Add merged result
author | wycc |
---|---|
date | Sat, 31 Jan 2009 12:29:50 +0800 |
parents | 86a5ae82ccf2 |
children | 248a40d51473 |
line wrap: on
line diff
--- a/src/shape_text.c Sat Jan 31 11:51:19 2009 +0800 +++ b/src/shape_text.c Sat Jan 31 12:29:50 2009 +0800 @@ -107,7 +107,7 @@ coord_trans_pos(shape->coord, &x, &y); r = get_extents(text, &extents); - printf("x=%f y=%f text=%s ascent=%d,descent=%d,width=%d height=%d\n", x,y,text->data,PANGO_ASCENT(extents), PANGO_DESCENT(extents), extents.width, extents.height); + //printf("x=%f y=%f text=%s ascent=%d,descent=%d,width=%d height=%d\n", x,y,text->data,PANGO_ASCENT(extents), PANGO_DESCENT(extents), extents.width, extents.height); ASSERT(r == OK); text->d_x = x;