Text utilities for use with GD
