Am Mi., 17. Apr. 2019 um 21:16 Uhr schrieb Thomas Morley
<thomasmorle...@gmail.com>:
>
> 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

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to