Accented characters at beginning/end of lyrics ignored with respect to alignment

• Jun 11, 2015 - 15:59
Type
Functional
Severity
S4 - Minor
Status
closed
Project

Ubuntu 14.04, GIT commit: 2508953

1) new score
2) enter a note
3) enter lyric consisting of letter "A" preceded and/or followed by any number of accented characters

Result: no matter what accented characters you enter, the "A" remains centers under the note. The accented characters are ignored.

This is a result of the change I made in response to a number of requests that we ignore leading and trailing punctuation. The regular expression I use to parse the lyric relies on the Qt "non-word" class "\W" to recognize punctuation, but apparently this also matches on accented letters. At first glance, this appears to be a Qt bug, but one we need to work around. We need a better regular expression or a different approach.


Comments

With Mint17.1 Rebecca (=ubuntu14.04) and a french BÉPO keyboard I typed èĉAĵŭ and see it as lyric in the attached

Musscore 2.0.2 3b511c0 compiled to-day.

Attachment Size
ecAju.mscz 4.54 KB