lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Font issues with 2.8.2


From: Shamus
Subject: Font issues with 2.8.2
Date: Mon, 05 Jun 2006 22:43:05 -0700
User-agent: Thunderbird 1.5.0.2 (X11/20060526)

Hi all,

In working with chord names in all their wonderfulness, I've been
running into some font issues that have me scratching my head in a state
of confusion. First, I'm trying to discover a way to replace only the
font for chord names; trying something like

\override ChordName #'font-name = #"Arial Narrow"

in my chordmode context works but doesn't display any accidental
characters. Not good. Doing something along the lines of

\paper
{
  #(define fonts
    (make-pango-font-tree "Times New Roman"
                          "DomCasual BT"
                          "Luxi Mono"
                           1.00))
}

works too, and leaves the accidentals intact in my chord names. Huzzah!
However, it also has the unfortunate side effect of enlarging the feta
characters (cf. font2.png--font1.png shows the effect of no font
overriding). Setting that last parameter to 0.80 seems to bring things
in line (cf. font3.png), but feels like voodoo to me. Maybe someone in
the know can explain why this is happening? I do have

#(set-global-staff-size 16)

at the top of my file, could that have something to do with the strange
behavior I'm seeing here (yes, I know about the (/ num1 num2) construct
in the example--it implied that it would be a value of 1)?

Also, I'm wondering if there's a way to override *just* the sans font
family instead of having to create a font tree--the docs are silent on
this issue.

-- Shamus

I've also been refining my scheme-fu and will post the results of my
work once it's sufficiently general enough to be tweakable without
hardcoding values. I'm still looking for a way to override
chordNameExceptions and chordRootNamer globally, but with no success as
of yet. Any pointers in the right direction would be welcome.

PNG image

PNG image

PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]