G. Eyaeb
Comment by ~geyaeb on ~geyaeb/haskell-pdftotext
Duplicated, see #4.
REPORTED
RESOLVED DUPLICATEComment by ~geyaeb on ~geyaeb/haskell-pdftotext
This seems to be solved by requiring standard C++11, see 2f4d0fe3496e.
REPORTED
RESOLVED FIXEDTicket created by ~geyaeb on ~geyaeb/haskell-readability
<figure>
is not handled correctly. Should behave similarly to<img>
.Issues:
- figures can have multiple images
- sometimes readability produces empty
<figure />
which leads to incorrect render
Comment by ~geyaeb on ~geyaeb/haskell-pdftotext
#include "Error.h" #include "GlobalParams.h" static void errorcb(ErrorCategory, Goffset pos, const char *msg) { ... } setErrorCallback(errorcb); globalParams = std::make_unique<GlobalParams>(); globalParams->setErrQuiet(true);
This does not seem to work. Probably problem with global params which is accessible inside
poppler.cc
but not in poppler library.
~geyaeb assigned ~geyaeb to #1 on ~geyaeb/haskell-pdftotext
Ticket created by ~geyaeb on ~geyaeb/haskell-pdftotext
Poppler's
Document
class offers other useful functions that could be added, e. g.get_title()
,get_author()
,create_toc()
etc.
C++ added by ~geyaeb on ~geyaeb/haskell-pdftotext
Ticket created by ~geyaeb on ~geyaeb/haskell-pdftotext
Currently functions
openByteString
andopenFile
returnNothing
in case the input cannnot be parsed as valid PDF. Poppler itself prints messages to standard output. These messages could be collected and returned in case of errors (cf.GlobalParams.cc
andError.cc
).