Skip to content

Commit

Permalink
Added a missing Leland Text item
Browse files Browse the repository at this point in the history
  • Loading branch information
vpereverzev committed Nov 13, 2020
1 parent 2123994 commit f1c4951
Show file tree
Hide file tree
Showing 5 changed files with 1,105 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/barline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ void BarLine::drawDots(QPainter* painter, qreal x) const
const StaffType* st = staffType();

//workaround to make new Bravura, Petaluma and Leland font work correctly with repeatDots
qreal offset = (score()->scoreFont()->name() == "Bravura" || score()->scoreFont()->name() == "Petaluma" || score()->scoreFont()->name() == "Leland") ? 0 : 0.5 * score()->spatium() * mag();
qreal offset = (score()->scoreFont()->name() == "Leland" || score()->scoreFont()->name() == "Bravura" || score()->scoreFont()->name() == "Petaluma") ? 0 : 0.5 * score()->spatium() * mag();
y1l = st->doty1() * _spatium + offset;
y2l = st->doty2() * _spatium + offset;
}
Expand Down
5 changes: 5 additions & 0 deletions mscore/editstyle.ui
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,11 @@
</item>
<item row="1" column="1">
<widget class="QComboBox" name="musicalTextFont">
<item>
<property name="text">
<string notr="true">Leland Text</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">Bravura Text</string>
Expand Down
1 change: 1 addition & 0 deletions mtest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ if (MSVC)
endif (MSVC)

QT5_ADD_RESOURCES(qrc_files ${PROJECT_SOURCE_DIR}/mtest/mtest.qrc
${PROJECT_SOURCE_DIR}/mscore/musescorefonts-Campania.qrc
${PROJECT_SOURCE_DIR}/mscore/musescorefonts-Leland.qrc
${PROJECT_SOURCE_DIR}/mscore/musescorefonts-Edwin.qrc
${PROJECT_SOURCE_DIR}/mscore/musescorefonts-MScore.qrc
Expand Down
1 change: 1 addition & 0 deletions share/styles/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#=============================================================================

install(FILES
Leland.mss
MuseJazz.mss
chords_std.xml
chords_jazz.xml
Expand Down
Loading

0 comments on commit f1c4951

Please sign in to comment.