Do not check if we have enough space to draw (FS#731)

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2010-03-25 10:31:31 +01:00
parent a3163c40af
commit 167770d06f
1 changed files with 0 additions and 4 deletions

4
draw.c
View File

@ -169,10 +169,6 @@ draw_text(draw_context_t *ctx, draw_text_context_t *data,
PangoRectangle ext; PangoRectangle ext;
pango_layout_get_pixel_extents(ctx->layout, NULL, &ext); pango_layout_get_pixel_extents(ctx->layout, NULL, &ext);
/* Not enough space, draw nothing */
if(ext.width > area.width || ext.height > area.height)
return;
switch(align) switch(align)
{ {
case AlignCenter: case AlignCenter: