diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c index 0d4cc1752..09f5e0be5 100644 --- a/clutter/clutter-text.c +++ b/clutter/clutter-text.c @@ -1853,7 +1853,7 @@ clutter_text_get_preferred_height (ClutterActor *self, * the height accordingly */ logical_height = logical_rect.y + logical_rect.height; - layout_height = (gfloat) logical_height / 1024.0f; + layout_height = ceilf ((gfloat) logical_height / 1024.0f + 0.5); if (min_height_p) {