Simple text clipping

Here's my attempt at text clipping, using `GfxState::getClipBBox` which returns a rectangle which bounds the clipping path. I simply transform the character positions from text space to device space and check if they fall completely outside of the clipping rectangle. If it does, then an offset is inserted in its place.

This is the simplest possible implementation I could think of. It could be enhanced by detecting partially clipped characters (easy) and somehow tagging them as clipped, and then use the CSS `clip` property on them. That'll work for rectangles only, but that's probably 95% of the real use cases.