Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions package.ily
Original file line number Diff line number Diff line change
Expand Up @@ -127,20 +127,23 @@ useNotationFont =
(or (assoc-ref options 'brace)
name))
(use-brace (string-downcase brace))
;; retrieve 'roman' name from options with "serif" default.
;; retrieve 'roman' name from options with either "serif" or "LilyPond Serif" default.
(roman
(or (assoc-ref options 'roman)
"serif"))
(if (eq? (ly:get-option 'backend) 'svg)
"serif" "LilyPond Serif")))
(use-roman (string-downcase roman))
;; retrieve 'sans' name from options with "sans-serif" default.
;; retrieve 'sans' name from options with either "sans-serif" or "LilyPond Sans Serif" default.
(sans
(or (assoc-ref options 'sans)
"sans-serif"))
(if (eq? (ly:get-option 'backend) 'svg)
"sans-serif" "LilyPond Sans Serif")))
(use-sans (string-downcase sans))
;; retrieve 'typewriter' name from options with "monospace" default.
;; retrieve 'typewriter' name from options with either "monospace" or "LilyPond Monospace" default.
(typewriter
(or (assoc-ref options 'typewriter)
"monospace"))
(if (eq? (ly:get-option 'backend) 'svg)
"monospace" "LilyPond Monospace")))
(use-typewriter (string-downcase typewriter))
;; retrieve 'style' option with "default" default ...
(style
Expand Down