lilypond-user
[Top][All Lists]
Advanced

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

Re: Has anyone had success including lilypond generated EPS files into g


From: Kim Shrier
Subject: Re: Has anyone had success including lilypond generated EPS files into groff?
Date: Mon, 10 Nov 2008 12:20:25 -0700

On Nov 10, 2008, at 10:31 AM, Kim Shrier wrote:

On Nov 10, 2008, at 10:04 AM, Werner LEMBERG wrote:


As an experiment, I wanted to create a simple troff document that
would include the EPS output from lilypond.  [...]

I use the following command to make the test.eps file:

   lilypond -dbackend=eps \
            -dno-gs-load-fonts \
            -dinclude-eps-fonts
            test.ly

When I try to run groff (version 1.19.2) on my troff file, I get the
following 2 messages:

   grops:test.eps:16: unknown resource type
   grops:test.eps:17: unknown resource type

Speaking as the groff maintainer:

Unfortunately, this doesn't work.  The fonts are embedded as CFFs,
using PostScript Level 3 features: the `FontSetInit' procedure and
`FontSet' resource.  Currently, grops doesn't understand this.  Maybe
I'm going to add this, but I can't promise any time frame.

A workaround is to use

lilypond test.ly

then calling

eps2eps test.ps test.eps

to get an EPS file accepted by grops (and thus groff).
High-resolution printing is just fine if you do it like this, but text
embedded in the EPS is converted to outlines, thus all PS hints are
lost, makeing online viewing not optimal.


  Werner


Thanks. I had figured out that grops did not support the version of EPS output by lilypond. I had not figured out a work around yet. I will try
your suggestion.

Thanks again.
Kim


That solution works.

Thanks.
Kim





reply via email to

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