fix a bug in Text._get_layout that returns an incorrect information for an empty string
Authored by: leejjoon 2010-02-16
Parent: [r8134]
Child: [r8136]