I'm using the perl wrapper..
to the poppler library.
I'm trying to extract text from a page like this:
my $pdf = Poppler::Document->new_from_file( $file );
my $page = $pdf->get_page(0);
my $text = $page->get_text();
On one system, form feeds are added to the end of every line,
on others it doesn't. So I suspect some global configuration
must influence this behaviour.
I've read about configuration for xpdf ( xpdfrc ), where you can disable form
using the parameter nopgbrk?, which influence the "GlobalParams" class.
But it does not seem to work in my case. The configuration is not used at all.
Is there any way in the library to set this behaviour using the API?
Thanks in advance
poppler mailing list