RI                323 lib/gocr/ocr0.c          if( loop(box1->p,xl,yu,xr-xl,cs,0,RI)
RI                325 lib/gocr/ocr0.c            > loop(box1->p,xl,yl,xr-xl,cs,0,RI) // +dx/8
RI                341 lib/gocr/ocr0.c          if( loop(box1->p,xl,yu,xr-xl,cs,0,RI)
RI                343 lib/gocr/ocr0.c            < loop(box1->p,xl,yl,xr-xl,cs,0,RI) // -dx/8
RI                354 lib/gocr/ocr0.c            i1=loop(box1->p,xl   ,(yu+yl)/2,xr-xl+1,cs,0,RI);
RI                355 lib/gocr/ocr0.c            i1=loop(box1->p,xl+i1,(yu+yl)/2,xr-xl+1,cs,1,RI);
RI                377 lib/gocr/ocr0.c          if( ( loop(box1->p,xl,yu  ,xr-xl,cs,0,RI)
RI                378 lib/gocr/ocr0.c              > loop(box1->p,xl,yl  ,xr-xl,cs,0,RI)-dx/8
RI                379 lib/gocr/ocr0.c             || loop(box1->p,xl,yu  ,xr-xl,cs,0,RI)
RI                380 lib/gocr/ocr0.c              > loop(box1->p,xl,yl-1,xr-xl,cs,0,RI)-dx/8 )
RI                390 lib/gocr/ocr0.c          if( ( loop(box1->p,xl,yu  ,xr-xl,cs,0,RI)
RI                391 lib/gocr/ocr0.c              < loop(box1->p,xl,yl  ,xr-xl,cs,0,RI)-dx/10
RI                392 lib/gocr/ocr0.c            ||  loop(box1->p,xl,yu+1,xr-xl,cs,0,RI)
RI                393 lib/gocr/ocr0.c              < loop(box1->p,xl,yl  ,xr-xl,cs,0,RI)-dx/10 )
RI                404 lib/gocr/ocr0.c                  loop(box1->p,xl,yu       ,xr-xl,cs,0,RI)
RI                405 lib/gocr/ocr0.c              +   loop(box1->p,xl,yl       ,xr-xl,cs,0,RI)
RI                406 lib/gocr/ocr0.c              - 2*loop(box1->p,xl,(yl+yu)/2,xr-xl,cs,0,RI) > dx/16+1
RI                408 lib/gocr/ocr0.c          if( ( loop(box1->p,xl,yu  ,xr-xl,cs,0,RI)
RI                409 lib/gocr/ocr0.c              < loop(box1->p,xl,yl  ,xr-xl,cs,0,RI)-dx/10
RI                410 lib/gocr/ocr0.c            ||  loop(box1->p,xl,yu+1,xr-xl,cs,0,RI)
RI                411 lib/gocr/ocr0.c              < loop(box1->p,xl,yl  ,xr-xl,cs,0,RI)-dx/10 )
RI                422 lib/gocr/ocr0.c          if( loop(box1->p,xl,yu,xr-xl,cs,0,RI)
RI                423 lib/gocr/ocr0.c            > loop(box1->p,xl,yl,xr-xl,cs,0,RI)
RI                472 lib/gocr/ocr0.c       if( loop(box1->p,x0,y0+dy/2,x1-x0,cs,0,RI)>dx/3 ) Break; // rough test
RI                481 lib/gocr/ocr0.c       i=loop(box1->p,x0,y0+dy/2,x1-x0,cs,0,RI); if( i>dx/2 ) Break;
RI                482 lib/gocr/ocr0.c       j=loop(box1->p,x0,y0     ,x1-x0,cs,0,RI); if( j<i    ) Break;
RI                483 lib/gocr/ocr0.c       j=loop(box1->p,x0,y1     ,x1-x0,cs,0,RI); if( j<i    ) Break;
RI                491 lib/gocr/ocr0.c       j=2*loop(box1->p,x0,  (y0+y1)/2,x1-x0,cs,0,RI)
RI                492 lib/gocr/ocr0.c          -loop(box1->p,x0,(3*y0+y1)/4,x1-x0,cs,0,RI)
RI                493 lib/gocr/ocr0.c          -loop(box1->p,x0,(y0+3*y1)/4,x1-x0,cs,0,RI);
RI                508 lib/gocr/ocr0.c         j =loop(box1->p,x0  ,i,y1-y0,cs,0,RI); if (j>dx/2) break;
RI                509 lib/gocr/ocr0.c         j =loop(box1->p,x0+j,i,y1-y0,cs,1,RI);
RI                556 lib/gocr/ocr0.c         j=loop(box1->p,x0,i,x1-x0,cs,0,RI);
RI                571 lib/gocr/ocr0.c         x = loop(box1->p,x0,y0+dy/2,dx,cs,0,RI);
RI                572 lib/gocr/ocr0.c         if( loop(box1->p,x0,y0+dy/4,dx,cs,0,RI)<=x
RI                573 lib/gocr/ocr0.c          && loop(box1->p,x0,y0+dy/8,dx,cs,0,RI)<=x ) Break;
RI                574 lib/gocr/ocr0.c         if( loop(box1->p,x0,y1-dy/4,dx,cs,0,RI)<=x
RI                575 lib/gocr/ocr0.c          && loop(box1->p,x0,y1-dy/8,dx,cs,0,RI)<=x ) Break;
RI                577 lib/gocr/ocr0.c       x = loop(sdata->bp,0,dy-2     ,dx,cs,0,RI);
RI                578 lib/gocr/ocr0.c       if( loop(sdata->bp,0,dy-1-dy/8,dx,cs,0,RI)>x && dy>16) Break; // some Q
RI                636 lib/gocr/ocr0.c         j=loop(box1->p,x0  ,y,dx,cs,0,RI);
RI                637 lib/gocr/ocr0.c         j=loop(box1->p,x0+j,y,dx,cs,1,RI); if( j>dx/3 ) i=0;
RI                642 lib/gocr/ocr0.c       turmite(box1->p,&x,&y,x0,x1,y0,y1,cs,RI,DO); if( x<=x1 || y>y0+dy/2 ) Break;
RI                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;
RI                657 lib/gocr/ocr0.c       i=loop(box1->p,x0,y0+dy/4,dx,cs,0,RI); if(i>dx/2) Break;
RI                658 lib/gocr/ocr0.c       j=loop(box1->p,x0,y0+dy/2,dx,cs,0,RI); if(j<i-dx/4 || j>i+dx/8) Break; i=j;
RI                659 lib/gocr/ocr0.c       j=loop(box1->p,x0,y1-dy/4,dx,cs,0,RI); if(j<i-dx/4 || j>i+dx/8) Break;
RI                662 lib/gocr/ocr0.c       { i=loop(box1->p,x0,y,dx,cs,0,RI); 
RI                713 lib/gocr/ocr0.c         x =loop(sdata->bp,0,y,dx  ,cs,0,RI); if(x>  dx/4) Break; // search 1st v-line
RI                714 lib/gocr/ocr0.c         x+=loop(sdata->bp,x,y,dx-x,cs,1,RI); if(x>  dx/2) Break; i1=x; // 1st gap
RI                715 lib/gocr/ocr0.c         x+=loop(sdata->bp,x,y,dx-x,cs,0,RI); if(x<  dx/2) Break; i2=x; // 2nd v-line
RI                716 lib/gocr/ocr0.c         x+=loop(sdata->bp,x,y,dx-x,cs,1,RI); if(x<3*dx/4) Break; i3=x; // 2nd gap
RI                734 lib/gocr/ocr0.c             +loop(sdata->bp,   0,dy-1-dy/8,dx,cs,0,RI)-dx/8-1
RI                736 lib/gocr/ocr0.c             +loop(sdata->bp,   0,dy-1-dy/2,dx,cs,0,RI) ) ad=90*ad/100; // broken o
RI                739 lib/gocr/ocr0.c           && loop(sdata->bp,dx-1,dy-1-dy/8,dx,cs,0,RI)>dx/8 ) ad=98*ad/100; // broken o
RI                743 lib/gocr/ocr0.c         i =loop(sdata->bp,0,dy/2-dy/8,dx,cs,0,RI); if (i>dx/4) Break;
RI                744 lib/gocr/ocr0.c         i+=loop(sdata->bp,i,dy/2-dy/8,dx,cs,1,RI); if (i>dx/2) Break;
RI                745 lib/gocr/ocr0.c         i+=loop(sdata->bp,i,dy/2-dy/8,dx,cs,0,RI);
RI                747 lib/gocr/ocr0.c         i+=loop(sdata->bp,i,dy/2-dy/8,dx,cs,1,RI);
RI                819 lib/gocr/ocr0.c       if( loop(bp,   0,7*dy/16,dx,cs,0,RI)
RI                825 lib/gocr/ocr0.c       if( loop(bp,   0,dy-1-dy/ 8,dx,cs,0,RI)
RI                826 lib/gocr/ocr0.c         < loop(bp,   0,dy-1-dy/16,dx,cs,0,RI)-dx/32 ) Break; // ~it_u
RI                870 lib/gocr/ocr0.c       t1=loop(bp,0 ,3*dy/4,dx,cs,0,RI);
RI                871 lib/gocr/ocr0.c       t1=loop(bp,t1,3*dy/4,dx,cs,1,RI); // thickness of line?
RI                884 lib/gocr/ocr0.c         i1 =loop(bp, 0,  dy/4,dx,cs,0,RI);
RI                885 lib/gocr/ocr0.c         i1+=loop(bp,i1,  dy/4,dx,cs,1,RI);
RI                886 lib/gocr/ocr0.c         i1+=loop(bp,i1,  dy/4,dx,cs,0,RI);
RI                887 lib/gocr/ocr0.c         i2 =loop(bp, 0,3*dy/4,dx,cs,0,RI);
RI                888 lib/gocr/ocr0.c         i2+=loop(bp,i2,3*dy/4,dx,cs,1,RI);
RI                889 lib/gocr/ocr0.c         i2+=loop(bp,i2,3*dy/4,dx,cs,0,RI);
RI                891 lib/gocr/ocr0.c         i1+=loop(bp,i1,  dy/4,dx,cs,1,RI);
RI                892 lib/gocr/ocr0.c         i2+=loop(bp,i2,3*dy/4,dx,cs,1,RI);
RI                894 lib/gocr/ocr0.c         i1+=loop(bp,i1,  dy/4,dx,cs,0,RI);
RI                895 lib/gocr/ocr0.c         i2+=loop(bp,i2,3*dy/4,dx,cs,0,RI);
RI                925 lib/gocr/ocr0.c         if(  loop(bp,0,     dy/4,dx,cs,0,RI)
RI                926 lib/gocr/ocr0.c            < loop(bp,0,dy-1-dy/8,dx,cs,0,RI)-dx/16 ) Break; // ~wi glued
RI               1122 lib/gocr/ocr0.c       i=loop(bp,0,dy-1-dy/4,dx,cs,0,RI);
RI               1129 lib/gocr/ocr0.c       i =loop(bp,0,dy/4,dx,cs,0,RI);
RI               1130 lib/gocr/ocr0.c       i+=loop(bp,i,dy/4,dx,cs,1,RI)+1;
RI               1185 lib/gocr/ocr0.c       if( loop(bp,0   ,dy/8,dx,cs,0,RI)
RI               1188 lib/gocr/ocr0.c       { j=loop(box1->p,x0  ,y,dx,cs,0,RI)
RI               1192 lib/gocr/ocr0.c       { j=loop(bp,0   ,y,dx,cs,0,RI)
RI               1196 lib/gocr/ocr0.c       { j=loop(box1->p,x0  ,y,dx,cs,0,RI);
RI               1197 lib/gocr/ocr0.c         j=loop(box1->p,x0+j,y,dx,cs,1,RI); if( j>i ) { i=j; ya=y; } } 
RI               1228 lib/gocr/ocr0.c       i1=loop(bp,    0,     dy/4,dx,cs,0,RI);
RI               1229 lib/gocr/ocr0.c       i1=loop(bp,   i1,     dy/4,dx,cs,1,RI);
RI               1230 lib/gocr/ocr0.c       i2=loop(bp,    0,dy-1-dy/4,dx,cs,0,RI);
RI               1231 lib/gocr/ocr0.c       i2=loop(bp,   i2,dy-1-dy/4,dx,cs,1,RI);
RI               1234 lib/gocr/ocr0.c       i =loop(bp,    0,dy/2+1+dy/8,dx,cs,0,RI);
RI               1235 lib/gocr/ocr0.c       i+=loop(bp,    i,dy/2+1+dy/8,dx,cs,1,RI);
RI               1236 lib/gocr/ocr0.c       i =loop(bp,    i,dy/2+1+dy/8,dx,cs,0,RI);
RI               1315 lib/gocr/ocr0.c       i1=loop(bp,0,dy/2-dy/4,dx,cs,0,RI);
RI               1316 lib/gocr/ocr0.c       i2=loop(bp,0,dy/2     ,dx,cs,0,RI);if(i2>dx/2) Break;
RI               1317 lib/gocr/ocr0.c       i3=loop(bp,0,dy/2+dy/4,dx,cs,0,RI);
RI               1355 lib/gocr/ocr0.c       i=loop(bp,0,dy-1,dx,cs,0,RI);
RI               1356 lib/gocr/ocr0.c       i=loop(bp,i,dy-1,dx,cs,1,RI); if (dx>8 && 4*i>3*dx) Break; // ~glued_tz
RI               1357 lib/gocr/ocr0.c       i =loop(bp,0,dy/4,dx,cs,0,RI);
RI               1359 lib/gocr/ocr0.c        && i+loop(bp,i,dy/4,dx,cs,1,RI)>dx/2
RI               1360 lib/gocr/ocr0.c        &&   loop(bp,   0,0,dx,cs,0,RI)<=dx/4
RI               1419 lib/gocr/ocr0.c        &&   loop(bp,0,  dy/4,dx,cs,0,RI)
RI               1420 lib/gocr/ocr0.c            +loop(bp,0,3*dy/4,dx,cs,0,RI)
RI               1421 lib/gocr/ocr0.c          <2*loop(bp,0,  dy/2,dx,cs,0,RI)-2-dx/32 ) Break; // ~X
RI               1435 lib/gocr/ocr0.c       ya=   dy/4;xa=loop(bp,0,ya,dx,cs,0,RI);xa+=loop(bp,xa,ya,dx,cs,1,RI)/2;
RI               1436 lib/gocr/ocr0.c       yc=dy-dy/4;xc=loop(bp,0,yc,dx,cs,0,RI);xc+=loop(bp,xc,yc,dx,cs,1,RI)/2;
RI               1444 lib/gocr/ocr0.c         x =loop(bp,0   ,dy/2+y,dx,cs,0,RI); // middle left border
RI               1445 lib/gocr/ocr0.c         x+=loop(bp,x   ,dy/2+y,dx,cs,1,RI); // test 2nd cross
RI               1446 lib/gocr/ocr0.c         x+=loop(bp,x   ,dy/2+y,dx,cs,0,RI); if(x<xb){ xb=x;yb=dy/2+y; }
RI               1448 lib/gocr/ocr0.c         x =loop(bp,0   ,dy/2-y,dx,cs,0,RI);
RI               1449 lib/gocr/ocr0.c         x+=loop(bp,x   ,dy/2-y,dx,cs,1,RI); // test 2nd cross
RI               1450 lib/gocr/ocr0.c         x+=loop(bp,x   ,dy/2-y,dx,cs,0,RI); if(x<xb){ xb=x;yb=dy/2-y; }
RI               1454 lib/gocr/ocr0.c       xb+=loop(bp,xb,yb,dx,cs,1,RI)/4; // detect center of line
RI               1471 lib/gocr/ocr0.c         xe+=loop(bp,xe,ye,dx,cs,1,RI); if( xe>=xf ) Break; // ~{\it n}
RI               1562 lib/gocr/ocr0.c         i=loop(bp,0,y,dx,cs,0,RI); if( y>dy/4 && i>5*dx/8 ) break;
RI               1563 lib/gocr/ocr0.c         i=loop(bp,i,y,dx,cs,1,RI); if( i>x ) { x=i;j=y; }
RI               1582 lib/gocr/ocr0.c         i=loop(bp,0,j,dx,cs,0,RI);
RI               1583 lib/gocr/ocr0.c         i=loop(bp,i,j,dx,cs,1,RI); // thickness vert. line
RI               1604 lib/gocr/ocr0.c       j=loop(bp,0,dy/8,dx,cs,0,RI); // if j>dx/2 we have italic f
RI               1607 lib/gocr/ocr0.c         if (loop(bp,0,i,dx,cs,0,RI)>(j+dx/4)) break;
RI               1616 lib/gocr/ocr0.c       if( loop(bp,0,dy/2,dx,cs,0,RI)-1
RI               1617 lib/gocr/ocr0.c          >loop(bp,0,   1,dx,cs,0,RI) ) Break; // ~X
RI               1637 lib/gocr/ocr0.c          x=loop(bp,0   ,y,dx,cs,0,RI);if(x<i1)i1=x;
RI               1642 lib/gocr/ocr0.c       if( loop(bp,0,3*dy/4,dx,cs,0,RI)<i1-dx/4 ) Break;
RI               1647 lib/gocr/ocr0.c       if( loop(bp,   0,2*dy/3  ,dx,cs,0,RI)>2*dx/3
RI               1648 lib/gocr/ocr0.c        || loop(bp,   0,2*dy/3-1,dx,cs,0,RI)>2*dx/3 )
RI               1662 lib/gocr/ocr0.c           loop(bp,0        ,3*dy/4,dx,cs,0,RI)>dx/5+1
RI               1665 lib/gocr/ocr0.c             loop(bp,0        ,5*dy/16,dx,cs,0,RI)>=dx/5+1) ad=98*ad/100; // ~E
RI               1675 lib/gocr/ocr0.c       if (loop(bp,0        ,3*dy/4,dx  ,cs,0,RI)<dx/4) { 
RI               1679 lib/gocr/ocr0.c       if( loop(bp,0,dy/4,dx  ,cs,0,RI)>1
RI               1731 lib/gocr/ocr0.c       if( loop(box1->p,x0,y0+ y  ,dx,cs,0,RI)
RI               1732 lib/gocr/ocr0.c         > loop(box1->p,x0,y0+dy/4,dx,cs,0,RI)+dx/32 )
RI               1735 lib/gocr/ocr0.c       i1=loop(box1->p,x0,y0+dy/4,dx,cs,0,RI);
RI               1736 lib/gocr/ocr0.c       i2=loop(box1->p,x0,y0+dy/2,dx,cs,0,RI);
RI               1737 lib/gocr/ocr0.c       i =loop(box1->p,x0,y0+dy/2-dy/ 8,dx,cs,0,RI); if(i>i2) i2=i;
RI               1738 lib/gocr/ocr0.c       i =loop(box1->p,x0,y0+dy/2-dy/16,dx,cs,0,RI); if(i>i2) i2=i;
RI               1739 lib/gocr/ocr0.c       i3=loop(box1->p,x0,y1-dy/4,dx,cs,0,RI);
RI               1743 lib/gocr/ocr0.c         if( loop(box1->p,x0,y0+ 1  ,dx,cs,0,RI)
RI               1744 lib/gocr/ocr0.c          >= loop(box1->p,x0,y0+ 3  ,dx,cs,0,RI)+dx/32 )
RI               1745 lib/gocr/ocr0.c         if( loop(box1->p,x0,y0+ 0  ,dx,cs,0,RI)
RI               1746 lib/gocr/ocr0.c           > loop(box1->p,x0,y0+ 3  ,dx,cs,0,RI)+dx/32 )
RI               1747 lib/gocr/ocr0.c         if( loop(box1->p,x0,y1- 0  ,dx,cs,0,RI)
RI               1748 lib/gocr/ocr0.c           > loop(box1->p,x0,y1- 3  ,dx,cs,0,RI)+dx/32 )
RI               1749 lib/gocr/ocr0.c         if( loop(box1->p,x0,y1- 1  ,dx,cs,0,RI)
RI               1750 lib/gocr/ocr0.c           > loop(box1->p,x0,y1- 3  ,dx,cs,0,RI)+dx/32 ) Break; // ~8 Aug00
RI               1763 lib/gocr/ocr0.c       { i=loop(box1->p,x0,y0+y,dx,cs,0,RI); if( i>x+dx/9 ) break;
RI               1772 lib/gocr/ocr0.c       x=loop(bp,0,dy/2  ,dx,cs,0,RI);
RI               1773 lib/gocr/ocr0.c       i=loop(bp,0,dy/2-1,dx,cs,0,RI); if (i>x) x=i; // allow dust
RI               1774 lib/gocr/ocr0.c       i=loop(bp,0,dy/2+1,dx,cs,0,RI); if (i>x) x=i;
RI               1775 lib/gocr/ocr0.c       if ( loop(bp,0,  dy/8,dx,cs,0,RI)
RI               1776 lib/gocr/ocr0.c           +loop(bp,0,7*dy/8,dx,cs,0,RI) > 2*x+1 ) Break; // not konvex!
RI               1780 lib/gocr/ocr0.c         x =loop(bp,0,dy/4,dx,cs,0,RI);
RI               1781 lib/gocr/ocr0.c         if(loop(bp,0,dy/2,dx,cs,0,RI)>x+dx/8) ad=97*ad/100;
RI               1850 lib/gocr/ocr0.c         i=loop(bp,0,y,x1-x0,cs,0,RI);
RI               1886 lib/gocr/ocr0.c       if (loop(bp,   0,   0,dx,cs,0,RI)>=dx/2
RI               1888 lib/gocr/ocr0.c        && loop(bp,   0,dy/2,dx,cs,0,RI)< 2   ) ad=96*ad/100; // thin O 
RI               1964 lib/gocr/ocr0.c         j=loop(bp,0,y,dx,cs,0,RI);
RI               1965 lib/gocr/ocr0.c         j=loop(bp,j,y,dx,cs,1,RI); if( j>dx/2 ) i=0; } 
RI               1968 lib/gocr/ocr0.c       x=loop(bp,0,dy-1-dy/4,dx,cs,0,RI);
RI               1969 lib/gocr/ocr0.c       x=loop(bp,x,dy-1-dy/4,dx,cs,1,RI); // strichdicke
RI               1971 lib/gocr/ocr0.c       { j=loop(bp,0,y,dx,cs,0,RI);
RI               1972 lib/gocr/ocr0.c         j=loop(bp,j,y,dx,cs,1,RI); if( j>dx/3 && ((j>2*x && dx>8) || j>x+1)) i=0; } 
RI               1995 lib/gocr/ocr0.c          || loop(bp,   0,    dy-3,dx,cs,0,RI)<1) break;
RI               2001 lib/gocr/ocr0.c       if( loop(bp,0,  bp->y/4,dx,cs,0,RI) <
RI               2002 lib/gocr/ocr0.c           loop(bp,0,3*bp->y/4,dx,cs,0,RI)-1 ) Break;
RI               2017 lib/gocr/ocr0.c       i= loop(bp,0,3*bp->y/4,dx,cs,0,RI)-1;
RI               2092 lib/gocr/ocr0.c       i=loop(bp,0,dy-1-dy/16,dx,cs,0,RI);
RI               2093 lib/gocr/ocr0.c       j=loop(bp,0,dy-1-dy/8 ,dx,cs,0,RI);
RI               2099 lib/gocr/ocr0.c       if(  loop(bp,   0,  dy-1,dx,cs,1,RI)==dx
RI               2101 lib/gocr/ocr0.c         && loop(bp,   0,3*dy/4,dx,cs,0,RI)>dx/16
RI               2103 lib/gocr/ocr0.c         && loop(bp,   0,  dy/2,dx,cs,0,RI)>dx/16
RI               2106 lib/gocr/ocr0.c       i=loop(bp,   0,dy-2-dy/8,dx,cs,0,RI);
RI               2193 lib/gocr/ocr0.c       x=loop(bp,dx/2,0,dx,cs,1,RI)+dx/2; // be sure in the upper gap
RI               2211 lib/gocr/ocr0.c       if( loop(bp,0   ,dy/6     ,dx,cs,0,RI)
RI               2212 lib/gocr/ocr0.c         >=loop(bp,0   ,dy-1-dy/3,dx,cs,0,RI) && dy>6 ) Break;
RI               2213 lib/gocr/ocr0.c       if( loop(bp,0   ,dy-1-dy/3,dx,cs,0,RI)
RI               2214 lib/gocr/ocr0.c          >loop(bp,0   ,dy-1-dy/8,dx,cs,0,RI)
RI               2217 lib/gocr/ocr0.c       if( loop(bp,0   ,dy-1-dy/3,dx,cs,0,RI)
RI               2218 lib/gocr/ocr0.c         >=loop(bp,0   ,dy-1-dy/8,dx,cs,0,RI)
RI               2223 lib/gocr/ocr0.c       x=loop(bp,0,dy-1,dx,cs,0,RI); // 3*x>dx changed to 2*x>dx May2001 JS
RI               2224 lib/gocr/ocr0.c       x=loop(bp,x,dy-1,dx,cs,1,RI); if ( dx>14 && 2*x>dx ) Break; // U
RI               2230 lib/gocr/ocr0.c       i=loop(bp,   0,dy-1-dy/16,dx,cs,0,RI)
RI               2232 lib/gocr/ocr0.c       j=loop(bp,   0,dy-1-dy/4 ,dx,cs,0,RI)
RI               2237 lib/gocr/ocr0.c       i=loop(bp,  0,   0,dx,cs,0,RI);
RI               2238 lib/gocr/ocr0.c       i=loop(bp,  i,   0,dx,cs,1,RI); i1=i; // thickness	
RI               2239 lib/gocr/ocr0.c       i=loop(bp,  0,   1,dx,cs,0,RI);
RI               2240 lib/gocr/ocr0.c       i=loop(bp,  i,   1,dx,cs,1,RI); if(i>i1) i1=i; // thiggest
RI               2241 lib/gocr/ocr0.c       i=loop(bp,  0,dy/4,dx,cs,0,RI);
RI               2242 lib/gocr/ocr0.c       i=loop(bp,  i,dy/4,dx,cs,1,RI); i2=i;
RI               2243 lib/gocr/ocr0.c       i=loop(bp,  0,dy  ,dx,cs,0,RI);
RI               2244 lib/gocr/ocr0.c       i=loop(bp,  i,dy  ,dx,cs,1,RI); i3=i; // thickness	
RI               2245 lib/gocr/ocr0.c       i=loop(bp,  0,dy-1,dx,cs,0,RI);
RI               2246 lib/gocr/ocr0.c       i=loop(bp,  i,dy-1,dx,cs,1,RI); if(i>i3) i3=i; // thiggest
RI               2254 lib/gocr/ocr0.c         j=loop(bp,   0,dy-1-dy/4 ,dx,cs,0,RI);
RI               2255 lib/gocr/ocr0.c         j=loop(bp,   j,dy-1-dy/4 ,dx,cs,1,RI);
RI               2262 lib/gocr/ocr0.c       if( loop(bp,0   ,dy-1-dy/4,dx,cs,0,RI)
RI               2263 lib/gocr/ocr0.c          >loop(bp,0   ,dy-1     ,dx,cs,0,RI) ) ad=96*ad/100;
RI               2301 lib/gocr/ocr0.c         i1= loop(bp,0   ,y,dx,cs,0,RI); if(i1>3*dx/8) break;
RI               2315 lib/gocr/ocr0.c       if(  loop(bp,   0,5*dy/8,dx,cs,0,RI)<=dx/8
RI               2319 lib/gocr/ocr0.c       if(  loop(bp,   0,3*dy/8,dx,cs,0,RI)
RI               2321 lib/gocr/ocr0.c         if( loop(bp,   0,  dy/8,dx,cs,0,RI)<dx/8 ) Break; // ~z (broken)
RI               2325 lib/gocr/ocr0.c       if( loop(bp,0,dy/3,dx,cs,0,RI)>3*dx/4 ) Break; //  ~i
RI               2326 lib/gocr/ocr0.c       if( loop(bp,0,dy/4,dx,cs,0,RI)>3*dx/8          //  ~I
RI               2354 lib/gocr/ocr0.c         && loop(bp,  dx/2,dy/16,dx,cs,0,RI)<dx/2
RI               2388 lib/gocr/ocr0.c       i1=loop(bp,0,     dy/4,dx,cs,0,RI); // straight
RI               2389 lib/gocr/ocr0.c       i2=loop(bp,0,     dy/2,dx,cs,0,RI);
RI               2390 lib/gocr/ocr0.c       i3=loop(bp,0,dy-1-dy/4,dx,cs,0,RI); if( abs(i1+i3-2*i2)>1+dx/16 ) Break;
RI               2461 lib/gocr/ocr0.c       x =loop(bp,0,y,dx  ,cs,0,RI); if(x>  dx/4) Break; // search 1st v-line
RI               2462 lib/gocr/ocr0.c       x+=loop(bp,x,y,dx-x,cs,1,RI); if(x>  dx/2) Break; i1=x; // first gap
RI               2463 lib/gocr/ocr0.c       x+=loop(bp,x,y,dx-x,cs,0,RI); if(x>3*dx/4) Break; i2=x; // 2nd v-line
RI               2464 lib/gocr/ocr0.c       x+=loop(bp,x,y,dx-x,cs,1,RI); if(x>6*dx/8) Break; i3=x; // 2nd gap
RI               2465 lib/gocr/ocr0.c       x+=loop(bp,x,y,dx-x,cs,0,RI); if(x<5*dx/8) Break; i4=x; // 3th v-line
RI               2471 lib/gocr/ocr0.c       i =loop(bp,0,5*dy/8,dx,cs,0,RI);
RI               2472 lib/gocr/ocr0.c       i =loop(bp,i,5*dy/8,dx,cs,1,RI);
RI               2473 lib/gocr/ocr0.c       x =loop(bp,0,dy-dy/32-1,dx,cs,0,RI);
RI               2474 lib/gocr/ocr0.c       x =loop(bp,x,dy-dy/32-1,dx,cs,1,RI);
RI               2506 lib/gocr/ocr0.c       if( loop(bp,1,  dy/4,dx,cs,0,RI)
RI               2507 lib/gocr/ocr0.c          >loop(bp,0,7*dy/8,dx,cs,0,RI) )
RI               2511 lib/gocr/ocr0.c         x =loop(bp,0,dy/4,dx,cs,0,RI);
RI               2512 lib/gocr/ocr0.c         x+=loop(bp,x,dy/4,dx,cs,1,RI);
RI               2560 lib/gocr/ocr0.c         i=dx/4+loop(bp,dx/4,y,dx,cs,0,RI); // left side of vertical line
RI               2561 lib/gocr/ocr0.c         j=     loop(bp,   i,y,dx,cs,1,RI); // width of vertical line
RI               2566 lib/gocr/ocr0.c         i=     loop(bp,dx/4,y,dx,cs,0,RI);
RI               2567 lib/gocr/ocr0.c         i=     loop(bp,   i,y,dx,cs,1,RI);if(4*i>3*x) break; //~I
RI               2570 lib/gocr/ocr0.c       i =dx/4+loop(bp,dx/4,dy/4,dx,cs,0,RI);if(i>3*dx/4) Break; // ~7
RI               2571 lib/gocr/ocr0.c       i+=     loop(bp,i   ,dy/4,dx,cs,1,RI);if(i>3*dx/4) Break;
RI               2581 lib/gocr/ocr0.c       if( loop(bp,0,dy-1,dx,cs,0,RI)<=dx/8) ad=99*ad/100; // ~J
RI               2582 lib/gocr/ocr0.c       i = loop(bp,0,dy/2,dx,cs,0,RI);
RI               2583 lib/gocr/ocr0.c       j = loop(bp,i,dy/2,dx,cs,1,RI);
RI               2598 lib/gocr/ocr0.c         i=loop(bp,0,y,dx,cs,0,RI);
RI               2599 lib/gocr/ocr0.c         i=loop(bp,i,y,dx,cs,1,RI); if( i>x ) { x=i;yb=j=y; } // hor. line
RI               2628 lib/gocr/ocr0.c       j=loop(bp,0,  dy/2,dx,cs,0,RI);
RI               2629 lib/gocr/ocr0.c       j=loop(bp,j,  dy/2,dx,cs,1,RI); i=j;          // thickness
RI               2630 lib/gocr/ocr0.c       j=loop(bp,0,  dy/4,dx,cs,0,RI);
RI               2631 lib/gocr/ocr0.c       j=loop(bp,j,  dy/4,dx,cs,1,RI); if (j<i) i=j; // thickness
RI               2632 lib/gocr/ocr0.c       j=loop(bp,0,3*dy/4,dx,cs,0,RI);
RI               2633 lib/gocr/ocr0.c       j=loop(bp,j,3*dy/4,dx,cs,1,RI); if (j<i) i=j; // thickness
RI               2652 lib/gocr/ocr0.c        && loop(bp,   0, 3*dy/4,dx,cs,0,RI)
RI               2653 lib/gocr/ocr0.c         >=loop(bp,   0,   dy-2,dx,cs,0,RI)
RI               2658 lib/gocr/ocr0.c        && ( loop(bp,   0,      1,dx,cs,0,RI)
RI               2659 lib/gocr/ocr0.c            >loop(bp,   0,3*dy/16,dx,cs,0,RI)+dx/16
RI               2666 lib/gocr/ocr0.c          && loop(bp,   0, 3*dy/4,dx,cs,0,RI)+1
RI               2667 lib/gocr/ocr0.c           >=loop(bp,   0,   dy-2,dx,cs,0,RI)
RI               2690 lib/gocr/ocr0.c       x= loop(bp,0,   0,dx,cs,0,RI);
RI               2691 lib/gocr/ocr0.c       i= loop(bp,0,   1,dx,cs,0,RI); if (i<x) x=i;
RI               2692 lib/gocr/ocr0.c       i= loop(bp,0,dy/4,dx,cs,0,RI);
RI               2732 lib/gocr/ocr0.c       x  =loop(bp,0,y,dx,cs,0,RI); if(x>3*dx/8) Break; /* slanted too */
RI               2733 lib/gocr/ocr0.c       x +=loop(bp,x,y,dx,cs,1,RI); if(x>5*dx/8) Break; /* fat too */
RI               2734 lib/gocr/ocr0.c       i1 =loop(bp,x,y,dx,cs,0,RI); i1=(i1+2*x)/2; // upper center x
RI               2763 lib/gocr/ocr0.c       i1=loop(bp,   0,   0,dx,cs,0,RI);
RI               2764 lib/gocr/ocr0.c       i2=loop(bp,   0,   1,dx,cs,0,RI);
RI               2769 lib/gocr/ocr0.c       i1=loop(bp,   0,dy/2,dx,cs,0,RI);
RI               2770 lib/gocr/ocr0.c       i1=loop(bp,  i1,dy/2,dx,cs,1,RI);
RI               2773 lib/gocr/ocr0.c       i1=loop(bp,0,  dy/16,dx,cs,0,RI);
RI               2774 lib/gocr/ocr0.c       i2=loop(bp,0,4*dy/16,dx,cs,0,RI);
RI               2775 lib/gocr/ocr0.c       i3=loop(bp,0,7*dy/16,dx,cs,0,RI);
RI               2779 lib/gocr/ocr0.c         i1+=loop(bp,i1,  dy/16,dx,cs,1,RI);
RI               2780 lib/gocr/ocr0.c         i2+=loop(bp,i2,4*dy/16,dx,cs,1,RI);
RI               2781 lib/gocr/ocr0.c         i3+=loop(bp,i3,7*dy/16,dx,cs,1,RI);
RI               2791 lib/gocr/ocr0.c           > loop(bp,    0,   1+dy/32,dx,cs,0,RI) + dx/4 ) Break; // ~5 Dec00
RI               2797 lib/gocr/ocr0.c             > loop(bp,    0,   0+dy/32,dx,cs,0,RI) ) ad=99*ad/100; // ~5
RI               2798 lib/gocr/ocr0.c         if (  loop(bp,    0,dy-1-dy/32,dx,cs,0,RI) 
RI               2897 lib/gocr/ocr0.c       turmite(box1->p,&x,&y,x0,x1,y0,y1,cs,RI,UP);	// upper end right midle
RI               2907 lib/gocr/ocr0.c       turmite(box1->p,&x,&y,x0,x1,y0     ,y1,cs,RI,UP);
RI               2924 lib/gocr/ocr0.c         x=loop(bp,0,y,dx,cs,0,RI);	// Kante abfallend <=> Z
RI               2935 lib/gocr/ocr0.c       x =loop(bp,0,i1,dx  ,cs,0,RI);
RI               2936 lib/gocr/ocr0.c       x+=loop(bp,x,i1,dx-x,cs,1,RI); // left vertical bow
RI               2937 lib/gocr/ocr0.c       x+=loop(bp,x,i1,dx-x,cs,0,RI);  if (x>=dx) ad=90*ad/100;
RI               2962 lib/gocr/ocr0.c 	j=loop(box1->p,x0,y,dx,cs,0,RI);
RI               2964 lib/gocr/ocr0.c 	j+=loop(box1->p,x0+j-2,y+1,dx,cs,0,RI)-2;
RI               2972 lib/gocr/ocr0.c       if( loop(box1->p,x0,y1  ,dy,cs,0,RI)>dx/3 &&
RI               2973 lib/gocr/ocr0.c           loop(box1->p,x0,y1-1,dy,cs,0,RI)>dx/3) Break; // no q
RI               3182 lib/gocr/ocr0.c       yb=dy/8; xb=xc+loop(bp,xc,yb,dx,cs,0,RI); if(xb>=dx) Break;
RI               3225 lib/gocr/ocr0.c         < loop(bp,   0,dy-1-dy/8,dx,cs,0,RI) ) Break;
RI               3230 lib/gocr/ocr0.c         x =loop(bp,   0  ,       y,dx,cs,0,RI); if(x<xa){ xa=x;ya=y; }
RI               3241 lib/gocr/ocr0.c       xa+=    loop(bp,xa  ,ya,dx,cs,1,RI)/2;
RI               3264 lib/gocr/ocr0.c         xb+=loop(bp,xb,yb,dx/4,cs,1,RI)-1;
RI               3276 lib/gocr/ocr0.c       xa=loop(bp,0,dy/8,dx,cs,0,RI);
RI               3277 lib/gocr/ocr0.c       xb=loop(bp,0,dy/2,dx,cs,0,RI);
RI               3278 lib/gocr/ocr0.c       xc=loop(bp,0,dy-1,dx,cs,0,RI);
RI               3448 lib/gocr/ocr0.c       t1=loop(bp,0 ,dy/4,dx,cs,0,RI);
RI               3449 lib/gocr/ocr0.c       t1=loop(bp,t1,dy/4,dx,cs,1,RI); // thickness of line?
RI               3466 lib/gocr/ocr0.c       x =loop(bp,0     ,yb,dx,cs,0,RI);
RI               3467 lib/gocr/ocr0.c       xb=loop(bp,x     ,yb,dx,cs,1,RI);xb=x+xb/2;     if(xb>dx/2) Break;
RI               3482 lib/gocr/ocr0.c       x =loop(bp,0     ,1 ,dx,cs,0,RI);
RI               3483 lib/gocr/ocr0.c       xa=loop(bp,x     ,1 ,dx,cs,1,RI);
RI               3495 lib/gocr/ocr0.c      i= loop(bp,xa  ,1 ,dx,cs,1,RI);
RI               3538 lib/gocr/ocr0.c       x =loop(bp,0     ,yb,dx,cs,0,RI);
RI               3539 lib/gocr/ocr0.c       x+=loop(bp,x     ,yb,dx,cs,1,RI);  if(x>dx/2) Break;
RI               3540 lib/gocr/ocr0.c       xb=loop(bp,x     ,yb,dx,cs,0,RI);xb=x+xb/2;  if(xb>dx/2) Break;
RI               3594 lib/gocr/ocr0.c       x =loop(bp,0,i1,dx,cs,0,RI); if(x>3*dx/4) Break;
RI               3595 lib/gocr/ocr0.c       x+=loop(bp,x,i1,dx,cs,1,RI); if(x>3*dx/4) Break; i2=x;
RI               3596 lib/gocr/ocr0.c       x+=loop(bp,x,i1,dx,cs,0,RI); if(x<3*dx/8) Break; i2=(x+i2)/2;
RI               3624 lib/gocr/ocr0.c       i1=loop(bp,0   ,ya+  (dy-ya)/4,dx,cs,0,RI);	// linke senkr. linie
RI               3625 lib/gocr/ocr0.c       i2=loop(bp,0   ,ya+  (dy-ya)/2,dx,cs,0,RI);
RI               3626 lib/gocr/ocr0.c       i3=loop(bp,0   ,dy-1-(dy-ya)/4,dx,cs,0,RI);
RI               3632 lib/gocr/ocr0.c         i1=loop(bp,   0, y,dx,cs,0,RI);
RI               3636 lib/gocr/ocr0.c       if ( loop(bp,   0,dy-1-dy/8,dx,cs,0,RI)
RI               3637 lib/gocr/ocr0.c           -loop(bp,   0,dy/2     ,dx,cs,0,RI)>0) ad=97*ad/100; // italic-a
RI               3672 lib/gocr/ocr0.c       i1=loop(bp,0,  dy/8,dx,cs,0,RI);
RI               3673 lib/gocr/ocr0.c       i3=loop(bp,0,3*dy/4,dx,cs,0,RI);
RI               3675 lib/gocr/ocr0.c         i2=loop(bp,0,y,dx,cs,0,RI);if(2*i2>i1+i3+1) break;
RI               3687 lib/gocr/ocr0.c         i =loop(bp,0,dy/4,dx,cs,0,RI);
RI               3688 lib/gocr/ocr0.c         i =loop(bp,i,dy/4,dx,cs,1,RI);
RI               3690 lib/gocr/ocr0.c         i =loop(bp,0,dy/4,dx,cs,0,RI);
RI               3691 lib/gocr/ocr0.c         i+=loop(bp,i,dy/4,dx,cs,1,RI);
RI               3694 lib/gocr/ocr0.c         x =loop(bp,0,y-1,dx,cs,0,RI);
RI               3695 lib/gocr/ocr0.c         x+=loop(bp,x,y-1,dx,cs,1,RI);
RI               3733 lib/gocr/ocr0.c        { if (loop(bp,   0,dy-1-dy/16,dx,cs,0,RI)
RI               3748 lib/gocr/ocr0.c       if( loop(bp,0   ,0   ,x1-x0,cs,0,RI)<=
RI               3749 lib/gocr/ocr0.c           loop(bp,0   ,2   ,x1-x0,cs,0,RI)  ) Break;
RI               3793 lib/gocr/ocr0.c       x =loop(bp,0,i1,dx,cs,0,RI); if(x>3*dx/4) break;
RI               3794 lib/gocr/ocr0.c       x+=loop(bp,x,i1,dx,cs,1,RI); if(x>3*dx/4) break; i2=x;
RI               3795 lib/gocr/ocr0.c       x+=loop(bp,x,i1,dx,cs,0,RI); if(x<3*dx/8) break; i2=(x+i2)/2;
RI               3824 lib/gocr/ocr0.c       i1=loop(bp,0   ,     dy/4,dx,cs,0,RI);	// linke senkr. linie
RI               3825 lib/gocr/ocr0.c       i2=loop(bp,0   ,     dy/2,dx,cs,0,RI);
RI               3826 lib/gocr/ocr0.c       i3=loop(bp,0   ,dy-1-dy/4,dx,cs,0,RI);
RI               3831 lib/gocr/ocr0.c         i1=loop(bp,   0, y,dx,cs,0,RI);
RI               3867 lib/gocr/ocr0.c       t1=loop(bp, 0,dy/2,dx,cs,0,RI);
RI               3868 lib/gocr/ocr0.c       t1=loop(bp,t1,dy/2,dx,cs,1,RI);
RI               3885 lib/gocr/ocr0.c       if (loop(box1->p,x0,y0+3*dy/4,dx,cs,0,RI)>dx/16)
RI               3899 lib/gocr/ocr0.c       i=loop(bp,0,dy/2,dx,cs,0,RI);
RI               3900 lib/gocr/ocr0.c       for(y=0;y<dy;y++)if( loop(bp,0,y,dx,cs,0,RI)<i-1-dx/32 ) break;
RI               3904 lib/gocr/ocr0.c         x =loop(bp,0,y,dx,cs,0,RI);
RI               3905 lib/gocr/ocr0.c         x+=loop(bp,x,y,dx,cs,1,RI); if(x>i5) i5=x;
RI               3906 lib/gocr/ocr0.c         i =loop(bp,x,y,dx,cs,0,RI); if(i<i4) i4=i;
RI               3911 lib/gocr/ocr0.c         x=     loop(bp,0,dy/2,dx,cs,0,RI);
RI               3912 lib/gocr/ocr0.c         x=x   +loop(bp,x,dy/2,dx,cs,1,RI);
RI               3914 lib/gocr/ocr0.c         i=x   +loop(bp,x,y,dx,cs,1,RI);
RI               3915 lib/gocr/ocr0.c         i=i   +loop(bp,i,y,dx,cs,0,RI);
RI               3922 lib/gocr/ocr0.c         x= loop(bp,0,     dy/16,dx,cs,0,RI);
RI               3923 lib/gocr/ocr0.c         x=+loop(bp,0,dy-1-dy/16,dx,cs,0,RI);
RI               3924 lib/gocr/ocr0.c         i= loop(bp,0,     dy/2 ,dx,cs,0,RI)*2;
RI               3934 lib/gocr/ocr0.c       x =loop(bp,   0,dy/2,dx,cs,0,RI);
RI               3937 lib/gocr/ocr0.c       if( loop(bp,   0,7*dy/8,dx,cs,0,RI) > x+dx/8
RI               3938 lib/gocr/ocr0.c        && loop(bp,   0,  dy/8,dx,cs,0,RI) > x+dx/8
RI               3977 lib/gocr/ocr0.c       if (loop(bp,0,dy-1-dy/8,dx,cs,0,RI)>=  3*dx/4) ad=98*ad/100; // <
RI               3978 lib/gocr/ocr0.c       if (loop(bp,0,dy-1-dy/8,dx,cs,0,RI)>=(dx+1)/2) ad=98*ad/100; // <
RI               3979 lib/gocr/ocr0.c       if (loop(bp,0,     dy/8,dx,cs,0,RI)>=dx/2) ad=98*ad/100; // <
RI               4007 lib/gocr/ocr0.c         j=loop(box1->p,x0  ,y,dx,cs,0,RI);
RI               4008 lib/gocr/ocr0.c         j=loop(box1->p,x0+j,y,dx,cs,1,RI); if( j>i ){ i=j;i1=y; }
RI               4011 lib/gocr/ocr0.c       i=loop(box1->p,x0  ,y0+dy/2,dx,cs,0,RI); if( i>dx/2   ) Break;
RI               4012 lib/gocr/ocr0.c       j=loop(box1->p,x0+i,y0+dy/2,dx,cs,1,RI); if( i+j>dx/2 ) Break; i2=j;
RI               4015 lib/gocr/ocr0.c        && loop(bp,   0,5*dy/8,dx,cs,0,RI)<dx/4
RI               4018 lib/gocr/ocr0.c         j=loop(box1->p,x0  ,y,dx,cs,0,RI);
RI               4020 lib/gocr/ocr0.c         x=loop(box1->p,x0+j,y,dx,cs,1,RI); 
RI               4026 lib/gocr/ocr0.c       if (loop(bp,0,dy-1,dx,cs,0,RI)
RI               4027 lib/gocr/ocr0.c          -loop(bp,0,dy-3,dx,cs,0,RI)>1+dx/16) ad=96*ad/100; // ~c
RI               4032 lib/gocr/ocr0.c       if (5*dx<2*dy && loop(box1->p,x0,y1,dx,cs,0,RI)>dx/4) ad=99*ad/100; // ~l
RI               4049 lib/gocr/ocr0.c         j = loop(bp,0,y,dx,cs,0,RI);
RI               4050 lib/gocr/ocr0.c         j = loop(bp,j,y,dx,cs,1,RI);
RI               4058 lib/gocr/ocr0.c         j = loop(bp,0,y,dx,cs,0,RI);
RI               4060 lib/gocr/ocr0.c         j = loop(bp,j,y,dx,cs,1,RI);
RI               4065 lib/gocr/ocr0.c         || loop(bp,   0,dy-1,dx,cs,0,RI)>3*dx/8) Break; // ~7
RI               4068 lib/gocr/ocr0.c       x =loop(bp,0,   0,dx,cs,0,RI);
RI               4069 lib/gocr/ocr0.c       i3=loop(bp,x,   0,dx,cs,0,RI);
RI               4070 lib/gocr/ocr0.c       x =loop(bp,0,   1,dx,cs,0,RI);
RI               4071 lib/gocr/ocr0.c       x =loop(bp,x,   1,dx,cs,0,RI); if(x>i3) i3=x;
RI               4072 lib/gocr/ocr0.c       x =loop(bp,0,dy-1,dx,cs,0,RI);
RI               4073 lib/gocr/ocr0.c       i4=loop(bp,x,dy-1,dx,cs,0,RI);
RI               4074 lib/gocr/ocr0.c       x =loop(bp,0,dy-2,dx,cs,0,RI);
RI               4075 lib/gocr/ocr0.c       x =loop(bp,x,dy-2,dx,cs,0,RI); if(x>i4) i4=x;
RI               4125 lib/gocr/ocr0.c         i=loop(bp,0,y,x1-x0,cs,0,RI);
RI               4141 lib/gocr/ocr0.c          i =loop(bp,0,y,dx,cs,0,RI);
RI               4142 lib/gocr/ocr0.c          i+=loop(bp,i,y,dx,cs,1,RI);
RI               4143 lib/gocr/ocr0.c          i+=loop(bp,i,y,dx,cs,0,RI)/2; // middle of v-gap
RI               4148 lib/gocr/ocr0.c         && loop(bp,   0,3*dy/4,dx,cs,0,RI)>=dx/4
RI               4149 lib/gocr/ocr0.c         && loop(bp,   0,7*dy/8,dx,cs,0,RI)<=dx/8
RI               4154 lib/gocr/ocr0.c       if (  loop(bp,0,dy/4,dx,cs,0,RI)>dx/2
RI               4159 lib/gocr/ocr0.c         if (loop(bp,0,dy-1,dx,cs,0,RI)<dx/8) ad=99*ad/100; // ~L
RI               4169 lib/gocr/ocr0.c        && loop(bp,   0,dy-1-dy/8,dx,cs,0,RI)>=dx/2
RI               4182 lib/gocr/ocr0.c           x=loop(bp,0,y,dx,cs,0,RI);
RI               4185 lib/gocr/ocr0.c         if( x>=loop(bp,0,y+1,dx,cs,0,RI) )
RI               4194 lib/gocr/ocr0.c          && loop(bp,0,dy/2,dx,cs,0,RI)>=2
RI               4202 lib/gocr/ocr0.c       if( loop(bp,   0,dy/2,dx,cs,0,RI)>=dx/2
RI               4209 lib/gocr/ocr0.c       x =loop(bp,   0,dy/2,dx,cs,0,RI);	// konvex/konkav? ~()
RI               4211 lib/gocr/ocr0.c       if( loop(bp,   0,7*dy/8,dx,cs,0,RI) > x+dx/8
RI               4212 lib/gocr/ocr0.c        && loop(bp,   0,  dy/8,dx,cs,0,RI) > x+dx/8
RI               4215 lib/gocr/ocr0.c       if( loop(bp,   0,7*dy/8,dx,cs,0,RI) < x-dx/8
RI               4216 lib/gocr/ocr0.c        && loop(bp,   0,  dy/8,dx,cs,0,RI) < x-dx/8
RI               4230 lib/gocr/ocr0.c         if(   loop(bp,   0,3*dy/16,dx,cs,0,RI)-dx/8
RI               4231 lib/gocr/ocr0.c              >loop(bp,   0,      i,dx,cs,0,RI) 
RI               4232 lib/gocr/ocr0.c          ||   loop(bp,   0,3*dy/16,dx,cs,0,RI)-dx/8
RI               4233 lib/gocr/ocr0.c              >loop(bp,   0,    i+1,dx,cs,0,RI)       )
RI               4234 lib/gocr/ocr0.c         if(   loop(bp,   0,8*dy/16,dx,cs,0,RI)-dx/8
RI               4235 lib/gocr/ocr0.c              >loop(bp,   0,      i,dx,cs,0,RI) 
RI               4236 lib/gocr/ocr0.c          ||   loop(bp,   0,8*dy/16,dx,cs,0,RI)-dx/8
RI               4237 lib/gocr/ocr0.c              >loop(bp,   0,    i+1,dx,cs,0,RI)       ) Break; // ~t
RI               4238 lib/gocr/ocr0.c         if(   loop(bp,   0,i-1,dx,cs,0,RI)>1 && dx<6 ) Break; // ~t
RI               4239 lib/gocr/ocr0.c         if(   loop(bp,   0,8*dy/16,dx,cs,0,RI)>dx/8
RI               4240 lib/gocr/ocr0.c            && loop(bp,   0,      i,dx,cs,1,RI)>=dx-1 
RI               4245 lib/gocr/ocr0.c       if(     loop(bp,0,   1,dx,cs,0,RI)>=dx/2
RI               4246 lib/gocr/ocr0.c          && ( loop(bp,0,dy-2,dx,cs,0,RI)<=dx/8 
RI               4247 lib/gocr/ocr0.c            || loop(bp,0,dy-1,dx,cs,0,RI)<=dx/8 ) )
RI               4254 lib/gocr/ocr0.c       if (!hchar || loop(bp,0,dy/4,dx,cs,0,RI)>dx/2){ // ~z
RI               4255 lib/gocr/ocr0.c         i=loop(bp,0,dy/16  ,dx,cs,0,RI);
RI               4256 lib/gocr/ocr0.c         i=loop(bp,i,dy/16  ,dx,cs,1,RI); j=i;
RI               4257 lib/gocr/ocr0.c         i=loop(bp,0,dy/16+1,dx,cs,0,RI);
RI               4258 lib/gocr/ocr0.c         i=loop(bp,i,dy/16+1,dx,cs,1,RI); if (i>j) j=i;
RI               4259 lib/gocr/ocr0.c         i=loop(bp,0,dy/16+2,dx,cs,0,RI);
RI               4260 lib/gocr/ocr0.c         i=loop(bp,i,dy/16+2,dx,cs,1,RI); if (i>j) j=i;
RI               4323 lib/gocr/ocr0.c       if( loop(bp,0   ,0   ,x1-x0,cs,0,RI)<=
RI               4324 lib/gocr/ocr0.c           loop(bp,0   ,2   ,x1-x0,cs,0,RI)  ) Break;
RI               4334 lib/gocr/ocr0.c       if(     loop(bp,0,     dy/16,dx,cs,0,RI)
RI               4335 lib/gocr/ocr0.c          +    loop(bp,0,dy-1-dy/16,dx,cs,0,RI)
RI               4336 lib/gocr/ocr0.c          <= 2*loop(bp,0,     dy/2 ,dx,cs,0,RI)+dx/8 ) Break; // not konvex
RI               4337 lib/gocr/ocr0.c       if(   loop(bp,0   , 1+dy/16,dx,cs,0,RI) + dx/4
RI               4341 lib/gocr/ocr0.c       if( loop(bp,0   ,     dy/16,dx,cs,0,RI)<dx/16 ) Break;
RI               4343 lib/gocr/ocr0.c       if( loop(bp,0   ,dy-1-dy/16,dx,cs,0,RI)<dx/16 ) Break;
RI               4364 lib/gocr/ocr0.c          <loop(bp,   0,dy-1-dy/8,x1-x0,cs,0,RI)) 
RI               4416 lib/gocr/ocr0.c       i= loop(bp,0,dy/2,dx,cs,0,RI); if(i<1) i++;
RI               4420 lib/gocr/ocr0.c       i1=   loop(bp, 0,3*dy/8,dx,cs,0,RI); if (i1>=dx/2) ad=90*ad/100;
RI               4421 lib/gocr/ocr0.c       i2=i1+loop(bp,i1,3*dy/8,dx,cs,1,RI); // upper x-position of v line
RI               4422 lib/gocr/ocr0.c       i3=   loop(bp, 0,7*dy/8,dx,cs,0,RI);
RI               4423 lib/gocr/ocr0.c       i4=i3+loop(bp,i3,7*dy/8,dx,cs,1,RI); // lower x-position of v line
RI               4427 lib/gocr/ocr0.c         i=  loop(bp,0,y,dx,cs,0,RI); if(i>x+dx/16) break;
RI               4496 lib/gocr/ocr0.c       if( loop(bp,0   ,0   ,dx,cs,0,RI)
RI               4497 lib/gocr/ocr0.c         < loop(bp,0   ,2   ,dx,cs,0,RI)       ) Break;
RI               4498 lib/gocr/ocr0.c       if( loop(bp,0   ,dy/8+2,dx,cs,0,RI)
RI               4509 lib/gocr/ocr0.c       if( loop(bp,   0,dy-2,dx,cs,0,RI)>dx/2 )
RI               4510 lib/gocr/ocr0.c       if( loop(bp,   0,   0,dx,cs,0,RI)>dx/2 ) Break;	// 4
RI               4513 lib/gocr/ocr0.c         + loop(bp,   0,3*dy/4,dx,cs,0,RI)
RI               4515 lib/gocr/ocr0.c         + loop(bp,   0,2*dy/4,dx,cs,0,RI) ) ad=94*ad/100; // 4
RI               4516 lib/gocr/ocr0.c       if( loop(bp,0   ,3*dy/4,dx,cs,1,RI) >= dx ) ad=94*ad/100; // 4
RI               4558 lib/gocr/ocr0.c         i=loop(box1->p,x0,y,dx,cs,0,RI);
RI               4568 lib/gocr/ocr0.c       if( loop(box1->p,x0+dx/16,j-dy/32-1,dy,cs,1,RI)>=dx-dx/8
RI               4569 lib/gocr/ocr0.c        || loop(box1->p,x0+dx/16,j-dy/16-1,dy,cs,1,RI)>=dx-dx/8 ){
RI               4583 lib/gocr/ocr0.c       if( loop(bp,0,dy-1-dy/4,dx,cs,0,RI)>5*dx/8
RI               4672 lib/gocr/ocr0.c         xa=loop(bp,   0,yc-1,dx,cs,0,RI);
RI               4676 lib/gocr/ocr0.c           > xa-loop(bp,   0,yc,dx,cs,0,RI) ){ 
RI               4689 lib/gocr/ocr0.c         x=loop(bp,0  ,ye+1,dx,cs,0,RI);
RI               4696 lib/gocr/ocr0.c        && loop(bp,0,   0,dx,cs,0,RI)+1
RI               4697 lib/gocr/ocr0.c         < loop(bp,0,dx/2,dx,cs,0,RI)   ) ad=97*ad/100;
RI               4700 lib/gocr/ocr0.c       if( loop(bp,   0,2*dy/4,dx,cs,0,RI)
RI               4751 lib/gocr/ocr0.c         xa=loop(bp,   0,yc-1,dx,cs,0,RI);
RI               4755 lib/gocr/ocr0.c           > xa-loop(bp,   0,yc,dx,cs,0,RI) ){ 
RI               4768 lib/gocr/ocr0.c         x=loop(bp,0  ,ye+1,dx,cs,0,RI);
RI               4775 lib/gocr/ocr0.c        && loop(bp,0,   0,dx,cs,0,RI)+1
RI               4776 lib/gocr/ocr0.c         < loop(bp,0,dx/2,dx,cs,0,RI)   ) ad=97*ad/100; 
RI               4777 lib/gocr/ocr0.c       if (loop(bp,0,dy-1,dx,cs,0,RI)
RI               4778 lib/gocr/ocr0.c          -loop(bp,0,dy-3,dx,cs,0,RI)>1+dx/16) ad=96*ad/100; // ~c
RI               4781 lib/gocr/ocr0.c       if( loop(bp,   0,2*dy/4,dx,cs,0,RI)
RI               4798 lib/gocr/ocr0.c       x =loop(bp,0,  dy/2,dx,cs,0,RI);	// konvex? divided Q
RI               4799 lib/gocr/ocr0.c       if(loop(bp,0,7*dy/8,dx,cs,0,RI) > x+dx/8) Break;
RI               4804 lib/gocr/ocr0.c       x =loop(bp,0,  dy/2,dx,cs,0,RI);
RI               4805 lib/gocr/ocr0.c       i5=loop(bp,x,  dy/2,dx,cs,1,RI); // center width
RI               4807 lib/gocr/ocr0.c         x =loop(bp,0,  y,dx,cs,0,RI);
RI               4808 lib/gocr/ocr0.c         x =loop(bp,x,  y,dx,cs,1,RI); // width
RI               4815 lib/gocr/ocr0.c         x =loop(bp,0,  y,dx,cs,0,RI);
RI               4816 lib/gocr/ocr0.c         x =loop(bp,x,  y,dx,cs,1,RI); if(x>i1){ i1=x;i2=y; }
RI               4819 lib/gocr/ocr0.c         x =loop(bp,0,  y,dx,cs,0,RI);
RI               4820 lib/gocr/ocr0.c         x =loop(bp,x,  y,dx,cs,1,RI); if(x>i3){ i3=x;i4=y; }
RI               4828 lib/gocr/ocr0.c       x =loop(bp,0,     dy/8,dx,cs,0,RI); i1=x;
RI               4829 lib/gocr/ocr0.c       x+=loop(bp,x,     dy/8,dx,cs,1,RI); i1=(i1+x-1)/2;
RI               4831 lib/gocr/ocr0.c       x =loop(bp,0,dy-1-dy/8,dx,cs,0,RI); i2=x;
RI               4832 lib/gocr/ocr0.c       x+=loop(bp,x,dy-1-dy/8,dx,cs,1,RI); i2=(i2+x-1)/2;
RI               4833 lib/gocr/ocr0.c       x =loop(bp,0,dy-2-dy/8,dx,cs,0,RI); i=x;
RI               4834 lib/gocr/ocr0.c       x+=loop(bp,x,dy-2-dy/8,dx,cs,1,RI); i=(i+x-1)/2; if( i>i2 ) i2=i;
RI               4845 lib/gocr/ocr0.c       x =loop(bp,i1,   y+0,dx,cs,1,RI); j=x;
RI               4846 lib/gocr/ocr0.c       x =loop(bp,i1,   y+1,dx,cs,1,RI); if(x>j)j=x; if(abs(i-j)>1+dx/8)Break;
RI               4849 lib/gocr/ocr0.c       x =loop(bp,i2,dy-y-1,dx,cs,1,RI); j=x;
RI               4850 lib/gocr/ocr0.c       x =loop(bp,i2,dy-y-2,dx,cs,1,RI); if(x>j)j=x; if(abs(i-j)>1+dx/8)Break;
RI               4863 lib/gocr/ocr0.c         if( loop(bp,   0,dy/4,dx,cs,0,RI)> dx/4
RI               4875 lib/gocr/ocr0.c         && loop(bp,   0,  dy/2,dx,cs,0,RI) < dx/4 ) Break; /* ~[ */
RI               4877 lib/gocr/ocr0.c       x =loop(bp,   0,dy/2,dx,cs,0,RI);	// konvex/konkav? ~()
RI               4879 lib/gocr/ocr0.c       if( loop(bp,   0,7*dy/8,dx,cs,0,RI) > x+dx/8
RI               4880 lib/gocr/ocr0.c        && loop(bp,   0,  dy/8,dx,cs,0,RI) > x+dx/8
RI               4883 lib/gocr/ocr0.c       if( loop(bp,   0,7*dy/8,dx,cs,0,RI) < x-dx/8
RI               4884 lib/gocr/ocr0.c        && loop(bp,   0,  dy/8,dx,cs,0,RI) < x-dx/8
RI               4887 lib/gocr/ocr0.c       if(   loop(bp,   0,  dy/8,dx,cs,0,RI)
RI               4889 lib/gocr/ocr0.c       if(   loop(bp,   0,    0,dx,cs,0,RI) > dx/2  // ToDo: check for serifs
RI               4890 lib/gocr/ocr0.c         &&  loop(bp,   0, dy/8,dx,cs,0,RI) > dx/2 
RI               4902 lib/gocr/ocr0.c       i4=loop(bp,   0,dy-1-dy/4,dx,cs,0,RI);
RI               4924 lib/gocr/ocr0.c         i =loop(bp,0,y,dx,cs,0,RI); if (i<cx) { cx=i; cy=y; }
RI               4925 lib/gocr/ocr0.c         i+=loop(bp,i,y,dx,cs,1,RI); if (i>ex) { ex=i; ey=y; }
RI               4927 lib/gocr/ocr0.c       x=(3*ax+cx)/4; y=(3*ay+cy)/4; i= loop(bp,x,y,dx,cs,0,RI);
RI               4934 lib/gocr/ocr0.c          -loop(bp,   0,0,dx,cs,0,RI)>dx/4) ad=96*ad/100; // ~l 5x7
RI               5145 lib/gocr/ocr0.c         if( loop(bp,   0,y,dx,cs,0,RI)
RI               5154 lib/gocr/ocr0.c         +     loop(bp,   0,dy/2       ,dx,cs,0,RI)
RI               5155 lib/gocr/ocr0.c         +     loop(bp,   0,dy/2+dy%2-1,dx,cs,0,RI);
RI               5161 lib/gocr/ocr0.c       i4=loop(bp,   0,0    ,dx,cs,0,RI); // left side
RI               5162 lib/gocr/ocr0.c       i6=loop(bp,   0,dy-1 ,dx,cs,0,RI);
RI               5169 lib/gocr/ocr0.c         x=loop(bp,0   ,y,dx,cs,0,RI);if(abs(x-i)>dx/6+1 ) break; i=x;
RI               5187 lib/gocr/ocr0.c         if( loop(bp,   0,y,dx,cs,0,RI)
RI               5195 lib/gocr/ocr0.c         j=loop(bp,   0,y,dx,cs,0,RI); if(j==i) r2=y; if(j<i){ r2=r1=y; i=j; } 
RI               5201 lib/gocr/ocr0.c       i4=loop(bp,   0,dy/16     ,dx,cs,0,RI);
RI               5202 lib/gocr/ocr0.c       i5=loop(bp,   0,y         ,dx,cs,0,RI);
RI               5203 lib/gocr/ocr0.c       i6=loop(bp,   0,dy-1-dy/16,dx,cs,0,RI);
RI               5217 lib/gocr/ocr0.c          if (2*loop(bp,   0,     y/2,dx,cs,0,RI)+1+dx/16<i4+i5) ad=95*ad/100;
RI               5218 lib/gocr/ocr0.c          if (2*loop(bp,   0,dy-1-y/2,dx,cs,0,RI)+1+dx/16<i6+i5) ad=95*ad/100;
RI               5234 lib/gocr/ocr0.c       i4=loop(bp,   0,0   ,dx,cs,0,RI);
RI               5235 lib/gocr/ocr0.c       i5=loop(bp,   0,dy/2,dx,cs,0,RI);
RI               5236 lib/gocr/ocr0.c       i6=loop(bp,   0,dy-1,dx,cs,0,RI);
RI               5246 lib/gocr/ocr0.c           i=loop(bp,0,y,dx,cs,0,RI);if( i>x ) x=i;
RI               5249 lib/gocr/ocr0.c           i=loop(bp,0,y+dy/8,dx,cs,0,RI);if( i<x ) break;
RI               5340 lib/gocr/ocr0.c           +loop(bp,   0,dy/2,dx,cs,0,RI) <= dx/4 ) break; // O
RI               5363 lib/gocr/ocr0.c       if ( loop(bp,0,dy-1,dx,cs,0,RI)>3*dx/4 ) ad=99*ad/100;
RI               5364 lib/gocr/ocr0.c       if ( loop(bp,0,   0,dx,cs,0,RI)>3*dx/4 ) ad=99*ad/100; // <
RI               5390 lib/gocr/ocr0.c       if (   loop(bp,0,0,dx,cs,0,RI)
RI               5391 lib/gocr/ocr0.c          +   loop(bp,0,2,dx,cs,0,RI)
RI               5392 lib/gocr/ocr0.c          - 2*loop(bp,0,1,dx,cs,0,RI) >=dx/8 ) ad=98*ad/100; // <
RI               5496 lib/gocr/ocr0.c       x=x0+loop(bp,0,dy/4,dx,cs,0,RI);
RI               5540 lib/gocr/ocr0.c       i1=x0+loop(box1->p,x0,y0,dx,cs,0,RI); if( i1<x0+dx/3 || i1>x1-dx/5 ) Break;
RI               5541 lib/gocr/ocr0.c       i2=x0+loop(box1->p,x0,y1,dx,cs,0,RI); if( i2<x0+dx/5 || i2>i1      ) Break;
RI               5546 lib/gocr/ocr0.c         i = loop(box1->p,x0,y0+dy/2-y,dx,cs,0,RI);
RI               5551 lib/gocr/ocr0.c         i = loop(box1->p,x0,y0+dy/2+y,dx,cs,0,RI);
RI               5566 lib/gocr/ocr0.c       i1=loop(bp,0,dy/8     ,dx,cs,0,RI); if (i1>dx/2) Break;
RI               5567 lib/gocr/ocr0.c       i =loop(bp,0,dy/4     ,dx,cs,0,RI); if (i1>dx/2) Break; if (i<i1) i1=i;
RI               5568 lib/gocr/ocr0.c       i3=loop(bp,0,dy-dy/4  ,dx,cs,0,RI); if (i3>dx/2) Break;
RI               5569 lib/gocr/ocr0.c       i =loop(bp,0,dy-dy/4-1,dx,cs,0,RI); if (i3>dx/2) Break; if (i<i3) i3=i;
RI               5572 lib/gocr/ocr0.c         i =loop(bp,0,y,dx,cs,0,RI); if( i>i2 ) i2=i;
RI               5737 lib/gocr/ocr0.c       if (loop(bp,   0,dy/2,dx,cs,0,RI)>dx/4) Break;
RI               5826 lib/gocr/ocr0.c       if( loop(bp,0   ,dy/8,dx,cs,0,RI)
RI               5829 lib/gocr/ocr0.c       { j=loop(box1->p,x0  ,y,dx,cs,0,RI)
RI               5837 lib/gocr/ocr0.c           i=loop(bp,x  ,dy-y,dx,cs,0,RI);
RI               5841 lib/gocr/ocr0.c       x=loop(box1->p,x0  ,y1-dy/8,dx,cs,0,RI)
RI               5844 lib/gocr/ocr0.c       { j=loop(bp,0   ,y,dx,cs,0,RI)
RI               5848 lib/gocr/ocr0.c       { j=loop(box1->p,x0  ,y,dx,cs,0,RI);
RI               5849 lib/gocr/ocr0.c         j=loop(box1->p,x0+j,y,dx,cs,1,RI); if( j>i ) { i=j; ya=y; } } 
RI               5900 lib/gocr/ocr0.c         j=loop(bp,0,y,dx,cs,0,RI); if(j>x) { i2=y; x=j; }
RI               5938 lib/gocr/ocr0.c         j=loop(bp,     0,y,dx,cs,0,RI); if(j>x) break; x=j;
RI               5939 lib/gocr/ocr0.c         j=loop(bp,     j,y,dx,cs,1,RI); if(j>i1) { i1=j; i2=y; }
RI               5970 lib/gocr/ocr0.c       if (loop(bp,dx-1,3*dy/8,dx,cs,0,RI)>dx/8) Break;
RI               5971 lib/gocr/ocr0.c       if (loop(bp,   0,5*dy/8,dx,cs,0,RI)>dx/8) Break;
RI               5982 lib/gocr/ocr0.c       i2 =loop(bp,      0,dy-1,dx,cs,0,RI); if( i2>dx/8 ) Break;
RI               5985 lib/gocr/ocr0.c         j=loop(bp,x,y,dx,cs,0,RI); if( j>3*dx/16 ) break;
RI               6020 lib/gocr/ocr0.c       i2 =loop(bp,      0,dy-1,dx,cs,0,RI); if( i2>dx/4 ) Break;
RI               6023 lib/gocr/ocr0.c         j=loop(bp,x,y,dx,cs,0,RI); // fprintf(stderr,"\n x=%d j=%d",x,j);
RI               6049 lib/gocr/ocr0.c         x=loop(bp,0,y,dx,cs,0,RI); if( x>dx/4 ) break;
RI               6050 lib/gocr/ocr0.c         j=loop(bp,x,y,dx,cs,1,RI); if( j>i ) i=j;
RI               6075 lib/gocr/ocr0.c         j=loop(bp,0,y,dx,cs,0,RI); if(j<x) { i2=y; x=j; }
RI               6104 lib/gocr/ocr0.c       j=loop(bp,   0,dy/8,dx,cs,0,RI); if(j<1 || j<dx/16) Break;            if (j<dx/8) {ad=ad*96/100;}
RI               6105 lib/gocr/ocr0.c       j=loop(bp,   0,dy/2,dx,cs,0,RI); if(j<1 || j<dx/16 || j>=dx/2) Break; if (j<dx/8) {ad=ad*96/100;}
RI               6109 lib/gocr/ocr0.c         j=loop(bp,0,     y,dx,cs,0,RI); if(j>3*dx/4) { i1=0; break; }
RI               6110 lib/gocr/ocr0.c         j=loop(bp,j,     y,dx,cs,1,RI); if(j>i1) { i1=j; }
RI               6111 lib/gocr/ocr0.c         j=loop(bp,0,dy-1-y,dx,cs,0,RI); if(j>3*dx/4) { i1=0; break; }
RI               6112 lib/gocr/ocr0.c         j=loop(bp,j,dy-1-y,dx,cs,1,RI); if(j>i3) { i3=j; }
RI               6177 lib/gocr/ocr0.c       if (  loop(box1->p,x0,y0        ,dx,cs,0,RI)
RI               6178 lib/gocr/ocr0.c          <= loop(box1->p,x0,y0+dy/16+1,dx,cs,0,RI) ) ad=96*ad/100; // X
RI               6210 lib/gocr/ocr0.c       if( loop(bp,0   ,0   ,x1-x0,cs,0,RI)<=
RI               6211 lib/gocr/ocr0.c           loop(bp,0   ,2   ,x1-x0,cs,0,RI)  ) Break;
RI               6212 lib/gocr/ocr0.c       if( loop(bp,dx/2,dy-dy/4,x1-x0,cs,0,RI)>dx/4
RI               6214 lib/gocr/ocr0.c       if( loop(bp,dx/2,3*dy/8,x1-x0,cs,0,RI)<dx/4
RI               6217 lib/gocr/ocr0.c       i=loop(bp,0,dy-1-dy/16,x1-x0,cs,0,RI); if(i>dx/8) Break;
RI               6218 lib/gocr/ocr0.c       x=loop(bp,i,dy-1-dy/16,x1-x0,cs,1,RI); i+=x; if(i<3*dx/8 || i>dx/2) Break;
RI               6219 lib/gocr/ocr0.c       x=loop(bp,i,dy-1-dy/16,x1-x0,cs,0,RI); i+=x; if(i<dx/2 || i>5*dx/8) Break;
RI               6220 lib/gocr/ocr0.c       x=loop(bp,i,dy-1-dy/16,x1-x0,cs,1,RI); i+=x; if(i<7*dx/8) Break;
RI               6420 lib/gocr/ocr0.c      if(  loop(box1->p,x0,y0,x1-x0,cs,0,RI)
RI               6421 lib/gocr/ocr0.c        <= loop(box1->p,x0,y1,x1-x0,cs,0,RI)
RI               6440 lib/gocr/ocr0.c       if(  loop(box1->p,x0,y0,x1-x0,cs,0,RI)  /* simple line */
RI               6441 lib/gocr/ocr0.c          > loop(box1->p,x0,y1,x1-x0,cs,0,RI)
RI               6445 lib/gocr/ocr0.c         if( loop(box1->p,x0,(y0+y1+1)/2,x1-x0,cs,0,RI)<dx/2 ) ad=98*ad/100;
RI               6481 lib/gocr/ocr0.c      if( loop(box1->p,x0,y0,dx,cs,0,RI)
RI               6482 lib/gocr/ocr0.c        > loop(box1->p,x0,y1,dx,cs,0,RI)
RI               6497 lib/gocr/ocr0.c      if( ( loop(box1->p,x0,y0  ,dx,cs,0,RI)
RI               6498 lib/gocr/ocr0.c          > loop(box1->p,x0,y1  ,dx,cs,0,RI)-dx/8
RI               6499 lib/gocr/ocr0.c         || loop(box1->p,x0,y0  ,dx,cs,0,RI)
RI               6500 lib/gocr/ocr0.c          > loop(box1->p,x0,y1-1,dx,cs,0,RI)-dx/8 )
RI                 98 lib/gocr/ocr0n.c       x  =loop(bp,0,y,dx,cs,0,RI); if(x>4*dx/8) Break;
RI                 99 lib/gocr/ocr0n.c       x +=loop(bp,x,y,dx,cs,1,RI); if(x>5*dx/8) Break;
RI                100 lib/gocr/ocr0n.c       i1 =loop(bp,x,y,dx,cs,0,RI); i1=(i1+2*x)/2; // upper center (i1,i3)
RI                123 lib/gocr/ocr0n.c         if (loop(bp,0,dy-1,dx,cs,0,RI)==0) ad=98*ad/100; /* S or 7segment */
RI                140 lib/gocr/ocr0n.c         j=loop(bp,0,y,dx,cs,0,RI); if(j<x) { x=j; i=y; }
RI                142 lib/gocr/ocr0n.c       i1=loop(bp,0,   dy/16     ,dx,cs,0,RI);
RI                143 lib/gocr/ocr0n.c       i2=loop(bp,0,(y+dy/16)/2  ,dx,cs,0,RI);
RI                144 lib/gocr/ocr0n.c       i =loop(bp,0,(y+dy/16)/2+1,dx,cs,0,RI); if( i>i2 ) i2=i;
RI                145 lib/gocr/ocr0n.c       i3=loop(bp,0, y  ,dx,cs,0,RI);
RI                146 lib/gocr/ocr0n.c       i =loop(bp,0, y-1,dx,cs,0,RI); if( i<i3 ) i3=i;
RI                150 lib/gocr/ocr0n.c       if(  loop(bp,0,   dy/5     ,dx,cs,0,RI)
RI                151 lib/gocr/ocr0n.c          ==loop(bp,0,   dy/4     ,dx,cs,0,RI)
RI                153 lib/gocr/ocr0n.c            loop(bp,0,   dy/10    ,dx,cs,0,RI)
RI                154 lib/gocr/ocr0n.c           >loop(bp,0,   dy/4     ,dx,cs,0,RI)
RI                156 lib/gocr/ocr0n.c            loop(bp,0,       1    ,dx,cs,0,RI)
RI                157 lib/gocr/ocr0n.c           >loop(bp,0,   dy/4     ,dx,cs,0,RI)+1
RI                168 lib/gocr/ocr0n.c       if(   loop(bp,   0,dy/2   ,dx,cs,0,RI)<dx/2
RI                169 lib/gocr/ocr0n.c         ||  loop(bp,   0,dy/2-1 ,dx,cs,0,RI)<dx/2 )
RI                172 lib/gocr/ocr0n.c       if(   loop(bp,   0,      dy/16,dx,cs,0,RI)
RI                175 lib/gocr/ocr0n.c         >=  loop(bp,   0, dy-1-dy/16,dx,cs,0,RI)
RI                177 lib/gocr/ocr0n.c         >=  loop(bp,   0,       dy-1,dx,cs,0,RI) ) ad=ad*98/100;
RI                229 lib/gocr/ocr0n.c         i=  loop(bp,0,dy/16,dx,cs,0,RI);
RI                230 lib/gocr/ocr0n.c         if (loop(bp,i,dy/16,dx,cs,1,RI)<dx/2) Break;
RI                239 lib/gocr/ocr0n.c       x =loop(bp,0,7*dy/8-1,dx,cs,0,RI);   i2=x;
RI                240 lib/gocr/ocr0n.c       x+=loop(bp,x,7*dy/8-1,dx,cs,1,RI)-1; i2=(i2+x)/2;
RI                251 lib/gocr/ocr0n.c       x =loop(bp,(i1+i2)/2,dy/2,dx,cs,1,RI); i=x; i3=0;
RI                253 lib/gocr/ocr0n.c         if( loop(bp,i1+y*(i2-i1)/dy, y,dx,cs,1,RI)-i > 1+dx/8 ) break;
RI                260 lib/gocr/ocr0n.c       x =loop(bp,i2,dy-1,dx,cs,1,RI); j=x;
RI                261 lib/gocr/ocr0n.c       x =loop(bp,i2,dy-2,dx,cs,1,RI); if(x>j)j=x;
RI                267 lib/gocr/ocr0n.c         x =loop(bp,0,y,dx,cs,0,RI); if(x<i) { i=x;j=y; }
RI                272 lib/gocr/ocr0n.c       x =loop(bp,0,dy/2,dx,cs,0,RI); // right distance
RI                273 lib/gocr/ocr0n.c       j =loop(bp,x,dy/2,dx,cs,1,RI); // thickness
RI                275 lib/gocr/ocr0n.c       x =loop(bp,0,0,dx,cs,0,RI); // straight line ???
RI                276 lib/gocr/ocr0n.c       j =loop(bp,0,1,dx,cs,0,RI);               if( j>x ) Break; // ~l
RI                277 lib/gocr/ocr0n.c       if( x==j ) j =loop(bp,0,dy/8,dx,cs,0,RI); if( j>x && !i4) Break;
RI                278 lib/gocr/ocr0n.c       if( x==j ) if(loop(bp,0,dy/4,dx,cs,0,RI)>x) {  // ~l
RI                281 lib/gocr/ocr0n.c          && loop(bp,0,3*dy/4,dx,cs,1,RI)<dx-1) ad=97*ad/100;
RI                299 lib/gocr/ocr0n.c       if(   loop(bp,   0,  dy/8,dx,cs,0,RI)
RI                308 lib/gocr/ocr0n.c         i= loop(bp,   0,dy-1-dy/32,dx,cs,0,RI);
RI                309 lib/gocr/ocr0n.c         x= loop(bp,   0,dy-2-dy/32,dx,cs,0,RI); if (i<x) x=i;
RI                310 lib/gocr/ocr0n.c         if( x-loop(bp,   0,    3*dy/4,dx,cs,0,RI)>dx/8 
RI                313 lib/gocr/ocr0n.c         if(   loop(bp,   0,i-1,dx,cs,0,RI)>1 && dx<6) {
RI                320 lib/gocr/ocr0n.c         if (loop(bp,0,3*dy/4,dx,cs,0,RI)-
RI                321 lib/gocr/ocr0n.c             loop(bp,0,dy/2-1,dx,cs,0,RI)>dx/4) ad=95*ad/100; // ~3
RI                344 lib/gocr/ocr0n.c         j=loop(bp,0,y,dx,cs,0,RI); if (j<i) i=j;
RI                400 lib/gocr/ocr0n.c       turmite(box1->p,&x,&y,x0,x1,y0,y1,cs,RI,ST);
RI                403 lib/gocr/ocr0n.c         turmite(box1->p,&x,&y,x0,x1,y0,y1,cs,RI,ST);
RI                425 lib/gocr/ocr0n.c       i2=loop(bp,   0,dy-3*dy/16,dx,cs,0,RI); if( i2>i1 ) ad=98*ad/100; // ~i
RI                554 lib/gocr/ocr0n.c        && loop(bp,dx/4,  dy/8,dy,cs,1,RI)<dy/2 ) Break;
RI                560 lib/gocr/ocr0n.c         i=loop(bp,0,y,dx,cs,0,RI);
RI                562 lib/gocr/ocr0n.c       } i3--; if (i3<dx/3 && i3+1+loop(bp,i3+1,i1,dx,cs,1,RI)<3*dx/4) Break;
RI                566 lib/gocr/ocr0n.c         i=loop(bp,0,y,dx,cs,0,RI);
RI                568 lib/gocr/ocr0n.c       } i4--; if(i4<dx/3 && i4+1+loop(bp,i4+1,i2,dx,cs,1,RI)<3*dx/4) Break;
RI                732 lib/gocr/ocr0n.c       if( loop(bp,0   ,3*dy/16,dx,cs,0,RI)
RI                733 lib/gocr/ocr0n.c         < loop(bp,0   ,2*dy/4 ,dx,cs,0,RI)-dx/8 ) Break;
RI                736 lib/gocr/ocr0n.c        if( loop(bp,0   ,dy-1-y,dx,cs,0,RI)
RI                739 lib/gocr/ocr0n.c       if( loop(bp,0   ,dy-1-dy/8,dx,cs,0,RI) <  dx/4 ) Break;
RI                741 lib/gocr/ocr0n.c       y=0; x=loop(bp,0,0,dx,cs,0,RI);
RI                743 lib/gocr/ocr0n.c         i=loop(bp,0,dy/4,dx,cs,0,RI); if (i>dx/4) Break;
RI                744 lib/gocr/ocr0n.c         i=loop(bp,i,dy/4,dx,cs,1,RI); if (i>dx/2) Break;
RI                757 lib/gocr/ocr0n.c       if (loop(bp,0,0,dx,cs,0,RI)>dx/4) {
RI                776 lib/gocr/ocr0n.c         i = loop(bp,0,dy/16,dx,cs,0,RI);
RI                821 lib/gocr/ocr0n.c       if( loop(bp,   0,  dy/4,dx,cs,0,RI)>dx/2          // ocr-a=6
RI                823 lib/gocr/ocr0n.c       if( loop(bp,   0,  dy/2,dx,cs,0,RI)>dx/4 ) Break;
RI                824 lib/gocr/ocr0n.c       if( loop(bp,   0,3*dy/4,dx,cs,0,RI)>dx/4 ) Break;
RI                842 lib/gocr/ocr0n.c       if (loop(box1->p,x0,y1-dy/3,dx,cs,0,RI)>dx/4 ) Break;
RI                853 lib/gocr/ocr0n.c       i1=loop(bp,0,dy/8     ,dx,cs,0,RI);
RI                854 lib/gocr/ocr0n.c       i3=loop(bp,0,dy-1-dy/8,dx,cs,0,RI);
RI                855 lib/gocr/ocr0n.c       i2=loop(bp,0,dy/2     ,dx,cs,0,RI); 
RI                859 lib/gocr/ocr0n.c         i1=loop(bp, 0,y,dx,cs,0,RI);
RI                860 lib/gocr/ocr0n.c         i2=loop(bp,i1,y,dx,cs,1,RI);
RI                882 lib/gocr/ocr0n.c         j=loop(bp,0,y,dx,cs,0,RI);if(xb>0 && j>dx/4) break; // gap after h-line
RI                883 lib/gocr/ocr0n.c         j=loop(bp,j,y,dx,cs,1,RI);if(j>xb){ xb=j;yb=y; }  // h-line
RI                885 lib/gocr/ocr0n.c       j=loop(bp,0,dy/2,dx,cs,0,RI);
RI                886 lib/gocr/ocr0n.c       j=loop(bp,j,dy/2,dx,cs,1,RI); if(xb<2*j) Break; // minimum thickness
RI                898 lib/gocr/ocr0n.c        j=loop(bp,   0,j,dx,cs,0,RI);
RI                903 lib/gocr/ocr0n.c       if(   loop(bp,   0,3*dy/8,dx,cs,0,RI)
RI                907 lib/gocr/ocr0n.c        && loop(bp,0,dy/4,dx,cs,0,RI) < dx/2 ) ad=ad*96/100; // J
RI                931 lib/gocr/ocr0n.c 	j=loop(box1->p,x0,y,dx,cs,0,RI);
RI                933 lib/gocr/ocr0n.c                  && (i1=loop(box1->p,x0+j,y,dx,cs,1,RI))>dx/2)) {
RI                975 lib/gocr/ocr0n.c         j=loop(bp,0,y,dx,cs,0,RI); if( j<i ) i=j; if( j>i+dx/16 ) break;
RI                978 lib/gocr/ocr0n.c         j=loop(bp,0,dy-1-y,dx,cs,0,RI);
RI                982 lib/gocr/ocr0n.c         && loop(bp,0,dy-1,dx,cs,0,RI) <dx/8+1 ) Break; // no fat serif S
RI               1024 lib/gocr/ocr0n.c 	j=loop(box1->p,x0,y,dx,cs,0,RI); 
RI               1030 lib/gocr/ocr0n.c         j=loop(box1->p,x0+x-1,y,dx/2  ,cs,0,RI);   x+=j;
RI               1051 lib/gocr/ocr0n.c       if( loop(box1->p,x0,y1  ,dy,cs,0,RI)>dx/3 &&
RI               1052 lib/gocr/ocr0n.c           loop(box1->p,x0,y1-1,dy,cs,0,RI)>dx/3
RI               1105 lib/gocr/ocr0n.c       i= loop(bp,0   ,0   ,x1-x0,cs,0,RI)-
RI               1106 lib/gocr/ocr0n.c          loop(bp,0   ,2   ,x1-x0,cs,0,RI);
RI               1122 lib/gocr/ocr0n.c       i=      loop(bp,   0,     dy/16,dx,cs,0,RI)
RI               1123 lib/gocr/ocr0n.c          +    loop(bp,   0,dy-1-dy/16,dx,cs,0,RI)
RI               1124 lib/gocr/ocr0n.c          -  2*loop(bp,   0,     dy/2 ,dx,cs,0,RI);
RI               1131 lib/gocr/ocr0n.c       if( loop(bp,0   ,     dy/16,dx,cs,0,RI)<dx/16 ) Break;
RI               1133 lib/gocr/ocr0n.c       if( loop(bp,0   ,dy-1-dy/16,dx,cs,0,RI)<dx/16 ) Break;
RI               1151 lib/gocr/ocr0n.c       if (loop(bp,   0,   0,x1-x0,cs,0,RI)>=dx/8) { // round, notLCD
RI               1195 lib/gocr/ocr0n.c       if( loop(bp,0   ,        0,x1-x0,cs,0,RI)<=
RI               1196 lib/gocr/ocr0n.c           loop(bp,0   ,  2+dy/32,x1-x0,cs,0,RI)  ) Break;
RI               1197 lib/gocr/ocr0n.c       x=  loop(bp,0   ,dy/2  ,x1-x0,cs,0,RI);
RI               1198 lib/gocr/ocr0n.c       i=  loop(bp,0   ,dy/2-1,x1-x0,cs,0,RI); if (i>x) x=i;
RI               1199 lib/gocr/ocr0n.c       i=  loop(bp,0   ,dy/2-2,x1-x0,cs,0,RI); if (i>x && dy>8) x=i;
RI               1200 lib/gocr/ocr0n.c       if( loop(bp,0   ,  dy/4,x1-x0,cs,0,RI)<x ) Break; // ~8
RI               1218 lib/gocr/ocr0n.c       x =loop(bp,dx/2,dy-y,dx/2,cs,0,RI);    if(x==0) Break;
RI               1223 lib/gocr/ocr0n.c       if( loop(bp,   0,y,dx-1,cs,0,RI) > dx/4
RI               1228 lib/gocr/ocr0n.c       if(     loop(bp,0,     dy/16,dx,cs,0,RI)
RI               1229 lib/gocr/ocr0n.c          +    loop(bp,0,dy-1-dy/16,dx,cs,0,RI)
RI               1230 lib/gocr/ocr0n.c          <= 2*loop(bp,0,     dy/2 ,dx,cs,0,RI)+dx/8 ) Break; // not konvex
RI               1233 lib/gocr/ocr0n.c       if( loop(bp,0   ,     dy/16,dx,cs,0,RI)<dx/16 ) Break;
RI               1235 lib/gocr/ocr0n.c       if( loop(bp,0   ,dy-1-dy/16,dx,cs,0,RI)<dx/16 ) Break;
RI                489 lib/gocr/pgm2asc.c       case RI: (*x)++; break;
RI                541 lib/gocr/pgm2asc.c     case RI:
RI               2109 lib/gocr/pgm2asc.c         if (loop(pp,x0+1,i,x1-x0,cs,1,RI) > (x1-x0-2)) continue; // ll
RI               2119 lib/gocr/pgm2asc.c        && loop(pp,x0,y1-(y1-y0)/32,x1-x0,cs,0,RI)
RI                 32 lib/gocr/remove.c     i=loop(box2->p,box2->x0+0,y,dx,JOB->cfg.cs,0,RI);
RI                 33 lib/gocr/remove.c     i=loop(box2->p,box2->x0+i,y,dx,JOB->cfg.cs,1,RI);
RI                486 lib/gocr/remove.c       j1+=loop(pp,j1,y0  ,x1-x0,cs,0,RI);
RI                487 lib/gocr/remove.c       x  =loop(pp,j1,y0  ,x1-x0,cs,1,RI);	       if(j1+x>x1+1) break;
RI                488 lib/gocr/remove.c       y  =loop(pp,j1,y0+1,x1-x0,cs,1,RI); if(y>x) x=y; if(j1+x>x1+1) break;
RI                498 lib/gocr/remove.c       if( loop(pp,j1,y,x1-x0,cs,0,RI)<1 ) { j1+=x; continue; }
RI                500 lib/gocr/remove.c       j2 = j1 + loop(pp,j1,y,x1-x0,cs,0,RI);
RI                501 lib/gocr/remove.c       j2 = j2 + loop(pp,j2,y,x1-x0,cs,1,RI);
RI                502 lib/gocr/remove.c       i3 =      loop(pp,j2,y,x1-x0,cs,0,RI); if(i3<2){j1+=x;continue;}
RI                504 lib/gocr/remove.c       j3 = j2 + loop(pp,j2,y  ,x1-j2,cs,0,RI);
RI                505 lib/gocr/remove.c       i3 = j2 + loop(pp,j2,y+1,x1-j2,cs,0,RI); if(i3>j3)j3=i3;
RI                506 lib/gocr/remove.c       j3 = j3 + loop(pp,j3,y  ,x1-j3,cs,1,RI);
RI                507 lib/gocr/remove.c       i3 =      loop(pp,j3,y  ,x1-j3,cs,0,RI); 
RI                527 lib/gocr/remove.c            && loop(pp,j2,(y0+y1)/2,xa+1,cs,0,RI) >=xa ){ xb= xa; break; }
RI                552 lib/gocr/remove.c       j1+=loop(pp,j1,y1  ,x1-x0,cs,0,RI);
RI                553 lib/gocr/remove.c       x  =loop(pp,j1,y1  ,x1-x0,cs,1,RI);	       if(j1+x>x1+1) break;
RI                554 lib/gocr/remove.c       y  =loop(pp,j1,y1-1,x1-x0,cs,1,RI); if(y>x) x=y; if(j1+x>x1+1) break;
RI                564 lib/gocr/remove.c       if( loop(pp,j1,y,x1-x0,cs,0,RI)<1 ) { j1+=x; continue; }
RI                566 lib/gocr/remove.c       j2 = j1 + loop(pp,j1,y,x1-x0,cs,0,RI);
RI                567 lib/gocr/remove.c       j2 = j2 + loop(pp,j2,y,x1-x0,cs,1,RI);
RI                568 lib/gocr/remove.c       i3 =      loop(pp,j2,y,x1-x0,cs,0,RI); if(i3<2){j1+=x;continue;}
RI                570 lib/gocr/remove.c       j3 = j2 + loop(pp,j2,y  ,x1-j2,cs,0,RI);
RI                571 lib/gocr/remove.c       i3 = j2 + loop(pp,j2,y-1,x1-j2,cs,0,RI); if(i3>j3)j3=i3;
RI                572 lib/gocr/remove.c       j3 = j3 + loop(pp,j3,y  ,x1-j3,cs,1,RI);
RI                573 lib/gocr/remove.c       i3 =      loop(pp,j3,y,x1-j3,cs,0,RI); 
RI                592 lib/gocr/remove.c            && loop(pp,j2,(y0+y1)/2,xa+1,cs,0,RI) >=xa ){ xb= xa; break; }