Lines Matching refs:space

2788 case'space':font.wadj='spacing'
3511 next.space=0}}
3518 if(s.ts_next){if(s.seqst){if(s.ts_next.seqst){s.ts_next.shrink+=s.shrink;s.ts_next.space+=s.space}else{s.ts_next.seqst=true;s.ts_next.shrink=s.shrink;s.ts_next.space=s.space}}else{if(s.ts_next.seqst&&s.ts_prev&&s.ts_prev.seqst&&!w_tb[s.ts_prev.type]){s.ts_next.seqst=false
3520 s.space=s.ts_next.space}}
3796 function time2space(s,len){var i,l,space
3821 space=space_tb[i]
3822 if(l){if(l<0){space=space_tb[0]*len/(C.BLEN/16/8)}else{if(i>=9)
3824 space+=(space_tb[i+1]-space_tb[i])*l/((C.BLEN/16/8)<<i)}}
3825 return space}
3826 function set_space(s,ptime){var space,len,s2,stemdir
3832 space=time2space(s,len)
3833 while(!s.dur){switch(s.type){case C.BAR:return space*.9-7
3834 case C.CLEF:return space-s.wl-s.wr
3837 return space
3841 while(s2){if(!s2.beam_st){space*=.9
3852 space*=.9}}
3853 return space}
3856 if(s2.seqst){wsp+=s2.space
3863 if(s.seqst){s.space=sp*(s.time-tim)
3883 b.space=set_space(b,s.time)
3897 s2.space=s2.ts_prev?set_space(s2,tim):0
3904 if(!s2.shrink&&!s2.space&&s2.type==C.CLEF){delete s2.seqst;s2.time=tim}
4027 new_s.shrink=8+4;new_s.space=s2.space;new_s.wl=0;new_s.wr=4;new_s.nhd=s2.nhd;new_s.notes=[]
4095 s3.space=set_space(s3,s3.ts_prev.time)
4150 function get_width(s,next){var shrink,space,w=0,wmx=0,sp_fac=(1-cfmt.maxshrink)
4153 if((space=s.space)<shrink)
4157 +space*sp_fac
4163 function set_lines(s,next,lwidth,indent){var first,s2,s3,x,xmin,xmid,xmax,wwidth,shrink,space,ws,nlines,last=next?next.ts_prev:null
4796 s=s.ts_next}while(s!=last_s&&!s.seqst);s2.shrink=shrmx;s2.space=0
4804 last_s.space=0}
5439 if(s.space){if(s.space<s.shrink){xse+=s.shrink;xx+=s.shrink}else{xx+=s.space}}else{xs+=s.shrink}}}
5450 for(s=tsfirst;s;s=s.ts_next){if(s.seqst){if(s.space){if(s.space*spf<=s.shrink){xse+=s.shrink;xx+=s.shrink;x+=s.shrink}else{xx+=s.space;x+=s.space*spf}}else{x+=s.shrink}}
5458 x+=s.space*spf<=s.shrink?s.shrink:s.space*spf