Skip to content

Add pdftotext -nodiag flag to remove diagonal text on output

Dan Shea requested to merge dshea/poppler:master into master

Provides a command line option to discard diagonal text (any text that is not close to one of the 0, 90, 180, or 270 degree axes) on output when using pdftotext. Adapted from Xpdf's pdftotext -nodiag, with modifications for different project structure. Primarily intended for optional removal of watermarks drawn over or under body text.

Merge request reports