Discard clipped text.
[read/write property] discardClippedText([out, retval] VARIANT_BOOL *discard) discardClippedText([in] VARIANT_BOOL discard)
XpdfText normally treats clipped text the same as other text. This can cause problems if the clipped text overlaps other content. If this function is called with a non-zero argument, XpdfText will discard all clipped text.

This setting is different from clipText: discardClippedText completely discards clipped text, while clipText adds it back in to the layout.

pdf.discardClippedText = True