lilypond-user
[Top][All Lists]
Advanced

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

Re: Slur with left and/or right arrow head


From: Thomas Morley
Subject: Re: Slur with left and/or right arrow head
Date: Fri, 19 Apr 2019 12:29:17 +0200

Am Mi., 17. Apr. 2019 um 21:16 Uhr schrieb Thomas Morley
<address@hidden>:
>
> Am Di., 16. Apr. 2019 um 23:45 Uhr schrieb Aaron Hill

> > Also, I "fixed" the font-size issue by bypassing the font settings
> > within the grob itself, because simply scaling the glyph results in
> > thicker lines.  So while font-size is now consistent between the
> > different grobs, it is unfortunately now a hard-coded value.  I am
> > uncertain whether this tradeoff would be acceptable.
>
> Not sure either, why does Tie has a font-size property at all?

Hi Aaron,

still on the journey to understand all subtleties of your code...

One detail: meanwhile I don't think it's nice hardcoding the
font-size, looks bad for high or low staff-spaces.

How about looking at staff-space and derive a suitable value from it?
I.e. in `curve-adjusted-arrow-head´:

[...]
      (let* ((staff-space (ly:staff-symbol-staff-space curve))
             ;; reducing fs-from-staff-space a bit looks nicer
             (fs-from-staff-space (1- (magnification->font-size staff-space)))
             (grob-font
               (ly:paper-get-font
                 (ly:grob-layout curve)
                 `(((font-encoding . fetaMusic)
                    (font-size . ,fs-from-staff-space)))))
[...]

Best,
  Harm



reply via email to

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