[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: PNG output croping bottom of page?
From:       Alberto Simões <albie () alfarrabio ! di ! uminho ! pt>
Date:       2009-10-29 16:07:35
Message-ID: 4AE9BDC7.2060801 () alfarrabio ! di ! uminho ! pt
[Download RAW message or body]

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic