"Fossies" - the Fresh Open Source Software Archive  

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

1122_save_pdf_with_hocr.t  (gscan2pdf-2.11.1.tar.xz):1122_save_pdf_with_hocr.t  (gscan2pdf-2.11.2.tar.xz)
skipping to change at line 22 skipping to change at line 22
######################### #########################
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( system(
qw(convert +matte -depth 1 -colorspace Gray -pointsize 12 -units PixelsPerIn ch -density 300), qw(convert +matte -depth 1 -colorspace Gray), '-family', 'DejaVu Sans', qw(- pointsize 12 -units PixelsPerInch -density 300),
'label:The quick brown fox', 'label:The quick brown fox',
qw(-border 20x10 test.png) qw(-border 20x10 test.png)
); );
my $info = capture(qw(identify test.png)); my $info = capture(qw(identify test.png));
my ( $width, $height ); my ( $width, $height );
if ( $info =~ /(\d+)+x(\d+)/ ) { ( $width, $height ) = ( $1, $2 ) } if ( $info =~ /(\d+)+x(\d+)/ ) { ( $width, $height ) = ( $1, $2 ) }
my $slist = Gscan2pdf::Document->new; my $slist = Gscan2pdf::Document->new;
# dir for temporary files # dir for temporary files
 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)