lilypond-devel
[Top][All Lists]
Advanced

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

Re: Cairo plans


From: Rene Brandenburger
Subject: Re: Cairo plans
Date: Wed, 1 Sep 2021 15:11:20 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

I use the \postscript a lot when typesetting contemporary music e.g. like this:

\version "2.20.0"


wave_line = \markup {
  \with-dimensions #'(0 . 0) #'(0 . 0)
  \postscript #"0.3 setlinewidth 1 setlinecap [0 1]
 0 0 0 setrgbcolor  0.00 -3.50 moveto
 0.23 -3.71   0.47 -3.93   1.00 -4.00 curveto
 1.53 -4.07   2.36 -4.00   3.00 -3.50 curveto
 3.64 -3.00   4.11 -2.07   4.50 -1.46 curveto
 4.89 -0.84   5.22 -0.55   6.00 -0.80 curveto
 6.78 -1.05   8.03 -1.83   9.00 -1.53 curveto
 9.97 -1.23  10.66  0.15  11.50  0.50 curveto
12.34  0.85  13.32  0.17  14.00 -0.50 curveto
14.68 -1.17  15.05 -1.84  16.00 -2.50 curveto
16.95 -3.16  18.47 -3.82  20.00 -4.49 curveto
stroke "
}

 \relative c''{
  s1*5^\wave_line
}


regards

René Brandenburger


Am 31.08.2021 um 12:37 schrieb Kevin Barry:
These changes/improvements are exciting. Thank you and Knut for the hard work!

I would say that this step requires going to LilyPond 3.0, along with
removing all the features and commands that cannot be implemented in
the Cairo backend, or that we don't want to.
We can discuss this in detail later, but I think a major version bump
is not warranted, as we're leaving the music input intact.
I would also have been inclined to say this suggests a major version
bump. But if what you say is true - that input is completely unchanged
- then it may not be necessary. Will the loss of the ps-command affect
users?

Kevin




reply via email to

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