"Fossies" - the Fresh Open Source Software Archive  

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

412_tesseract_in_thread.t  (gscan2pdf-2.11.1.tar.xz):412_tesseract_in_thread.t  (gscan2pdf-2.11.2.tar.xz)
skipping to change at line 29 skipping to change at line 29
SKIP: { SKIP: {
skip 'Tesseract not installed', 5 skip 'Tesseract not installed', 5
unless Gscan2pdf::Tesseract->setup($logger); unless Gscan2pdf::Tesseract->setup($logger);
# Create test image # Create test image
# Deliberately not setting -units to provoke # Deliberately not setting -units to provoke
# "Invalid resolution 0 dpi. Using 70 instead." warning from tesseract, # "Invalid resolution 0 dpi. Using 70 instead." warning from tesseract,
# which should no longer occur, since v2.8.1 added --dpi to the tesseract # which should no longer occur, since v2.8.1 added --dpi to the tesseract
# call # call
system( system(
qw(convert +matte -depth 1 -colorspace Gray -pointsize 12 -density 300), qw(convert +matte -depth 1 -colorspace Gray), '-family', 'DejaVu Sans', qw(-pointsize 12 -density 300),
'label:The quick brown fox', 'label:The quick brown fox',
'test.png' 'test.png'
); );
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);
 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)