abc2svg
Check-in [deb9eccd0a]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:core: fix: bad placement of space 'y' when at end of voice overlay - reported by Hudson Lacerda
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: deb9eccd0aa76899ce95a3b344a8f273185ebadb
User & Date: jef 2019-07-25 15:03:57.015
Context
2019-07-25
15:08
core: shifting the time of the spaces before the bars is not useful anymore ... (check-in: ddec80ba91 user: jef tags: trunk)
15:03
core: fix: bad placement of space 'y' when at end of voice overlay - reported by Hudson Lacerda ... (check-in: deb9eccd0a user: jef tags: trunk)
2019-07-24
14:30
core: fix: clash of accidentals when unison and only one accidental ... (check-in: 1a06c7d664 user: jef tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to core/tune.js.
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
	/* copy the mrest decorations to the last rest */
	s2.a_dd = a_dd
}

/* -- sort all symbols by time and vertical sequence -- */
// weight of the symbols !! depends on the symbol type !!
var w_tb = new Uint8Array([
	2,	// bar
	1,	// clef
	8,	// custos
	0,	// (free)
	3,	// grace
	5,	// key
	6,	// meter
	9,	// mrest







|







138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
	/* copy the mrest decorations to the last rest */
	s2.a_dd = a_dd
}

/* -- sort all symbols by time and vertical sequence -- */
// weight of the symbols !! depends on the symbol type !!
var w_tb = new Uint8Array([
	4,	// bar
	1,	// clef
	8,	// custos
	0,	// (free)
	3,	// grace
	5,	// key
	6,	// meter
	9,	// mrest
1702
1703
1704
1705
1706
1707
1708











1709
1710
1711
1712
1713
1714
1715
			syntax(1, "Wrong duration in voice overlay")
			if (curvoice.time > vover.p_voice.time)
				vover.p_voice.time = curvoice.time
		}
	}
	p_voice2.time = vover.time;
	curvoice = p_voice2











}

// check if a clef, key or time signature may go at start of the current voice
function is_voice_sig() {
	var s

	if (!curvoice.sym)







>
>
>
>
>
>
>
>
>
>
>







1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
			syntax(1, "Wrong duration in voice overlay")
			if (curvoice.time > vover.p_voice.time)
				vover.p_voice.time = curvoice.time
		}
	}
	p_voice2.time = vover.time;
	curvoice = p_voice2

	// add a bar at start of the measure overlay
	// (needed for sort_all() in case of spaces - 'y')
	if (vover.bar) {
		sym_link({
			type: C.BAR,
			bar_type: type,
			dur: 0,
			multi: 0
		})
	}
}

// check if a clef, key or time signature may go at start of the current voice
function is_voice_sig() {
	var s

	if (!curvoice.sym)