(else "")))
)
- (let* ((slur (Slur::print grob))
- (paper (ly:grob-paper grob))
+ (let* (
+ (slur ; (Slur::print grob)
+
+ ;;
+ ;; FIXME: a hammer is not a slur.
+ ;;
+ (ly:make-stencil '() '(0 . 0) '(0 . 0)))
+ (layout (ly:grob-layout grob))
(text (interpret-markup
- paper
- (ly:grob-alist-chain grob (ly:paper-lookup paper 'text-font-defaults))
+ layout
+ (ly:grob-alist-chain grob (ly:output-def-lookup layout 'text-font-defaults))
letter)))
(let ((x (/ (- (cdr (ly:stencil-extent slur 0))
(ly:stencil-align-to! text 0 1)
)
- (ly:stencil-combine-at-edge slur 1 1 text -0.6)
+; (ly:stencil-combine-at-edge slur 1 1 text -0.6)
) ) )
;; (* (/ 72.27 25.40) x))
;; do nothing in .scm output
-(define-public (comment s) "")
(define-public (ly:numbers->string lst)
(string-join (map ly:number->string lst) " "))
;; brevis, longa and maxima from the neo-mensural font and all
;; other note heads from the default font. -- jr
(if (< duration 0)
- (string-append (number->string duration) "neo_mensural")
+ (string-append (number->string duration) "neomensural")
(number->string duration)))
((mensural)
(string-append (number->string duration) (symbol->string style)))
- ((neo_mensural)
+ ((neomensural)
(string-append (number->string duration) (symbol->string style)))
((default)
;; The default font in mf/feta-bolletjes.mf defines a brevis, but
;; should look exactly like the brevis of the default font, but
;; with a stem exactly like that of the quarter note. -- jr
(if (< duration -1)
- (string-append (number->string duration) "neo_mensural")
+ (string-append (number->string duration) "neomensural")
(number->string duration)))
(else
(if (string-match "vaticana*|hufnagel*|medicaea*" (symbol->string style))
)))
(if (equal? result #f)
- (ly:warn (string-append "Unknown bar glyph: `" glyph "'"))
+ (ly:warn "Unknown bar glyph: `~S'" glyph)
(index-cell (cdr result) dir))
) )