UP 474 lib/gocr/ocr0.c if( loop(box1->p,x0+dx/2,y1,y1-y0,cs,0,UP)>dy/3 ) Break; UP 488 lib/gocr/ocr0.c i=loop(box1->p,x0+dx/2,y1,y1-y0,cs,0,UP); if( i>dx/2 ) Break; UP 489 lib/gocr/ocr0.c j=loop(box1->p,x0 ,y1,y1-y0,cs,0,UP); if( j<i ) Break; UP 490 lib/gocr/ocr0.c j=loop(box1->p,x1 ,y1,y1-y0,cs,0,UP); if( j<i ) Break; UP 644 lib/gocr/ocr0.c turmite(box1->p,&x,&y,x0,x1,y0,y1,cs,UP,ST); if( y<y1-dy/4 ) Break; UP 645 lib/gocr/ocr0.c turmite(box1->p,&x,&y,x0,x1,y0,y1,cs,ST,UP); if( y<y0-dy/3 ) Break; UP 646 lib/gocr/ocr0.c turmite(box1->p,&x,&y,x0,x1,y0,y1,cs,RI,UP); if( x<=x1 || y<y0+dy/2 ) Break; UP 723 lib/gocr/ocr0.c for(x=i1;x<i2;x++) if( loop(sdata->bp,x,dy-1,dy,cs,0,UP) >dy/4 ) break; UP 823 lib/gocr/ocr0.c && loop(bp, dx/4,dy-1, dy,cs,0,UP)<dy/4 UP 824 lib/gocr/ocr0.c && loop(bp,3*dx/8,dy-1, dy,cs,0,UP)<dy/4 ) UP 835 lib/gocr/ocr0.c && loop(bp,3*dx/4,dy-1,dy,cs,0,UP) UP 836 lib/gocr/ocr0.c < loop(bp,2*dx/4,dy-1,dy,cs,0,UP) ) Break; // ~N UP 839 lib/gocr/ocr0.c && loop(bp,3*dx/4,dy-1-dy/8,dy,cs,0,UP) UP 840 lib/gocr/ocr0.c < loop(bp,2*dx/4,dy-1-dy/8,dy,cs,0,UP) ) Break; // ~serif_N UP 854 lib/gocr/ocr0.c if( loop(bp,dx-x,y-1,dy,cs,0,UP)>y-2 ) Break; // ~N UP 921 lib/gocr/ocr0.c && loop(bp,5*dx/8,dy-1,dy,cs,0,UP) >dy/2 ) ad=95*ad/100; UP 1140 lib/gocr/ocr0.c if (i>dx/4 && loop(bp,dx-1-i,dy-1,dy,cs,1,UP)>dy/2) { UP 1397 lib/gocr/ocr0.c i=loop(box1->p,x,y1,dy,cs,0,UP); UP 1399 lib/gocr/ocr0.c if (i>0) { i2=loop(box1->p,x-1,y1-i-1,dy,cs,0,UP); UP 1645 lib/gocr/ocr0.c if( loop(bp,dx-1,dy-1,dy,cs,0,UP)<dx/2 ) Break; // ~c UP 1663 lib/gocr/ocr0.c && loop(bp,dx-1-dx/8,dy-1 ,dy,cs,0,UP)<dy/4 ) { UP 1674 lib/gocr/ocr0.c if (loop(bp,dx-1-i , dy-1,dy/2,cs,0,UP)<dy/4) UP 1719 lib/gocr/ocr0.c y = loop(box1->p,x0+dx/2,y1 ,dy,cs,0,UP); if (y>1+dy/8) Break; UP 1720 lib/gocr/ocr0.c y+= loop(box1->p,x0+dx/2,y1-y,dy,cs,1,UP); if (y>dy/3) Break; UP 1721 lib/gocr/ocr0.c y=y1-y-loop(box1->p,x0+dx/2,y1-y,dy,cs,0,UP)/2; if (y<y0+3*dy/8) Break; UP 1872 lib/gocr/ocr0.c y=loop(bp,dx/2,dy-1,dy,cs,0,UP)-1; if (dy>16) y/=2; UP 1877 lib/gocr/ocr0.c ya=loop(bp, 0,dy-1,dy,cs,0,UP); UP 1878 lib/gocr/ocr0.c yb=loop(bp,dx/16+1,dy-1,dy,cs,0,UP); UP 1882 lib/gocr/ocr0.c -loop(bp, dx/2,dy-1,dy,cs,0,UP) > dy/8 ) ad=97*ad/100; // ~b UP 1978 lib/gocr/ocr0.c j =loop(bp,dx-x,y,dy/4,cs,0,UP); UP 2018 lib/gocr/ocr0.c if (i>=0 && loop(bp,dy-1,i,dy,cs,0,UP)<=3*dy/4 ) ad=ad*98/100; UP 2112 lib/gocr/ocr0.c if ( loop(bp,dx/2,dy-1,dy,cs,0,UP)>0 ) ad=98*ad/100; // w UP 2317 lib/gocr/ocr0.c && loop(bp,dx/2, dy-1,dy,cs,0,UP)<=dy/8 ) Break; // ~c UP 2336 lib/gocr/ocr0.c if (loop(bp,dx-1-dx/4,dy-1,dx,cs,0,UP)<dy/4) ad=98*ad/100; // ~f (serif) UP 2363 lib/gocr/ocr0.c i=loop(box1->p,x,y1,dy,cs,0,UP); UP 2365 lib/gocr/ocr0.c if (i>0) { i2=loop(box1->p,x-1,y1-i-1,dy,cs,0,UP); UP 2477 lib/gocr/ocr0.c i=loop(bp,x,dy-1,dy,cs,0,UP); if (i>y) y=i; UP 2481 lib/gocr/ocr0.c i=loop(bp,x,dy-1,dy,cs,0,UP); if (i>y) y=i; UP 2579 lib/gocr/ocr0.c && loop(bp,0,dy-1,dy ,cs,0,UP)<=dy/2) ad=96*ad/100; // ~J UP 2608 lib/gocr/ocr0.c if ( loop(bp,dx-1-3*x/4,yb,dy,cs,1,UP) UP 2609 lib/gocr/ocr0.c <=loop(bp,dx-1-1*x/4,yb,dy,cs,1,UP)+1 ) UP 2610 lib/gocr/ocr0.c if ( loop(bp,0 ,dy/2,dy,cs,1,UP)>dx/8 ) Break; // ~C UP 2682 lib/gocr/ocr0.c if (loop(bp,dx/2 ,dy-1,dy,cs,0,UP)>dy/4) Break; // ~h UP 2683 lib/gocr/ocr0.c if (loop(bp,dx/2+1,dy-1,dy,cs,0,UP)>dy/4) Break; // ~h UP 2743 lib/gocr/ocr0.c y=dy/2-loop(bp,dx-1,dy/2,dy/2,cs,1,UP); UP 2884 lib/gocr/ocr0.c turmite(box1->p,&x,&y,x0,x1,y0,y1,cs,UP,ST); // left bow? UP 2897 lib/gocr/ocr0.c turmite(box1->p,&x,&y,x0,x1,y0,y1,cs,RI,UP); // upper end right midle UP 2903 lib/gocr/ocr0.c turmite(box1->p,&x,&y,x0,x1,y0+dy/4,y1,cs,LE,UP); // w=LE b=UP UP 2907 lib/gocr/ocr0.c turmite(box1->p,&x,&y,x0,x1,y0 ,y1,cs,RI,UP); UP 2988 lib/gocr/ocr0.c y=loop(bp,dx-x-1, dy-1,dy,cs,0,UP); UP 3455 lib/gocr/ocr0.c if (abs(loop(bp, 1,dy-1,dy,cs,0,UP) UP 3456 lib/gocr/ocr0.c -loop(bp,dx-2,dy-1,dy,cs,0,UP))>dy/8+1) Break; // 4x6 N UP 3458 lib/gocr/ocr0.c && loop(bp, 0,dy-1,dy,cs,0,UP)>0) UP 3460 lib/gocr/ocr0.c && loop(bp,dx-1,dy-1,dy,cs,0,UP)>0)) Break; // 4x6 UV UP 3471 lib/gocr/ocr0.c if((i=loop(bp,x,dy-1,dy,cs,0,UP))>y){xc=x;y=i;} UP 3474 lib/gocr/ocr0.c y=loop(bp,xc,ya,dy,cs,1,UP);if(y)y--; UP 3665 lib/gocr/ocr0.c i=loop(bp,x,dy-1,y1-y0,cs,0,UP); if (i>dy/2) break; UP 3726 lib/gocr/ocr0.c i = loop(bp,dx/2,dy-1 ,dy,cs,0,UP); if (i>dy/3) Break; UP 3727 lib/gocr/ocr0.c y = i+loop(bp,dx/2,dy-1-i,dy,cs,1,UP); if (i>dy/2) Break; UP 3759 lib/gocr/ocr0.c i=loop(bp,x,dy-1,y1-y0,cs,0,UP); if (i>dy/2) break; UP 3765 lib/gocr/ocr0.c && loop(bp,dx-1,dy-1,y1-y0,cs,0,UP)> dy/4 ) Break; // ~o UP 3766 lib/gocr/ocr0.c if( loop(bp,dx/2,dy-1,y1-y0,cs,0,UP)> dy/4 ) Break; // ~q UP 3876 lib/gocr/ocr0.c i3=y+1-loop(box1->p,x0+5*dx/8,i1,dy,cs,0,UP); UP 3877 lib/gocr/ocr0.c i =y+1-loop(box1->p,x0+4*dx/8,i1,dy,cs,0,UP); if(i<i3) i3=i; UP 3913 lib/gocr/ocr0.c y=dy/2-loop(bp,x,dy/2,dy,cs,0,UP)-1; UP 3971 lib/gocr/ocr0.c i= loop(bp,dx-1,dy-1,dy,cs,0,UP); UP 3972 lib/gocr/ocr0.c j= loop(bp,dx/2,dy-1,dy,cs,0,UP); UP 4028 lib/gocr/ocr0.c if (loop(box1->p,x0+dx/4,y1,dy,cs,0,UP)>1+dy/16) ad=99*ad/100; // ~4 UP 4168 lib/gocr/ocr0.c if( loop(bp,dx/4,dy-1 ,dy,cs,0,UP)< dy/4 UP 4352 lib/gocr/ocr0.c i =loop(bp,x,dy-1 ,y1-y0,cs,0,UP); UP 4353 lib/gocr/ocr0.c i+=loop(bp,x,dy-1-i,y1-y0,cs,1,UP); UP 4366 lib/gocr/ocr0.c if (loop(bp,dx-1,dy-1,y1-y0,cs,0,UP)+1+(dy+3)/8 UP 4367 lib/gocr/ocr0.c <loop(bp, 0,dy-1,y1-y0,cs,0,UP)) UP 4371 lib/gocr/ocr0.c -loop(bp,dx/2,dy-1,dy,cs,0,UP))>dy/8 UP 4507 lib/gocr/ocr0.c if( loop(bp, 1,dy-1,dy,cs,0,UP) UP 4508 lib/gocr/ocr0.c <= loop(bp,dx/2,dy-1,dy,cs,0,UP) ) UP 4520 lib/gocr/ocr0.c j=loop(bp,dx/2,dy-1,dy,cs,0,UP); UP 4564 lib/gocr/ocr0.c if( loop(box1->p,x0+dx/16,j,dy,cs,0,UP)<1+dy/16 ){ UP 4623 lib/gocr/ocr0.c i= loop(bp,dx/2,dy-1 ,dy,cs,0,UP); UP 4625 lib/gocr/ocr0.c i+=loop(bp,dx/2,dy-1-i,dy,cs,1,UP); UP 4690 lib/gocr/ocr0.c y=loop(bp,x-1,ye+1,dy,cs,0,UP); UP 4691 lib/gocr/ocr0.c i=loop(bp,x ,ye+2-y,dy,cs,0,UP); UP 4769 lib/gocr/ocr0.c y=loop(bp,x-1,ye+1,dy,cs,0,UP); UP 4770 lib/gocr/ocr0.c i=loop(bp,x ,ye+2-y,dy,cs,0,UP); UP 5366 lib/gocr/ocr0.c if ( loop(bp,0,dy-1,dy,cs,0,UP)<dy/2-2 ) ad=98*ad/100; // ( UP 5370 lib/gocr/ocr0.c if ( loop(bp,dx-2,dy-1,dy,cs,0,UP)>dy/4 ) Break; // f UP 5389 lib/gocr/ocr0.c if ( loop(bp,dx-1,dy-1,dy,cs,0,UP)<dy/2-2 ) {ad=98*ad/100;} // ) UP 5393 lib/gocr/ocr0.c if ( loop(bp,1,dy-1,dy,cs,0,UP)>dy/4 ) Break; // ??? UP 5491 lib/gocr/ocr0.c i=loop(bp,dx/2,dy-1,dy,cs,0,UP)+dy/64; // Jul00 UP 5493 lib/gocr/ocr0.c if( loop(bp,x,dy-1,dy,cs,0,UP) > i ) break; UP 5739 lib/gocr/ocr0.c if (loop(bp,dx/2,dy-1,dy,cs,0,UP)>dx/8) Break; UP 5834 lib/gocr/ocr0.c y=loop(bp,x ,dy-1,dy,cs,0,UP); UP 5838 lib/gocr/ocr0.c if( i>1 && y+loop(bp,x+i-1,dy-y,dy,cs,0,UP)>3*dy/8 ) break; UP 6084 lib/gocr/ocr0.c j =loop(bp,dx-1-j/2,dy-1-dy/8,dy,cs,0,UP); if(j>dy/2) break; // ~() UP 6224 lib/gocr/ocr0.c i=loop(bp,x,dy-1,y1-y0,cs,0,UP); UP 115 lib/gocr/ocr0n.c y =loop(bp,i1 ,i3,dy,cs,0,UP); UP 116 lib/gocr/ocr0n.c i =loop(bp,i1+1,i3,dy,cs,0,UP); UP 164 lib/gocr/ocr0n.c if( loop(bp,dx-2,3*dy/4 ,dy,cs,1,UP)>0 ) // check end UP 171 lib/gocr/ocr0n.c if( loop(bp,dx-2,2*dy/3 ,dy,cs,1,UP)>0 ) // check end UP 328 lib/gocr/ocr0n.c i=loop(bp,dx-1-dx/8,dy-1,dy,cs,0,UP); UP 330 lib/gocr/ocr0n.c i+=loop(bp,dx-1-dx/8,dy-1-i,dy,cs,1,UP); UP 396 lib/gocr/ocr0n.c turmite(box1->p,&x,&y,x0,x1,y0,y1,cs,UP,ST); if( y<y1-dy/5 ) Break; UP 397 lib/gocr/ocr0n.c turmite(box1->p,&x,&y,x0,x1,y0,y1,cs,ST,UP); if( y<y1-dy/4 ) ad=99*ad/100; UP 399 lib/gocr/ocr0n.c turmite(box1->p,&x,&y,x0,x1,y0,y1,cs,UP,ST); if( y<y0+dy/3 ) Break; y++; UP 402 lib/gocr/ocr0n.c turmite(box1->p,&x,&y,x0,x1,y0,y1,cs,UP,ST); if( y<y0+dy/2 ) Break; y++; UP 551 lib/gocr/ocr0n.c if( loop(bp,dx/2, dy-1,dy,cs,0,UP)>dy/4 ) Break; UP 779 lib/gocr/ocr0n.c if ( loop(bp, 0,dy-1,dy,cs,0,UP) UP 780 lib/gocr/ocr0n.c -loop(bp,dx/8+1,dy-1,dy,cs,0,UP)>dy/16) ad=97*ad/100; UP 794 lib/gocr/ocr0n.c && loop(bp, dx/4,dy-1,dy,cs,0,UP)<dy/8 UP 795 lib/gocr/ocr0n.c && loop(bp, dx/2,dy-1,dy,cs,0,UP)<dy/8 UP 796 lib/gocr/ocr0n.c && loop(bp,3*dx/4,dy-1,dy,cs,0,UP)<dy/4 ) Break; // ~9 UP 803 lib/gocr/ocr0n.c i =loop(bp,dx-1-dx/4,dy-1,dx,cs,0,UP); UP 1069 lib/gocr/ocr0n.c y=loop(bp,dx-x-1, dy-1,dy,cs,0,UP); UP 1143 lib/gocr/ocr0n.c i =loop(bp,x,dy-1 ,y1-y0,cs,0,UP); UP 1144 lib/gocr/ocr0n.c i+=loop(bp,x,dy-1-i,y1-y0,cs,1,UP); UP 1157 lib/gocr/ocr0n.c -loop(bp,dx/2,dy-1,dy,cs,0,UP))>dy/8 UP 1215 lib/gocr/ocr0n.c y =loop(bp,dx/2,dy-1 ,y1-y0,cs,0,UP); if(y>dy/4) Break; UP 1216 lib/gocr/ocr0n.c y+=loop(bp,dx/2,dy-1-y,y1-y0,cs,1,UP); if(y>dy/3) Break; if (y>dy/4) ad=ad*99/100; UP 1217 lib/gocr/ocr0n.c y+=loop(bp,dx/2,dy-1-y,y1-y0,cs,0,UP); if(3*y>2*dy) Break; UP 1220 lib/gocr/ocr0n.c if( loop(bp,dx/2+x-1-dx/16,dy-y,y1-y0,cs,0,UP)==0 ) Break; UP 487 lib/gocr/pgm2asc.c case UP: (*y)--; break; UP 526 lib/gocr/pgm2asc.c case UP: UP 524 lib/gocr/remove.c if( loop(pp,j2-xa,i3,i3-y0,cs,0,UP) > (y1-y0+1)/2 UP 526 lib/gocr/remove.c if( loop(pp,j2+xa,i3,i3-y0,cs,0,UP) > (y1-y0+1)/2 UP 557 lib/gocr/remove.c i3 =loop(pp,j1,y1 ,y1-y0,cs,0,UP); if(8*i3>y1-y0) break; UP 558 lib/gocr/remove.c i3+=loop(pp,j1,y1-i3,y1-y0,cs,1,UP); if(8*i3>y1-y0) break;