pdfSetClipText
Separate clipped text from unclipped text.
void pdfSetClipText(int clip)
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 remove the
clipped text before doing layout, and then add it back in afterward.
This can be helpful, e.g., for tables where clipped text would overlap
the next column.
This setting is different from pdfSetDiscardClippedText
:
pdfSetDiscardClippedText
completely discards clipped text,
while pdfSetClipText
adds it back in to the layout.
This setting is global - it applies to all PDF handles.
C:
pdfSetClipText(1);