Request: Update TextOutputDev.cc (sync with xpdf)
File TextOutputDev.cc
is important for the pdftotext
tool. Since the forking it received a lot of improvements:
https://gitlab.freedesktop.org/poppler/poppler/-/commits/master/poppler/TextOutputDev.cc
Original TextOutputDev.cc
(in the Xpdf project) also received a lot of changes since the 3.00 release. It received support for splitting input into blocks and outputting using multiple layouts.
It seems both implementations diverged significantly and both gained some important features. Unfortunately there are some Xpdf-only features that poppler users may be missing. That includes support for pdftotext
modes like -simple
, -simple2
and -table
.
Is there any sane way of bringing Xpdf TextOutputDev.cc
improvements into poppler?
It seems like an impossible task to port all poppler changes to the most recent Xpdf's TextOutputDev.cc
. Too many of them.
There is no public Xpdf git repository so we can't port their commits to poppler one by one. Generating diff
from release to release results in huge non-described bunch of changes.
Does anyone have any idea how/if this could be solved?