[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PNG output croping bottom of page?
From: |
Alberto Simões |
Subject: |
Re: PNG output croping bottom of page? |
Date: |
Thu, 29 Oct 2009 16:07:35 +0000 |
User-agent: |
Thunderbird 2.0.0.23 (Macintosh/20090812) |
Hello, Patrick
Patrick McCarty wrote:
> Hi,
>
> On 2009-10-28, Alberto Simões wrote:
>> Sure. Ill try to keep uptodate with releases so the site gets fixes asap :)
>
> So here is what I have found...
>
> The command `lilypond -fpng file.ly' uses the PS backend by default,
> and when Ghostscript tries to crop a single-page PS file with
> -dEPSCrop, it defaults to U.S. Letter dimensions because there is no
> BoundingBox in a PS file.
Great
> As a workaround, for one-page scores, try using
>
> $ lilypond -dbackend=eps -fpng file.ly
> Hopefully this works for you.
Found a cleaner way... defining the environment variable
GS_OPTIONS=-sPAPERSIZE=a4
Thanks :)
Alberto
--
Alberto Simões