TextOutputDev: clip the selected text rendering to the selection box

Sometimes with italic text or text containing ligatures, part of the
glyph falls outside the selection box. By clipping to the selection box
we avoid drawing the whole glyph with the selection color.

https://bugs.freedesktop.org/show_bug.cgi?id=66983
1 file changed