Incomplete implementation of text rendering.