Skip to content

Commit f1c4951

Browse files
committed
Added a missing Leland Text item
1 parent 2123994 commit f1c4951

File tree

5 files changed

+1105
-1
lines changed

5 files changed

+1105
-1
lines changed

libmscore/barline.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ void BarLine::drawDots(QPainter* painter, qreal x) const
475475
const StaffType* st = staffType();
476476

477477
//workaround to make new Bravura, Petaluma and Leland font work correctly with repeatDots
478-
qreal offset = (score()->scoreFont()->name() == "Bravura" || score()->scoreFont()->name() == "Petaluma" || score()->scoreFont()->name() == "Leland") ? 0 : 0.5 * score()->spatium() * mag();
478+
qreal offset = (score()->scoreFont()->name() == "Leland" || score()->scoreFont()->name() == "Bravura" || score()->scoreFont()->name() == "Petaluma") ? 0 : 0.5 * score()->spatium() * mag();
479479
y1l = st->doty1() * _spatium + offset;
480480
y2l = st->doty2() * _spatium + offset;
481481
}

mscore/editstyle.ui

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,11 @@
337337
</item>
338338
<item row="1" column="1">
339339
<widget class="QComboBox" name="musicalTextFont">
340+
<item>
341+
<property name="text">
342+
<string notr="true">Leland Text</string>
343+
</property>
344+
</item>
340345
<item>
341346
<property name="text">
342347
<string notr="true">Bravura Text</string>

mtest/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ if (MSVC)
4040
endif (MSVC)
4141

4242
QT5_ADD_RESOURCES(qrc_files ${PROJECT_SOURCE_DIR}/mtest/mtest.qrc
43+
${PROJECT_SOURCE_DIR}/mscore/musescorefonts-Campania.qrc
4344
${PROJECT_SOURCE_DIR}/mscore/musescorefonts-Leland.qrc
4445
${PROJECT_SOURCE_DIR}/mscore/musescorefonts-Edwin.qrc
4546
${PROJECT_SOURCE_DIR}/mscore/musescorefonts-MScore.qrc

share/styles/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#=============================================================================
1919

2020
install(FILES
21+
Leland.mss
2122
MuseJazz.mss
2223
chords_std.xml
2324
chords_jazz.xml

0 commit comments

Comments
 (0)