"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "t/355_unpaper2.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).

355_unpaper2.t  (gscan2pdf-2.11.1.tar.xz):355_unpaper2.t  (gscan2pdf-2.11.2.tar.xz)
skipping to change at line 26 skipping to change at line 26
Gscan2pdf::Translation::set_domain('gscan2pdf'); Gscan2pdf::Translation::set_domain('gscan2pdf');
my $unpaper = my $unpaper =
Gscan2pdf::Unpaper->new( { 'output-pages' => 2, layout => 'double' } ); Gscan2pdf::Unpaper->new( { 'output-pages' => 2, layout => 'double' } );
use Log::Log4perl qw(:easy); use Log::Log4perl qw(:easy);
Log::Log4perl->easy_init($WARN); Log::Log4perl->easy_init($WARN);
Gscan2pdf::Document->setup(Log::Log4perl::get_logger); Gscan2pdf::Document->setup(Log::Log4perl::get_logger);
# Create test image # Create test image
system( system(
qw(convert +matte -depth 1 -border 2x2 -bordercolor black -pointsize 12 -density 300), qw(convert +matte -depth 1 -border 2x2 -bordercolor black), '-family', ' DejaVu Sans', qw(-pointsize 12 -density 300),
'label:The quick brown fox', 'label:The quick brown fox',
'1.pnm' '1.pnm'
); );
system( system(
qw(convert +matte -depth 1 -border 2x2 -bordercolor black -pointsize 12 -density 300), qw(convert +matte -depth 1 -border 2x2 -bordercolor black), '-family', ' DejaVu Sans', qw(-pointsize 12 -density 300),
'label:The slower lazy dog', 'label:The slower lazy dog',
'2.pnm' '2.pnm'
); );
system(qw(convert -size 100x100 xc:black black.pnm)); system(qw(convert -size 100x100 xc:black black.pnm));
system(qw(convert 1.pnm black.pnm 2.pnm +append test.pnm)); system(qw(convert 1.pnm black.pnm 2.pnm +append 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;
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

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