Skip to content

Layout issues on notes examples #441

@Danielku15

Description

@Danielku15

Your environment

Expected Results

Notes should never exceed the available bar range and accidentals must not overlap notes.

Observed Results

Notes do overlap
image
See https://www.alphatab.net/docs/showcase/music-notation/#notes-rests-and-beams

Steps to Reproduce (for bugs)

  1. Open https://www.alphatab.net/docs/showcase/music-notation/#notes-rests-and-beams

Possible Solution

There must still be some hidden issue in the space calculation which was reworked in 1.1. From the available space it is hard to judge if an overlap of accidentals cannot be avoided. To still have the right timing accidentals might need to shift into notes, but we should rather never exceed the bar than avoiding overlaps. Comparing alphaTab with Guitar Pro it really seems to be the case that more space is needed than there is available:
image

Metadata

Metadata

Assignees

Labels

area-renderingEverything related to the renderingstate-acceptedThis is a valid topic to work on.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions