"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "t/431_gocr.t" between
gscan2pdf-2.11.1.tar.xz and gscan2pdf-2.11.2.tar.xz

About: gscan2pdf is a GUI to produce PDFs from scanned documents (using Perl).

431_gocr.t  (gscan2pdf-2.11.1.tar.xz):431_gocr.t  (gscan2pdf-2.11.2.tar.xz)
skipping to change at line 24 skipping to change at line 24
SKIP: { SKIP: {
skip 'gocr not installed', 1 unless can_run('gocr'); skip 'gocr not installed', 1 unless can_run('gocr');
Gscan2pdf::Translation::set_domain('gscan2pdf'); Gscan2pdf::Translation::set_domain('gscan2pdf');
use Log::Log4perl qw(:easy); use Log::Log4perl qw(:easy);
Log::Log4perl->easy_init($WARN); Log::Log4perl->easy_init($WARN);
my $logger = Log::Log4perl::get_logger; my $logger = Log::Log4perl::get_logger;
Gscan2pdf::Document->setup($logger); Gscan2pdf::Document->setup($logger);
# Create test image # Create test image
system( qw(convert +matte -depth 1 -pointsize 12 -density 300), system( qw(convert +matte -depth 1 font DejaVu-Sans -pointsize 12 -density 3 00),
'label:The quick brown fox', 'test.pnm' ); 'label:The quick brown fox', 'test.pnm' );
my $slist = Gscan2pdf::Document->new; my $slist = Gscan2pdf::Document->new;
# dir for temporary files # dir for temporary files
my $dir = File::Temp->newdir; my $dir = File::Temp->newdir;
$slist->set_dir($dir); $slist->set_dir($dir);
$slist->import_files( $slist->import_files(
paths => ['test.pnm'], paths => ['test.pnm'],
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)