The use of tab key to separate text - words/letters - causes problem for export PDf
S4 - Minor
Test with tab have visualization problem when exporting the score to pdf.
In the attached pdf there are incomplete text in page 2.
GIT commit: b25f81d
|example text tab issue.pdf||47.82 KB|
Critical is reserved for crashes and corruption. Also I assume you're not planning to fix it yourself, so have unassigned the issue from you...
Issue got filed as follow up to https://musescore.org/en/node/61186
I can confirm the issue, Windows 7 (Enterprise, 64bit), also with the latest nightly build.
Seems a regression from 1.x, where this did work.
Ok, thanks Jojo-Schmitz.
Nightly 93d1b48/ Windows7
1) Open this file: : test file tab key.mscz
2) In the frame, separate the word Title from A by hitting the tab key three times
Result on the .mscz file
3) File -> Export -> PDF file
Result (click to see the entire image)
4) Hit a fourth time on the tab key
Result after export PDF : the A has disappeared
- Same result in staff text by separating a letter or a group of letters by hitting x times on the tab key
- Ditto e.g. in horizontal frame:
Result (click again on the image)
From what I see in the time, it's a very former issue.
I can reproduce since a year, with a Nighlty of 2014, May 19
Result after export PDF
Tabs are not handled currently by MuseScore. In my latest commit i replace them by spaces to at least get consistent behaviour.
The problem would be to replace with the right number of spaces, a) for the first and b) for subsequent TABs. The latter case maybe the easy one, just pick 8, but the former depends on where you are, at which position in the string.
Oops, I see your change replaces TAB with a single space. That is most probably not what a user would expect, is it?
I just disabled tabs. For normal (non equidistant) fonts replacing tabs by spaces would not work. A real implementation would position to the next horizontal tab position which is somewhat more complicated to do.
Ah, yes, true of course