simplified Text.path bounds calculation
font cache cleanup