Lines Matching refs:name

168 if(up){y=s.ymx|0}else if(dd.name[0]=='w'){de.inv=true
174 else if(dd.name[0]=='w')
181 if(dd.name[0]=='d'&&s.nflags>=-1){if(up){if(s.stem>0)
267 default:if(dd.name.indexOf("invert")==0)
269 if(dd.name!="invertedfermata"&&(up>0||(up<0&&s.multi>=0))){yc=y_get(s.st,true,s.x-dd.wl,w)+2+dd.hd
274 if(dd.name=="fermata")
303 if(!dd){dd={name:nm}
305 dd.func=dd.name.indexOf("head-")==0?9:c_func;dd.glyph=a[2];dd.h=Number(h)
311 dd.str=dd.name
312 c=dd.name.slice(-1)
313 if(c=='('||(c==')'&&dd.name.indexOf('(')<0)){dd.str=null;name2=dd.name.slice(0,-1)+(c=='('?')':'(');dd2=dd_tb[name2]
323 switch(dd.func){case 0:if(s.type==C.BAR&&dd.name=="dot"){s.bar_dotted=true
325 case 1:case 2:if(!s.notes){error(1,s,errs.must_note_rest,dd.name)
328 case 8:if(s.type!=C.NOTE){error(1,s,errs.must_note,dd.name)
333 note.a_dcn.push(dd.name)
335 case 9:if(!s.notes){error(1,s,errs.must_note_rest,dd.name)
340 note.a_dcn.push(dd.name)}
344 s.notes[j].color=dd.name}else{s.color=dd.name}
352 case 34:if(s.type!=C.NOTE||!prev||prev.type!=C.NOTE||s.dur!=prev.dur){error(1,s,"!$1! must be on the last of a couple of notes",dd.name)
354 s.trem2=true;s.beam_end=true;s.beam_st=false;prev.beam_st=true;prev.beam_end=false;s.ntrem=prev.ntrem=Number(dd.name[4]);for(j=0;j<=s.nhd;j++)
358 case 35:if(s.type!=C.NOTE){error(1,s,errs.must_note,dd.name)
361 case 36:if(s.type!=C.NOTE){error(1,s,errs.must_note,dd.name)
363 if(dd.name[6]=='1')
370 case 38:if(s.type!=C.NOTE){error(1,s,errs.must_note,dd.name)
372 s.trem1=true;s.ntrem=dd.name.length
374 case 39:if(s.type!=C.NOTE){error(1,s,errs.must_note,dd.name)
376 s.feathered_beam=dd.name[5]=='a'?1:-1;continue
502 default:error(1,null,"Cannot have !$1! on a head",dd.name)
506 case 10:note.color=dd.name
536 if(i>0&&a_de[i-1].s.time==de.s.time&&a_de[i-1].dd.name.slice(0,dd.name.length-1)==dd.name.slice(0,dd.name.length-1))
2750 var cfmt={annotationfont:{name:"sans-serif",size:12},aligncomposer:1,beamslope:.4,breaklimit:.7,breakoneoln:true,cancelkey:true,composerfont:{name:"serif",style:"italic",size:14},composerspace:6,dblrepbar:':][:',decoerr:true,dynalign:true,footerfont:{name:"serif",size:16},fullsvg:'',gchordfont:{name:"sans-serif",size:12},gracespace:new Float32Array([4,8,11]),graceslurs:true,headerfont:{name:"serif",size:16},historyfont:{name:"serif",size:16},hyphencont:true,indent:0,infofont:{name:"serif",style:"italic",size:14},infoname:'R "Rhythm: "\n\
2756 H "History: "',infospace:0,keywarn:true,leftmargin:1.4*CM,lineskipfac:1.1,linewarn:true,maxshrink:.65,maxstaffsep:2000,maxsysstaffsep:2000,measrepnb:1,measurefont:{name:"serif",style:"italic",size:10},measurenb:-1,musicfont:{name:"music",src:musicfont,size:24},musicspace:6,partsfont:{name:"serif",size:15},parskipfac:.4,partsspace:8,pagewidth:21*CM,printmargin:0,rightmargin:1.4*CM,rbdbstop:true,rbmax:4,rbmin:2,repeatfont:{name:"serif",size:13},scale:1,slurheight:1.0,staffsep:46,stemheight:21,stretchlast:.25,stretchstaff:true,subtitlefont:{name:"serif",size:16},subtitlespace:3,sysstaffsep:34,tempofont:{name:"serif",weight:"bold",size:12},textfont:{name:"serif",size:16},textspace:14,tieheight:1.0,titlefont:{name:"serif",size:20},titlespace:6,titletrim:true,topspace:22,tuplets:[0,0,0,0],tupletfont:{name:"serif",style:"italic",size:12},vocalfont:{name:"serif",weight:"bold",size:13},vocalspace:10,voicefont:{name:"serif",weight:"bold",size:13},writefields:"CMOPQsTWw",wordsfont:{name:"serif",size:16},wordsspace:5}
2765 function set_font_fac(font){var scale=font_scale_tb[font.name]
2773 font=cfmt[xxxfont];if(!font){font={pad:0}}else{font={name:font.name,size:font.size,box:font.box,pad:font.pad}}
2823 font.name=p}
2981 function st_font(font){var n=font.name,r=""
3007 font-family:"+font.name+";\n\
3013 if(!font.name||!font.size){font2=Object.create(gene.curfont)
3014 if(font.name)
3015 font2.name=font.name
5682 case"name=":case"nm=":curvoice.nm=a.shift()
6831 if(nf.class&&nf.name==of.name&&nf.size==of.size&&nf.weight==of.weight&&nf.style==of.style)
6868 cw_tb=xxx.name.slice(0,4)=='sans'?ssw_tb:sw_tb
7402 function out_deco_str(x,y,name,str){var a,f,a_deco=deco_str_style[name]
7403 if(!a_deco){xygl(x,y,name)
7405 x+=a_deco.dx;y+=a_deco.dy;if(!a_deco.def){style+="\n."+name+" {"+a_deco.style+"}";a_deco.def=true}
7406 out_XYAB('<text x="X" y="Y" class="A"B>',x,y,name,a_deco.anchor||"");set_font("annotation");out_str(str);output+='</text>\n'}
7452 function out_deco_val(x,y,name,val,defl){if(deco_val_tb[name])
7453 deco_val_tb[name](x,y,val,defl)
7455 error(1,null,"No function for decoration '$1'",name)}
7463 function out_deco_long(x,y,de){var name=de.dd.glyph
7464 if(deco_l_tb[name])
7465 deco_l_tb[name](x,y,de)
7467 error(1,null,"No function for decoration '$1'",name)}