[gs-devel] Re: [Fwd: ssh key for Ralph Giles]

Ralph Giles giles at ghostscript.com
Mon Sep 17 19:40:46 PDT 2007


On Tue, Sep 18, 2007 at 01:03:47AM +0100, Till Kamppeter wrote:

> WDYT about taking the libpaper support upstream, as an option, being 
> automatically used when building with the libpaper-dev(el) package 
> installed, and manually switchable with a command line option for 
> ./configure? Probably several distros are currently patching Ghostscript 
> for libpaper support.

That would be fine. The debian patch is a bit of a hack. The ghostscript 
way would probably be to define a gp_papersize that optionally uses libpaper 
on unix, and then set the default either through the C init code or a 
postscript operator called by the same bits of gs_init.ps that currently 
look for DEFPAPERSIZE.

Unfortunately, while there's a compile time default papersize, it 
doesn't look easy to make it a runtime default. The initializations
usually happen through one of the initializer macros, which could
probably be made to make a dynamic query instead, but there are probably 
exceptions that would have the found and updated.

 -r



More information about the gs-devel mailing list