[Capella import] file with title results in several vertical frames, 2 containing nothing but a #
See #14438: Problems with capella files, reply #20 issue g), lasconic's SATB.cap file shows the problem
See #14438: Problems with capella files, reply #20 issue g), lasconic's SATB.cap file shows the problem
Comments
Esp. nasty in connection with #20766: [MusicXML] Export keeps text from first frame only
I guess this happens in capella.cpp around line 673 (line 6 below):
{syntaxhighlighter brush:c++}
case CAP_TEXT: {
extern QString rtf2html(const QString &);
TextObj* to = static_cast(o);
Text* s = new Text(score);
QString ss = rtf2html(QString(to->text));
//qDebug("string %f:%f w %d ratio %d <%s>",
// to->relPos.x(), to->relPos.y(), to->width, to->yxRatio, qPrintable(ss));
s->setHtml(ss);
MeasureBase* measure = score->measures()->first();
if (measure->type() != Element::VBOX) {
MeasureBase* mb = new VBox(score);
mb->setTick(0);
score->addMeasure(mb, measure);
}
s->setTextStyleType(TEXT_STYLE_TITLE);
measure->add(s);
}
break;
{/syntaxhighlighter}
But this is really just a guess ;-)
Fixed in branch master, commit 61b30367f2
fix #20911: [Capella import] file with title results in several vertical frames, 2 containing nothing but a #
Fixed in branch 2.0.3, commit 461747702a
fix #20911: [Capella import] file with title results in several vertical frames, 2 containing nothing but a #
Automatically closed -- issue fixed for 2 weeks with no activity.