[poppler] [PATCH] fix CairoOutputDevice text clipping

Kristian Høgsberg krh at bitplanet.net
Mon Jan 9 18:59:26 PST 2006


Jeff Muizelaar wrote:
> This patch fixes the following fixme in CairoOutputDevice.
> 
> // FIXME: This is quite right yet, we need to accumulate all
> // glyphs within one text object before we clip.  Right now this
> // just add this one string.
> 
> It fixes it following a strategy similar to the one the Splash backend
> does. textClipPath is used to store the appended path from each call to
> endString(). The accumulated path is clipped in endTextObject.

This looks just right, please commit.

thanks,
Kristian



More information about the poppler mailing list