Changed font_extents to use accessors.
Changed text_extents to use accessors.