[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Chord fonts to sans serif
From: |
Han-Wen Nienhuys |
Subject: |
Chord fonts to sans serif |
Date: |
Sun, 14 Sep 2003 13:05:58 +0200 |
address@hidden writes:
> I would like to change chord fonts to sans-serif.
>
> Setting:
>
> \property ChordNames . ChordName \set #'font-name =#"cmss12"
>
> almost works, but in this case accidentals don't appear next to chord names.
>
> Is there a way to set chord fonts to sans serif?
You have found a bug. The following patch will rectify it.
*** new-markup.scm.~1.41.~ 2003-08-03 01:06:19.000000000 +0200
--- new-markup.scm 2003-09-14 13:04:08.462917008 +0200
***************
*** 168,174 ****
(define-public (musicglyph-markup grob props . rest)
(ly:find-glyph-by-name
! (ly:get-font grob (cons '((font-family . music)) props))
(car rest))
)
--- 168,174 ----
(define-public (musicglyph-markup grob props . rest)
(ly:find-glyph-by-name
! (ly:get-font grob (cons '((font-name . ()) (font-family . music)) props))
(car rest))
)
>
> Thanks,
>
> Márton
>
>
>
> _______________________________________________
> Lilypond-user mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/lilypond-user
>
--
Han-Wen Nienhuys | address@hidden | http://www.xs4all.nl/~hanwen