Changed the specification for non-fitting text being rendered.

I don't know why I previously specified that the height should be
ignored when the text doesn't fit in it. I've changed it to
something more sensible: the text that doesn't fit is cut off;
which part of the text is cut depends on the valign argument.