lilypond-devel
[Top][All Lists]
Advanced

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

Re: Cairo plans


From: Jean Abou Samra
Subject: Re: Cairo plans
Date: Wed, 1 Sep 2021 17:47:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

Le 01/09/2021 à 17:22, Richard Shann a écrit :
Denemo uses postscript to generate a title page with a border.
  From a glance at the output of

git grep "\\\\postscript"

in the Denemo repository, that should be easy to convert
to \path as above.
it was this paper block I had in mind specifically


Similarly, you can convert the \postscript call in that to
something like this:

\markup
\with-dimensions-from \null
\combine
  \translate #'(2 . -3)
  \path #0.2
        #'((moveto 0 0)
           (lineto 104 0)
           (lineto 104 -150)
           (lineto 0 -150)
           (closepath))
  \translate #'(3 . -4)
  \path #0.1
        #'((moveto 0 0)
           (lineto 102 0)
           (lineto 102 -148)
           (lineto 0 -148)
           (closepath))

You even get the advantage that this now works
with SVG output.


(though I guess
creating customized ornaments done via eps files would also fail):

In the end we might support EPS, see Han-Wen's original
message.

Even if we don't, including PDF documents should become
supported, and one will be able to convert one's EPS
files into PDF to include them.

Best,
Jean




reply via email to

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