~geyaeb

G. Eyaeb

Trackers

~geyaeb/haskell-pdftotext

Last active 9 months ago

~geyaeb/haskell-readability

Last active 3 years ago

~geyaeb/streamly-binary

Last active 4 years ago

#5 Re: nondeterministic segfaults and another error 4 years ago

Comment by ~geyaeb on ~geyaeb/haskell-pdftotext

Duplicated, see #4.

REPORTED RESOLVED DUPLICATE

#3 how to install pdftotext on osx with stack 4 years ago

Comment by ~geyaeb on ~geyaeb/haskell-pdftotext

This seems to be solved by requiring standard C++11, see 2f4d0fe3496e.

REPORTED RESOLVED FIXED

#1 Handle figures 4 years ago

Ticket 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

#1 Add "openXxx" functions that return error messages 4 years ago

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.

#1 Add "openXxx" functions that return error messages 4 years ago

~geyaeb assigned ~geyaeb to #1 on ~geyaeb/haskell-pdftotext

#2 Add more functions to Document 4 years ago

on ~geyaeb/haskell-pdftotext

REPORTED RESOLVED IMPLEMENTED

#2 Add more functions to Document 4 years ago

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.

#1 Add "openXxx" functions that return error messages 4 years ago

C++ added by ~geyaeb on ~geyaeb/haskell-pdftotext

#1 Add "openXxx" functions that return error messages 4 years ago

Ticket created by ~geyaeb on ~geyaeb/haskell-pdftotext

Currently functions openByteString and openFile return Nothing 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 and Error.cc).