Skip to content

Commit

Permalink
lowercase spatium (supported since MuseScore 4.1 or so)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpatters1 committed Dec 7, 2024
1 parent aa37a43 commit 31cb8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/document_options_to_musescore.lua
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ function write_page_prefs(style_element)
set_element_text(style_element, "firstSystemIndentationValue", page_prefs.FirstSystemLeft / EVPU_PER_SPACE)
local page_percent = page_prefs.PageScaling / 100
local staff_percent = (page_prefs.SystemStaffHeight / (EVPU_PER_SPACE * 4 * 16)) * (page_prefs.SystemScaling / 100)
set_element_text(style_element, "Spatium", (EVPU_PER_SPACE * staff_percent * page_percent) / EVPU_PER_MM)
set_element_text(style_element, "spatium", (EVPU_PER_SPACE * staff_percent * page_percent) / EVPU_PER_MM)
if default_music_font.IsSMuFLFont then
set_element_text(style_element, "musicalSymbolFont", default_music_font.Name)
set_element_text(style_element, "musicalTextFont", default_music_font.Name .. " Text")
Expand Down

0 comments on commit 31cb8af

Please sign in to comment.