text: Round up the size
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 21 Feb 2011 17:13:37 +0000 (17:13 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 21 Feb 2011 17:34:45 +0000 (17:34 +0000)
commit4442ddde8290a7ec447a070b624437579f678d56
treec001a0ef191bddef1801c2f2556337b22a33ed27
parent91740fd4df02d5ce313f1cdd3e3b5dd869628516
text: Round up the size

Converting from Pango units to pixels by using the C conventions might
cause us to lose a pixel; since we're doing the same for the height, we
should use ceilf() to round up the width and the line height.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2573
clutter/clutter-text.c