Skip to content

SmuFL glyphs for tremolo picking not used #31640

@Danielku15

Description

@Danielku15

Issue type

Engraving bug (incorrect score rendering)

Description with steps to reproduce

  1. Add a note with tremolo picking to the document
  2. Go to Format > Style and change the musical font to Petaluma
  3. Notice that the symbols for tremolo picking did not change.

Supporting files, videos and screenshots

Rendering in MuseScore
Image

tremolo3 glyph in Petaluma:

Image

In which versions of MuseScore Studio is this issue present?

4.6.5

Regression

No.

Operating system

Fedora 43

Additional context

Related location in source code where a rectangle is drawn and sheared:

double lw = sp * style().styleS(Sid::tremoloLineWidth).val();
double td = sp * style().styleS(Sid::tremoloDistance).val();
PainterPath ppath;
// first line
ppath.addRect(-w2, 0.0, 2.0 * w2, lw);
double ty = td;
// other lines
for (int i = 1; i < m_lines; i++) {
ppath.addRect(-w2, ty, 2.0 * w2, lw);
ty += td;
}
Transform shearTransform;
shearTransform.shear(0.0, -(lw / 2.0) / w2);
ppath = shearTransform.map(ppath);

Checklist

  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible

Metadata

Metadata

Assignees

Labels

engravingShape, position, or ability to notate musical symbols & text in the score

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions