lilypond-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] option to prevent EPS backend from creating .tex/.texi/.coun


From: Werner LEMBERG
Subject: Re: [PATCH] option to prevent EPS backend from creating .tex/.texi/.count files
Date: Sat, 29 Aug 2009 06:37:40 +0200 (CEST)

> Here is a patch that introduces a command line option aux-files,
> which can be used (-daux-files=#f, -dno-aux-files or #(ly:set-option
> 'no-aux-files)) to prevent lilypond's eps backend from creating
> .tex(i) and .count files:
>
>     http://codereview.appspot.com/110107
>
> Okay to apply?

Nice idea.  While you are at it, please investigate why there are
still clipping problems during the EPS->PNG conversion.  For an
example, look at the snappizzicato example image in the notation
reference.  My guess is that the `bbox' and similar backends of
ghostscript don't expand fonts but simply use the metrics of the fonts
referenced in an EPS for the calculation of the bounding box; this
gives bad results with lilypond fonts.

As a possible solution, I can imagine that we add an intermediate step
to convert the fonts in an EPS file into PS paths, for example, by
using the `epswrite' device (as demonstrated in the `eps2eps' script
which comes with ghostscript).  This should assure that the bboxes are
exact.


    Werner




reply via email to

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